[Asterisk-Dev] Multiple ports for SIP listener + minor bug
John Todd
jtodd at loligo.com
Wed Jun 4 16:54:35 MST 2003
This is a point of minor inconvenience: is it possible to get
chan_sip to listen on multiple ports? I have an instance where a
phone is blocked from using port 5060 (well, not blocked, but
"inappropriately translated" by a PIX) and I'd like to simply skip
around the offending firewall with a different port number. However,
at this point that seems to require Asterisk to be launched in a
different thread with "port=" set in sip.conf, which seems to be a
bit of overkill. A better method would be to have a comma-separated
list of ports that SIP requests would be transmitted/received on.
PS: Line 1808 of chan_sip.c seems to hardcode 5060 as the port, even
though there is a #define at the top of the file that lists the
"default" port for SIP in a more flexible default manner.
JT
More information about the asterisk-dev
mailing list