Hi All.
I've identified a bug in the usrloc module (I think). This can be reproduced.
When a non-NATed client registers, usrloc will write an entry to the MySQL location table.
If I manually change the "flags" column from 0 to 1 (which indicates a NATed client) and then restart SER, the next time the non-NATed client registers and usrloc refreshes the location table it does not update the flags column.
Regards, Paul
What does serctl ul show ? Is there a difference between Flags field in the output for that contact and contents of the database ?
Jan.
On 10-06-2005 10:45, Java Rockx wrote:
Hi All.
I've identified a bug in the usrloc module (I think). This can be reproduced.
When a non-NATed client registers, usrloc will write an entry to the MySQL location table.
If I manually change the "flags" column from 0 to 1 (which indicates a NATed client) and then restart SER, the next time the non-NATed client registers and usrloc refreshes the location table it does not update the flags column.
Regards, Paul
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
The in memory usrloc record matches the MySQL location table. Here is the output from "serctl ul show"
Regards, Paul
...Record(0xb540bf08)... domain: 'location' aor : '3215590000' ~~~Contact(0xb540bf68)~~~ domain : 'location' aor : '3215590000' Contact : 'sip:3215590000@71.9.17.51:5060' Expires : 736 q : 0.1 Call-ID : '1846387046@71.9.17.51' CSeq : 780 User-Agent: 'Unknown' received : '' State : CS_SYNC Flags : 1 next : (nil) prev : (nil) ~~~/Contact~~~~ .../Record...
On 6/10/05, Jan Janak jan@iptel.org wrote:
What does serctl ul show ? Is there a difference between Flags field in the output for that contact and contents of the database ?
Jan.
On 10-06-2005 10:45, Java Rockx wrote:
Hi All.
I've identified a bug in the usrloc module (I think). This can be reproduced.
When a non-NATed client registers, usrloc will write an entry to the
MySQL
location table.
If I manually change the "flags" column from 0 to 1 (which indicates a
NATed
client) and then restart SER, the next time the non-NATed client
registers
and usrloc refreshes the location table it does not update the flags
column.
Regards, Paul
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
OK, that means the flag was set when SER called save("location").
Jan.
On 10-06-2005 11:19, Java Rockx wrote:
The in memory usrloc record matches the MySQL location table. Here is the output from "serctl ul show"
Regards, Paul
...Record(0xb540bf08)... domain: 'location' aor : '3215590000'
domain : 'location' aor : '3215590000' Contact : 'sip:3215590000@71.9.17.51:5060' Expires : 736 q : 0.1 Call-ID : '1846387046@71.9.17.51' CSeq : 780 User-Agent: 'Unknown' received : '' State : CS_SYNC Flags : 1 next : (nil) prev : (nil) ~~~/Contact~~~~ .../Record... On 6/10/05, Jan Janak <jan@iptel.org> wrote: > > What does serctl ul show ? Is there a difference between Flags field in > the output for that contact and contents of the database ? > > Jan. > > On 10-06-2005 10:45, Java Rockx wrote: > > Hi All. > > > > I've identified a bug in the usrloc module (I think). This can be > > reproduced. > > > > When a non-NATed client registers, usrloc will write an entry to the > MySQL > > location table. > > > > If I manually change the "flags" column from 0 to 1 (which indicates a > NATed > > client) and then restart SER, the next time the non-NATed client > registers > > and usrloc refreshes the location table it does not update the flags > column. > > > > Regards, > > Paul > > > _______________________________________________ > > Serusers mailing list > > serusers@lists.iptel.org > > http://lists.iptel.org/mailman/listinfo/serusers > >
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers