[OpenSIPS-Users] dispatcher, drouting, carrierroute and authorization

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jan 3 06:33:19 EST 2019

Hi Michael,

You can use any of those three, but in combination with the uac and 
uac_auth module (which provide user client authentication against 
another server). Use your preferred module (like drouting) to send the 
calls to the GW and arm a failure route. If you receive an 407 auth 
request, use the uac_auth() function (from uac module) to generate the 
auth response and do serial forking to the same GW.

Regards and A Happy New Year,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
OpenSIPS Summit 2019

On 12/21/2018 03:54 AM, Michael Vale wrote:
> Hi,
> Which of the three, dispatcher, drouting or carrierroute should I use 
> if my gateway requires authorization and if it does, how do I 
> authorize?  Do I use uac or registrar and if so how do I do so?  Could 
> someone please give me an example?  If I was to use drouting how do I 
> store the proxy auth credentials in a drouting entry’s attributes?
> Regards,
> Michael
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for 
> Windows 10
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190103/06604539/attachment.html>

More information about the Users mailing list