Roy Sigurd Karlsbakk wrote:
> hi all
>
> there's something terribly wrong with chan_sip. some clients fail to  
> authenticate on INVITE after registering, and the debug logs show
>
> May 10 13:59:51 DEBUG[1092139360] res_config_mysql.c: MySQL RealTime:  
> Retrieve SQL: SELECT * FROM sipfriends WHERE ipaddr = '80.239.107.70'  
> AND port = '7873'
>
> now, why on earth would chan_sip lookup a client from its IP? the  
> peer name is given in the INVITE! this bug is a bastard, and although  
> it did help a little when ctrix added the port, it's still not good.
>   
It fails because the nat masquerading that host is broken and changes 
the port.
Or the nat router has been rebooted and the phone hasn't re-registered 
(so a new port is assigned).

Max


_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev

Reply via email to