[Serusers] Manipulate wrong REGISTER URIs from UAs
Alex Mack
amack at fhm.edu
Thu Oct 28 12:05:13 CEST 2004
Hi Marian!
I didn't know such an parameter for usrloc even existed, it wasn't
mentioned in the (rather old) documentation.
I'm currently using 0.8.99-dev10 and found a "use_domain" parameter for
module "usrloc" in the sources. There was a parameter "use_domain" for
module "registrar" mentioned in the manuals too, but ser complains that
"registrar" doesn't have such a parameter.
But "modparam("usrloc", "use_domain", 1)" didn't do the desired effect.
Calls still not work from SIP-phone to SIP-phone.
"serctl ul show" shows only those "aor"s:
aor : '31 at 100.100.100.100'
aor : '32 at 100.100.100.100'
aor : '30 at mydomain.org'
(IPs and names changed accordingly to the example below)
The X-Lite UA also has problems reaching one of the hard-phones by
dialing the two-digit number (e.g. "31", generating an INVITE to
"sip:31 at mydomain.org"). Only when the IP of the ser is added, the call
comes through (e.g. dialling "31 at 100.100.100.100", giving an INVITE:
"sip:31 at 100.100.100.100")
Best regards,
Alex Mack
Marian Dumitru wrote:
> Hi Alex,
>
> Have you enabled "use_domain" parameter for usrloc module? If you set
> it to 0 (as default) usrloc will not use the domain part to perform
> usrloc lookup.
>
> Best regards,
> Marian Dumitru
>
> Alex Mack wrote:
>
>> Hi!
>>
>> I'm using ser with X-Ten Lite Soft-UA and Siemens optiPoint 400 IP
>> phones. Problem is: the Siemens phones don't register themselves
>> correctly.
>>
>> For example:
>> (e.g., ser has IP 100.100.100.100)
>>
>> Soft-UA is "sip:30 at mydomain.org"
>> Phone 1 is "sip:31 at mydomain.org"
>> Phone 2 is "sip:32 at mydomain.org"
>>
>> Soft-UA registers itself as "sip:30 at mydomain.org"
>> Phone 1 registers itself as "sip:31 at 100.100.100.100" (seems to be odd
>> behaviour)
>> Phone 2 registers itself as "sip:32 at 100.100.100.100"
>>
>> But now the lookup fails if you start dialing from the phones. If you
>> dial "32" (e.g. from Phone 1), the phone generates an INVITE to
>> "sip:32 at mydomain.org" which can't be found in usrloc (DEBUG tells
>> that) and the call fails. If you dial "30" from the same phone, the
>> call comes through, because "sip:30 at mydomain.org" was found in usrloc.
>> I tried to mangle the uri in the REGISTER message before
>> "save("location");", without effect. I've used "replace(re, str)",
>> but it didn't seem to work.
>>
>> Any ideas to overcome that bug of the phones?
>>
>> Thanks!
>> Alex.
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>
More information about the sr-users
mailing list