[OpenSIPS-Users] Registration Handling.
Jim DeVito
jim at devito.cc
Tue Feb 9 21:00:32 CET 2016
Well. I bet that is it. In my head I thought I did because it did for
another module. Thanks for the reminder!
---
Jim DeVito
On 2016-02-09 11:51, Ovidiu Sas wrote:
> Have you set the use_domain parameter?
> http://www.opensips.org/html/docs/modules/2.1.x/usrloc.html#id294320
>
> -ovidiu
>
> On Tue, Feb 9, 2016 at 2:28 PM, Jim DeVito <jim at devito.cc> wrote:
>> Hi All,
>>
>> This may be me not doing this right at all but I would like some
>> insight.
>>
>> What I want to do: UAC send register to OpenSIPS. OpenSIPS rewrites
>> the URI
>> and relays it to the actual registrar. When registrar sends back a 200
>> OK
>> OpenSIPS catches it in the reply route and calls
>> save("location","r","$fu")
>> and the 200 OK gets relayed back to original UAC.
>>
>> This is actually working. It saves me from having to maintain the
>> subscribers tables and essentially authenticating the UAC twice. Once
>> for
>> OpenSIPS and one for the final registrar.
>>
>> Here is the problem. FROM header in 200 OK looks like this From:
>> <sip:USERNAME at DOMAIN>;tag=as6211061c however ONLY the username part of
>> the
>> URI ends up in the location table. This makes it hard to do a
>> lookup("location") later.
>>
>> A push in the right direction would be great.
>>
>> Thanks!!
>>
>> --
>> Jim DeVito
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list