[Asterisk-Users] Problems with not correctly unregistered users...

Carsten Bock bock at basis-audionet.de
Mon Nov 22 04:27:54 MST 2004


Hi there,

Last week we discovered some problems using NAT/Routers and SIP Clients. We 
had some work on our local network (exchanging routers) and so our clients 
were temporarily offline without unregistering correctly. In our mysql 
sipfriends table were several entries with the same IP (this is normal: our 
router) and different ports, but some clients (who were off/online) were in 
that database with the same ports. The Client, which later registered could 
not call, because "chan_sip.c" failed to authenticate the user (two entries 
in the database with the same IP / port).
Is there a workaround for this? Can i simply remove duplicate entries like 
this on registration? I could update the chan_sip.c myself, but i am 
wondering if someone else had this problem before. And before i alter the 
source, i would like to know, if this is a good idea to update the data-sets 
for the users, who have the same IP/port. If there are no 
solutions/experiences on this list, i will send my message to the -dev list 
as well.

Thanks in advance,

Carsten Bock 




More information about the asterisk-users mailing list