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

Carsten Bock bock at basis-audionet.de
Mon Nov 22 10:45:34 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.
I posted it to the -users list this morning, but it seems i am the first one 
to get this error.

Thanks in advance,

Carsten Bock




More information about the asterisk-dev mailing list