17201 - Howto fix the milkfish-dd?

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Goto page Previous  1, 2, 3  Next
Author Message
MrFidget
DD-WRT User


Joined: 15 Jul 2010
Posts: 378

PostPosted: Sat Nov 19, 2011 22:19    Post subject: Reply with quote
I agree, however, it is a fairly niche app, and most users either wouldn't use it or wouldn't really know what to do with it.

Asterisk is a far more popular and relevent package, but, it is a full featured back to back user agent and handles all of the traffic, where Kamailio / SER / OpenSIPs is a SIP proxy / router only, with an RTP proxy thrown in for good measure.

In the email world, Asterisk = Exchange where as Kamailio = Sendmail

Milkfish was excellent for when it was originally concieved, and DynSIP is a cool idea. Its still good, but the code and technology has moved on.

While it is possible for us to take the current Kamailio source, the cool bits out of Milkfish and stitch together a version that works, some questions we should ask is:

    Who else will benefit from the update ?

    How big is this audience ?

    What resources are available to make the changes ?

    Will this even be approved to get into the source tree


This last question is probably the most relevant. While the source for DD and Kamailio is all there, and if you're keen enough, you, and whoever else is keen to get involved, can do it yourselves, it may not fit into the overall aims of the DD developers. They may even go as far to tell us to go "Fork" ourselves.

Given that IPSec is, most likely, a more required feature, I wouldn't hold my breath, but, if anyone does want to get Kamailio working, I'm keen to jump in and contribute what I can. I have a commercial requirement, and so I can justify my time spent, within limits. That said, I have a monsterous schedule until the end of the year, and a family, and a band, and a studio I am trying to get together, and moving from bass to guitar, (we have too many bass players Shocked now thats a first), so dont expect toooo much Wink

Anyway, another rant posted.

Sash: do you think there should be a sticky poll on milkfish / Kamailio ?

/C
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Mon Nov 21, 2011 10:13    Post subject: Reply with quote
imho voip get more importanet every day. its simply the future. so to have an easy to configure sip server/proxy is mandatory for me. but i dont think milk is the solution to go. i know we have asterisk but its far away from easy to use. so imho we should focus on an easy to administer voip solution which can be gui integrated and can be extended with mpci or pci pots/isdn cards in many of the prof systems.

but im not the voip prof atm and ill try to learn the next months what we will need.

but since we're embedded we will have some requirements:
-small footprint
-full featureset
-easy to configure

here i found some liste with voip sw:
http://www.voip-info.org/wiki/view/Open+Source+VOIP+Software
http://en.wikipedia.org/wiki/List_of_SIP_software

maybe we can discuss some pros and cons.

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
MrFidget
DD-WRT User


Joined: 15 Jul 2010
Posts: 378

PostPosted: Tue Nov 22, 2011 3:36    Post subject: Reply with quote
Cheers Sash.

Voip-info.org is awesome. Heaps of great info, however I have found some of it to be a little out of date.

I have been working in and around VoIP for some time now, all commercial implementations of mostly open source products, while I’m not working directly in the enterprise space, I have built, and I am responsible for maintaining a network that is enterprise in size now at over 1000 handsets. This is about to double in the next three months Shocked

Anyway, some input.

There are two ways to go:
A: A full PBX solution
B: A SIP switch / router with RTP proxy
I would suggest that there needs to be the option to go either way, just maybe not at the same time.

PBX
In terms of open source PBX projects, the main one is Asterisk, which is a full "back to back user agent". It manages all of the call flow and media in one homogeneous application. It is nice in that it provides a full featured PABX in a box with extensive features for connectivity to databases, applications, and some extensive scripting features. Voicemail, auto attendant, paging, hunt groups, follow me, announcements, call recording, etc. are all included.

Current "feature locked" release is 1.8.whatever, however, many commercial implementations are still on 1.4 (as I am) or some release of 1.6. While it is feature rich, it doesn't scale well. If you start trying to convert codecs, it becomes more CPU intensive. That said, a Broadcom 450MHz CPU should easily handle 3 or 4 simultaneous calls and a voicemail without codec conversion.

