Hi Jim
It is unusual for an UAC to challenge a proxy, still, to get access to
the 401 and to generate a new INVITE, use a failure_route:
http://www.opensips.org/Documentation/Script-Routes-2-2#toc3
in combination with the uac and uac_auth modules:
http://www.opensips.org/html/docs/modules/2.2.x/uac.html#id293810
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 26.08.2016 21:32, Jim DeVito wrote:
Hi All,
I've been able to REGISTER a UAC aginst the subscriber tables and save
it's info to the location tables. I am then able to use the aliasdb
module to to match an incoming DID to a subscriber and direct it to
the UAC. My problem comes when the UAC challenges OpenSIPS for auth on
that initial INVITE. I'm sure I need to load an on reply route to
handle the 401 from the UAC but I'm unsure what I need to do in that
route to get the proper credentials from the subscriber table and send
a new INVITE to the UAC with the proper auth headers.
If some one could point me in the right direction that would be helpful.
Thanks!!
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users