[Serusers] Use_domain and serctl
zeusng
zeus.ng at isquare.com.au
Thu Mar 25 13:50:56 CET 2004
In my ser.cfg file, I have specified:
modparam("registrar", "use_domain", 1)
Everything works fine except serctl.
When I do "serctl ul show" to dump the db, one of the record shows as
...Record(0xbd6ec6e0)...
domain: 'location'
aor : '3312345 at mydomain.com'
~~~Contact(0xbd6ec730)~~~
domain : 'location'
aor : '3312345 at mydomain.com'
Contact: 'sip:3312345 at 192.168.11.57:5070'
Expires: 775
q : 0.00
Call-ID: '46C2311DC01A467FB013DD0096D680AF at mydomain.com'
CSeq : 1247
replic : 0
State : CS_SYNC
Flags : 0
next : (nil)
prev : (nil)
~~~/Contact~~~~
.../Record...
But when I do "serctl ul show 3312345 at mydomain.com", it returns:
404 Username 3312345 at isquare.com.au in table location not found
Also, if I try to add a new location record with:
serctl ul add dummy at mydomain.com sip:192.168.1.34:5060
The return message is: ('dummy','sip:192.168.1.34:5060') to 'location'
I'm expecting ('dummy at mydomain.com','sip:192.168.1.34:5060') to 'location'
The "use_domain" in ul_fifo.c is always 0. Is there something wrong with it?
Zeus Ng
More information about the sr-users
mailing list