[Asterisk-Dev] Re: [Asterisk-Users] Asterisk does not handle call from a Cisco IAD correctly

Kevin P. Fleming kpfleming at digium.com
Tue Dec 27 19:32:49 MST 2005


James Sizemore wrote:
> I think I found what is munging up the peer lookup:
> 
> This call from another Asterisk box starts:
> 
> <-- SIP read from 192.168.69.254:5060:
> 
> The peer lookup that fail reads:
> 
> <-- SIP read from 192.168.7.250:52141:
> 
> Asterisk seem to be thrown off by the fact that the return port is not
> 5060, and fails the peer lookup.  This is a * bug then. I have 
> documented it with both 1.0.9 and 1.2.1. Time to dig through the sip code.

It is not a bug. Asterisk expects the SIP signaling to arrive from the 
configured port number, which defaults to 5060.

To solve this you can either configure a fixed port in the IAD and tell 
Asterisk what it is, or add 'insecure=port' to the Asterisk peer 
definition (for 1.2.x only).



More information about the asterisk-dev mailing list