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.

Comparing this to asterisk 1.2, I never see asterisk do such lookups.

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

Reply via email to