Thank you for your answer.

I wanted to tell freeswitch to send already hashed password, instead calculate it.

On my other end, I have different method to calculate hash and verify hash from freeswitch. I have username - domain - password. But do not know if it is possible to influence how freeswitch calculates hash?

Best regards, Gregor


On Wed, Apr 5, 2017, 20:31 Tihomir Culjaga <tculjaga@gmail.com> wrote:
what does your provider require ?

FS uses a regular sip authentification

FS sends REGISTER
Privider responds with a challenge ( 4xx message )
FS re-sends REGISTER with encrypted credentials

FS is not sending the password in cleartext


a1-hash in FS is basically md5 of "username:domain:password"
e.g. echo -n "username:domain:password" | md5sum

and it is used to authentificate incoming user registrations not the other way around.


On 27 March 2017 at 13:55, Gregor Nanger <gregor@infomedia.si> wrote:
Can I use a1-hash
​ parameter in gateways configuration?

Provider request to send hashed password they sent instead.


Best regards, Gregor

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Gregor Nanger
 
CTO
t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 
• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia 
• www.infomedia.si