[Asterisk-Users] Remote SIP client HACK JOB

Ryan Courtnage ryan at voxbox.ca
Wed Jun 30 10:23:12 MST 2004


On Wednesday 30 June 2004 23:01, Kevin P. Fleming wrote:
> Ryan Courtnage wrote:
> > To allow the external client to hear/send audio, I have to change
> > sip.conf ... - bindaddr = <EXTERNAL IP>
> > ... followed by issuing a "RELOAD" at the * CLI.
>
> Isn't this what the "externip" setting in sip.conf is for?

Possibly ... it this is it's purpose, then it may be a bug ...

The difference changing bindaddr causes is in the "Contact" field of the SIP 
header:

With bindaddr = <external IP>, the following is sent to the phone:

	Contact: <sip:*98 at 192.168.1.102>

With bindaddr = 0.0.0.0 and externip=<external IP> :

	Contact: <sip:*98 at externalIP>

I'm guessing that the phone doesn't know where to send the response, so I see 
a bunch of the following on the console:

Jun 30 17:07:01 WARNING[-1275216976]: chan_sip.c:674 retrans_pkt: Maximum 
retries exceeded on call b7f4399f84ef781e at 192.168.1.108 for seqno 41080 
(Non-critical Response)


Does this sound like a bug?  Perhaps externip has a slightly different 
purpose?

Thanks





More information about the asterisk-users mailing list