[SR-Users] Weird IPv6 Registration Issue

Klaus Darilion klaus.mailinglists at pernau.at
Wed Feb 2 14:18:30 CET 2011



Am 02.02.2011 14:11, schrieb Jon Farmer:
> Hi
> 
> I am experimenting with a dual homed (IPv4 and IPv6)
> Openser 1.1.0-tls server.

          ^^^^^^ that's weird

There were lot's of fixes (some quite recently) since then for IPv6,
e.g. regarding the format of an IPv6 socket stored in DB.

You really should use Kamailio 3.1.

regards
klaus



> 
> If I register using a IPv6 address then the initial registration works
> and the details are saved in the location table. However when the UA
> trys to re-register on expiry the SIP returns a 200 OK but the
> location data is not updated in the table. Looking at the syslog it is
> reporting that it didn't save the data as there was an existing entry
> on index with key 1. This is referring I presume to the primary index
> on "username, domain, contact) on the location table.
> 
> So what happens is the first location entry expires and gets deleted
> from the table and thus there is no record for the subsequent register
> and thus openser thinks the UA has dropped off until the next
> re-register when because there is no longer a location record the data
> gets saved correctly.
> 
> This doesn't happen if I register the same UA on IPv4 on the same
> openser server.
> 
> Anyone got any ideas why this is happening?
> 
> Regards
> 
> Jon
> 
> 



More information about the sr-users mailing list