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@mydomain.com' ~~~Contact(0xbd6ec730)~~~ domain : 'location' aor : '3312345@mydomain.com' Contact: 'sip:3312345@192.168.11.57:5070' Expires: 775 q : 0.00 Call-ID: '46C2311DC01A467FB013DD0096D680AF@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@mydomain.com", it returns:
404 Username 3312345@isquare.com.au in table location not found
Also, if I try to add a new location record with: serctl ul add dummy@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@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