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 <[email protected]> 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@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 > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- VoIP Embedded, Inc. http://www.voipembedded.com _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
