Re: [SR-Users] Add PSTN gateway with authentication credentials

2015-09-01 Thread Michael Nielsen
I see, it actually seems to work... I haven't added anything in the database, but just typed the username and password directly in kamailio.cfg - as mentioned in: http://kamailio.org/docs/modules/stable/modules/uac.html#uac.f.uac_auth() On Tue, Sep 1, 2015 at 11:59 AM, Daniel-Constantin Mierla wr

Re: [SR-Users] Add PSTN gateway with authentication credentials

2015-09-01 Thread Daniel-Constantin Mierla
Hello, the documentation of the uac module has the relevant bits in the example of uac_auth() function: - http://kamailio.org/docs/modules/stable/modules/uac.html#uac.f.uac_auth() In short, before relying to the PSTN gateway first time, set the failure_route handler as in the example pointed a

Re: [SR-Users] Add PSTN gateway with authentication credentials

2015-09-01 Thread Michael Nielsen
So sorry, but do you know of any tutorial using the auc module for authenticating against a PSTN gateway? On Mon, Aug 31, 2015 at 8:57 AM, Michael Nielsen wrote: > Perfect, thanks. > > On Sun, Aug 30, 2015 at 9:37 PM, Alexandru Covalschi <568...@gmail.com> > wrote: > >> Take a look at UAC modul

[SR-Users] Add PSTN gateway with authentication credentials

2015-08-28 Thread Michael Nielsen
I'm trying to use a PSTN gateway with Kamailio for outbound - and incoming - calls. Everything seems to be routed correctly, except the PSTN gateway denies the call due to missing authentication. How do I add credentials for my PSTN gateway in a secure way? Best regards, Michael