Other similar applications are YATE (Yet Anther Telephony Engine), Call Weaver, SIP-X-cess, and the main open source contender to Asterisk, FreeSwitch.

FreeSwitch people are pretty passionate as to why it is better than Asterisk, and they have many compelling reasons, but I'm not going to get caught up in that one. It has good community support and is growing.

A good embedded Asterisk project is http://Astlinux.org Primarily x86 arch stuff. Good way to get started on a USB stick or CF (even SD in the new HP servers) Has some cool router stuff but the GUI is not nearly as together as DD Wink

Also worth a mention is the Astlinux environment also has a port of FreeSwitch instead of Asterisk.

SIP Router
Now the other end of the spectrum are the SIP routers / Proxy engines. These are SER (SIP Express Router), Kamailio (Formally OpenSER) which have now joined forces as the SIP Router Project, and OpenSIPS.

A SIP router does not directly manage the media path, all it does is handle the SIP switching, header rewriting and other signalling. This is what Milkfish is. As there is no direct media interaction, other than the proxy, a SIP router can handle hundreds of calls at a time. In fact, Kamailio scales so well that, to quote from the user guide:
Quote:
Its performance and robustness allows it to serve millions of users and accommodate needs of very large operators. With a $3000 dual-CPU PC, the SIP Express Router is able to power IP telephony services in an area as large as the Bay Area during peak hours. Even on an IPAQ PDA, the server withstands 150 calls per second (CPS)! The server has been powering our iptel.org free SIP site withstanding heavy daily load that is further increasing with the popularity of Microsoft's Windows Messenger.


Most users would probably not see a need for this sort of service, however, where it becomes relevant, is running a number of handsets behind NAT to a hosted or remote PBX service. Having a proxy fixes a number of issues with SIP and NAT, such as Aastra IP phones.

If we have multiple remote sites, it allows direct RTP audio / video connections between the remote sites while still maintaining the SIP switching through the central PBX. This significantly reduces the traffic on the PBX link.

