[asterisk-users] On SIP INVITE answering to IP:port found in Contact: header.

Markus universe at truemetal.org
Tue Apr 16 14:19:46 CDT 2013

Hi list!

I'm trying to get a DID routed to me and the provider seems to have an 
unusual setup. Or maybe not? From looking at their SIP header they are 
using "BroadWorks".

The problem: they're sending their SIP invite from port 36252. My 
Asterisk 10.7.1 is answering to that port 36252 but their BroadWorks 
thingie is not listening on that port, but instead on port 5060. So they 
want me to send my SIP responses to the IP:port they send via the 
Contact: header.

Here's the output from tcpdump ( = them; = me):

IP > UDP, length 845

My Asterisk' reply:

IP > UDP, length 602

I tried the following in the peer config in sip.conf:


But that didn't change anything.

How can I tell Asterisk to honor and use the info found in Contact: when 
sending its replies?

Thank you!

More information about the asterisk-users mailing list