Take a look at UAC module http://kamailio.org/docs/modules/4.3.x/modules/uac.html#idp17340584
I don't know anything about hashing outgoing passwords, not sure if it's possible. However here passwords are in database.

2015-08-30 12:04 GMT+03:00 Michael Nielsen <mic.niel84@gmail.com>:
Any ideas on adding credentials to my PSTN gateway?

I would like to not have the password en clear text in my kamailio.cfg but if it's not possible that's OK.

On Fri, Aug 28, 2015 at 9:47 AM, Michael Nielsen <mic.niel84@gmail.com> wrote:
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


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




--
Alexandru Covalschi
ABRISS-Solutions
VoIP engineer and system administrator
phone: +37367398493
web: http://abs-telecom.com/