Furthermore this can be extended to allow automatic failover to another PBX or even a simple analog adapter on the local network should the remote PBX or link go down, (similar to Cisco's SRST)

These features are things I need when providing remote and multi site IP telephony.

Kamailio is great in that it is modular and can squeeze into a small foot print such as a broadcom router.

Again, excuse the rant, Rolling Eyes but its to provide background for anyone else who stumbles across the thread.

Moving forward from here:

Suggested Features
These are my initial thoughts

Either a SIP proxy or PBX, running two at the same time may be too much.
But, have the choice of either

For a PBX based on Asterisk, you would need
SIP trunks & DIDs
SIP handsets
Ring Groups
Voicemail
Direct IP Dialling to support ATAs (SPA3102 or similar)

Nice to haves
Follow Me
Some sort of Phone Book
TFTP for auto provisioning phones
Voicemail to email
Hints / BLFs
Call Park
Page / Intercom
Conference Bridge – This may be asking a lot

For a SIP Proxy based on Kamailio
I'm still trying to get my head around Kamailio but if we took what Milkfish does and add the following features:

Group Aliases which would be similar to a ring group allowing multiple phones to be rung from a single alias.

External Registration to another SIP server

Proper proxying of SIP subscribe messages for BLF (Busy Lamp Fields). It never works properly for me.

Call forwarding to a direct IP / domain name allowing calling in and out via a SIP telephone adapter.

Whatever happens, there needs to be a simple web mode that works for 80% of people and an expert mode that allows direct access to the config files. Especially the openser.cfg in Kamailio and sip.conf and extensions.conf in Asterisk.

Anyway that's my initial thoughts in a few (around a thousand) words Rolling Eyes. Maybe next time I should do it with a picture.

I must admit, it was the Milkfish / OpenSER proxy that initially attracted me to DD-WRT, so any progress on this would be warmly welcomed.

Cheers all
Chris

ps A great source of VoIP info can be found in the VUC podcasts at http://vuc.me These have been a real eye opener for me to the technology out there, and you can join in, using your Milkfish router by programming sip:200901@login.zipdx.com as an alias, say 882 (VUC) in the aliases database. Supports g722 wideband and g711 (alaw / ulaw) Check it out every Friday at mid day Eastern Standard Time. Check the website for details.


Last edited by MrFidget on Tue Nov 22, 2011 21:30; edited 1 time in total
MrFidget
DD-WRT User


Joined: 15 Jul 2010
Posts: 378

PostPosted: Tue Nov 22, 2011 3:38    Post subject: Reply with quote
pps. Embarassed Sorry for the plug but* It is a non commercial venture and encourages participation.

pps * but sort of negates everything before it, so I guess I'm not sorry Twisted Evil
ZinkDifferent
DD-WRT Novice


Joined: 08 Dec 2011
Posts: 1

PostPosted: Thu Dec 08, 2011 5:07    Post subject: Reply with quote
If I may make a suggestion - just add an effective SIP proxy to dd-wrt. I do not believe that a featured Asterisk implementation is needed, or even practical, as too many corners would need to be cut.

What attracted me to purchasing a dd-wrt router, was the alleged included milkfish SIP proxy, and I was very disappointed to find that it is, effectively, useless, obsolete, and discontinued (all the links refer to home sip, which has been discontinued, and dynsip does not allow any new registrations, thus rendering it useless).

The proposed suggestion of adding Kamailio (Formally OpenSER), or a basic SIP proxy instead (and ripping out milkfish) is something I would welcome very much.

I agree with Sash - voip is growing in importance, and it *is* the future (come LTE, all mobile voice calls will be voip) - as such, and effective SIP proxy in our home routers would be immensely practical.

I do believe that those who want to run Asterisk will do so on separate boxes, and as such a SIP proxy would just need a user friendly and easy means to interface with an existing Asterisk system.

So, add my vote to the SIP proxy request - and a 'no' vote for a featured Asterisk implementation.
Zeroin
DD-WRT Novice


Joined: 29 Oct 2011
Posts: 6

PostPosted: Mon Dec 12, 2011 2:27    Post subject: Reply with quote
2 ZinkDifferent

I think that solution is simple: replace the old version of openser with new one. Milkfish is just a configuration and a management tool for openser that is somehow got broken a few releases ago.

So may be the next dd-wrt release will neither have a new compilled openser nor have the old one that works. The last one is pice-a-cake to do for a releaser.
--------------

But how long should we wait for a new release?

shee, a new dd-wrt is out olready 4 days ago.
17990
Will report openser satuation!
------------

nope - they didn't fix it in 17990 either.. thats kinda sad.. Confused

------------

Need help with recompilling 17990_big
can any one point me to a good manual how to do that by my self?
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Sat Dec 17, 2011 16:04    Post subject: Reply with quote
kong tested 17970 and reports its ok on bcm i guess
http://svn.dd-wrt.com/ticket/2271

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
MrFidget
DD-WRT User


Joined: 15 Jul 2010
Posts: 378

PostPosted: Thu Dec 22, 2011 22:24    Post subject: Reply with quote
Thanks

I'll give it a go with the > 18000 versions.

Let you know what happens.

Still would like to see Kamailio there Wink

/C
feliciano
DD-WRT Guru


Joined: 24 Oct 2008
Posts: 1079
Location: Latin America

PostPosted: Wed Jan 11, 2012 16:53    Post subject: Reply with quote
I've just "stumbled across this thread" Wink hope it's not too late to keep it open.

Same as ZinkDifferent and others, I came into dd-wrt because of milkfish, then I liked the other stuff.

I've used bcm 15508 big K26 w/o problems. Then I upgraded to 17990 to find that milkish is broken in that build. Today I found this thread, but couldn't find the build 17970 Sash reported, so I rolled back my F7D3302 to 17967-K26-big and it's working fine there. Conclusion: obviously something went wrong with milkfish from build bs-bcm-17967 to build eko-bcm-17990.

It would be nice to see some improvement with SIP in dd-wrt, Kamailio is the way? I have homework to do...

_________________
If you want support, please read first the announcements and forum rules.
Si usted desea ayuda, por favor lea primero los anuncios y las reglas del foro.
Zeroin
DD-WRT Novice


Joined: 29 Oct 2011
Posts: 6

PostPosted: Fri Jan 20, 2012 23:45    Post subject: Reply with quote
To SASH:

yea did you find that build anyway?
MrFidget
DD-WRT User


Joined: 15 Jul 2010
Posts: 378

PostPosted: Sat Feb 11, 2012 23:53    Post subject: Reply with quote
Just loaded a BrainSlayer K26 boradcom build 18024 on an E3200 (without wanting 5GHz pupport)

Looks like Milkfish fired up OK. Didn't test it other than to make sure the process was running. Spent the time giving my wife a back massage instead.

I'll hook the unit up this week and report back as to how well it functions. I am doing some other Asterisk 1.8 and Kamailio integration this month.

BTW, I know this is in the Atheros thread, but it is a generic issue across a number of platforms. Sash, should we move the thread to Advanced Networking ? Doesn't stress me too much either way.

Cheers all

/C
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Sun Feb 12, 2012 2:31    Post subject: Reply with quote
i'm drunk (its carneval in germany...do u say/know fasching [so its called in hesse] ?) but....done Smile
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
billfold
DD-WRT Novice


Joined: 27 Jun 2011
Posts: 3

PostPosted: Sun Sep 30, 2012 17:35    Post subject: Reply with quote
MrFidget wrote:
Just loaded a BrainSlayer K26 boradcom build 18024 on an E3200 (without wanting 5GHz pupport)

Looks like Milkfish fired up OK. Didn't test it other than to make sure the process was running. Spent the time giving my wife a back massage instead.

I'll hook the unit up this week and report back as to how well it functions. I am doing some other Asterisk 1.8 and Kamailio integration this month.

BTW, I know this is in the Atheros thread, but it is a generic issue across a number of platforms. Sash, should we move the thread to Advanced Networking ? Doesn't stress me too much either way.

Cheers all

/C


Anything newer than 18024 on a DIR-825 has issues for me. I'm using a SPA-2102 with it, and after upgrading to any version > 18024 I get one-way audio during my voice calls.

Configuration-wise everything looks ok in the SIP Status screen. I didn't spend much time examining the SIP traces, but it would appear that the NATing is broken somehow. Sad

I'm sticking with 18024, unless anyone has any ideas what is broken. Too bad too, as 802.11n seemed to work with my DIR-825 on 19519.

Thanks.
MrFidget
DD-WRT User


Joined: 15 Jul 2010
Posts: 378

PostPosted: Tue Oct 02, 2012 10:02    Post subject: Reply with quote
How have you got your SPA configured

Registrar = SIP provider
Proxy = DD-WRT IP address, then it should work, with 19519 and Milkfsh.

At least it did on an E3200

Let me know how you go
/C
billfold
DD-WRT Novice


Joined: 27 Jun 2011
Posts: 3

PostPosted: Tue Oct 09, 2012 21:58    Post subject: Reply with quote
MrFidget wrote:
How have you got your SPA configured

Registrar = SIP provider
Proxy = DD-WRT IP address, then it should work, with 19519 and Milkfsh.

At least it did on an E3200

Let me know how you go
/C


Yes, I had the same settings on my SPA using a much older version of DD-WRT with milkfish working. After upgrading to 19519 I started to get one-way audio.

I'll try again, right now I have my SPA working behind a NAT with 19519 instead of using milkfish.

I'd rather use milkfish though and no NAT settings.
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum