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
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to