[SR-Users] Kamailio PSTN with User/Pass authentication

Daniel-Constantin Mierla miconda at gmail.com
Tue Sep 22 14:29:57 CEST 2015


Hello,

look at uac module for uac_auth() function -- you need to use that in a
failure_route when processing 407 from provider, like in example:

  - http://kamailio.org/docs/modules/4.4.x/modules/uac.html#uac.f.uac_auth()

Cheers,
Daniel

On 21/09/15 17:08, Infinicalls Infinicalls wrote:
> Hi,
>  I am trying to add PSTN gw for terminating my calls. I have changed
> the IP in the kamailio.cfg file, but this provider wants digest auth
> and so I need to pass api/pass to them. Can somebody guide me how and
> where to add the username+pass to the config file.
>
> thanks
>
> regards
> Ganesh Kuamr
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - http://asipto.com/u/kat




More information about the sr-users mailing list