<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">We don’t have a way to do this. It doesn’t look like there is a strait forward way to do so, but you can dig into the nua_authenticate function in the sofia-sip library to see if there is. &nbsp;Let me know if you find a way in there that allows it.</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Apr 5, 2017, at 3:36 PM, Gregor Nanger &lt;<a href="mailto:gregor@infomedia.si" class="">gregor@infomedia.si</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">thx Michael! But can I use a1-hash parameter on gateways?</div><img src="http://t.sidekickopen68.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dbp0W3MPnzY4XrbSMW8q-f_43LvrVvW59BB4r1k1H6H0?si=5036397111279616&amp;pi=0a334bc6-fc99-476a-9ae8-5d8c7dedbd3f" style="display:none!important" height="1" width="1" class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2017-04-05 22:31 GMT+02:00 Michael Jerris <span dir="ltr" class="">&lt;<a href="mailto:mike@jerris.com" target="_blank" class="">mike@jerris.com</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><div style="margin:0px;font-size:13px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">src/mod/endpoints/mod_sofia/<wbr class="">sofia_reg.c</span><span style="font-variant-ligatures:no-common-ligatures;color:#34bbc8" class="">:</span><span style="font-variant-ligatures:no-common-ligatures" class="">2947</span><span style="font-variant-ligatures:no-common-ligatures;color:#34bbc8" class="">:</span><span style="font-variant-ligatures:no-common-ligatures" class=""> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!strcasecmp(var, "</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">a1-has</span><span style="font-variant-ligatures:no-common-ligatures" class="">h")) {</span></div></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class="">We support storing the a1-hash in the directory instead of the naked password.</div><div class=""><br class=""></div><div class="">Mike</div><div class=""><div class="h5"><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Apr 5, 2017, at 3:18 PM, Gregor Nanger &lt;<a href="mailto:gregor@infomedia.si" target="_blank" class="">gregor@infomedia.si</a>&gt; wrote:</div><br class="m_3075202976607266580Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Can someone point me where in source code is MD5 has calculation for gateways.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br class=""></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I want to store provider password as a1-hash string and respond with this string instead of calculating hash wiht user:domain:password, because do not want to store password in plain string in xml file.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br class=""></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Best regards, Gregor</div><div class="m_3075202976607266580gmail_signature" data-smartmail="gmail_signature"></div>
<img src="http://t.sidekickopen68.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dbp0W3MPnzY4XrbSMW8q-f_43LvrVvW59BB4r1k1H6H0?si=5036397111279616&amp;pi=07cc589a-4404-40f6-817f-6b3af3cd3b88" style="display:none!important" height="1" width="1" class=""></div></div></blockquote></div><br class=""></div></div></div></div><br class="">______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><table border="0" style="font-size:12px;border:1px dashed rgb(187,187,187);font-family:sans-serif;width:537px" class=""><tbody style="border-spacing:2px;border:0px none rgb(128,128,128)" class=""><tr valign="top" style="border-spacing:2px;border:0px none rgb(128,128,128)" class=""><td style="color:rgb(32,32,32);margin:8px;border-width:0px 1px 0px 0px;border-style:none solid none none;border-color:rgb(32,32,32) rgb(0,161,230) rgb(32,32,32) rgb(32,32,32);font-weight:bold;letter-spacing:1px;text-transform:capitalize;vertical-align:top;padding:1px 8px 1px 1px;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px" class=""><span style="color:rgb(0,161,230);outline:rgb(0,161,230) none 0px;border-spacing:2px;border:0px none rgb(0,161,230)" class=""><font face="georgia, serif" size="2" class="">Gregor Nanger</font></span><div style="font-size:17px;font-family:sans-serif;width:63px;outline:rgb(32,32,32) none 0px;border-spacing:2px;border:0px none rgb(32,32,32)" class="">&nbsp;</div></td><td style="margin:8px;border:0px none rgb(80,80,80);vertical-align:top;padding:1px 1px 1px 6px;width:354px;outline:rgb(80,80,80) none 0px;border-spacing:2px" class=""><font face="georgia, serif" size="1" class=""><b class="">CTO</b><br class="">t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 <br class="">• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br class="">• <a href="http://www.infomedia.si/" target="_blank" class="">www.infomedia.si</a></font></td></tr></tbody></table></div></div>
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></body></html>