[asterisk-dev] SIP listen on multiple ports

Olle E. Johansson oej at edvina.net
Mon Jan 9 05:16:23 CST 2012


9 jan 2012 kl. 12:10 skrev Alistair Cunningham:

> Has any development work been done to allow chan_sip to listen on multiple ports? If not, would there be interest in a bounty to implement this?

I have a version of the SIP channel that allows you to load multiple SIP channels and bind them each to one IP address. This way the problem of the sender's IP disappears and there's no reason to run ugly iptable hacks to fix that issue any more. It's also works nicely in an SBC-like setting.

It was more of a demo and a test after a discussion with Kevin and a customer. It would be a nice feature to have moving forward. My code works in 1.4 and should be close to completion. The stuff I did not solve was to be able to find a peer cross-channels. I renamed the various name spaces so the second SIP channel registred as "sip02" and had "sip02 show peers" etc.

If you're interested in funding further work on this, contact me off-list.

/O

----
Twitter @oej - Follow IPv6 Fridays on @ipv6friday




More information about the asterisk-dev mailing list