<div dir="ltr">Brian, on some systems it works fine with current config. I think, Gustavo had some proprietarybilling with not standart dictionaries, because<div>Didgest-Username attribute was standartised by RFC 5090:</div><div><br></div><div><a href="https://tools.ietf.org/html/rfc5090#section-3.13">https://tools.ietf.org/html/rfc5090#section-3.13</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-06 22:22 GMT+03:00 Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Once you have this working you should file a bug in the docs and do a pull request for the config file fixes.</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Apr 6, 2015 at 12:23 PM, Gustavo Silva <span dir="ltr">&lt;<a href="mailto:silvagustavo@yandex.ru" target="_blank">silvagustavo@yandex.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="background-color:rgb(255,255,255);line-height:initial">                                                                                      <div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><br></div><div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Hi Dmitriy! </div><div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><br></div><div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">I fix that with the sip dictionary. This module, xml_radius, uses the digest method and when I sniffed the packets between the freeswitch server and freeradius server, I noticed that the digest parameters were not being sent. Checking the radiusclient dictionary, I saw that the sip dictionary was not included.</div><div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><br></div><div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">There was another problem that I also had to fix. In the xml_radius.conf.xml file, the Digest username was like &quot;Digest-username&quot; and in the sip dictionary, it was like &quot;Digest-User-Name&quot;. Somehow, the radius server was not understanding ‎the parameter Digest-username. I had to change to Digest-User-Name.</div>                                                                                                                                     <div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><br></div><div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">By the way, thanks for the clues that you have sent Dmitriy! </div><div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><br></div><div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Regards,</div><div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Gustavo</div><div style="width:100%;font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)"><br></div>                                                                                                                                                                                                   <div style="font-size:initial;font-family:Calibri,&#39;Slate Pro&#39;,sans-serif;color:rgb(31,73,125);text-align:initial;background-color:rgb(255,255,255)">Sent from my BlackBerry 10 smartphone.</div>                                                                                                                                                                                  <table width="100%" style="background-color:white;border-spacing:0px"> <tbody><tr><td colspan="2" style="font-size:initial;text-align:initial;background-color:rgb(255,255,255)">                           <div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0in 0in;font-family:Tahoma,&#39;BB Alpha Sans&#39;,&#39;Slate Pro&#39;;font-size:10pt">  <div><b>From: </b>Борисов, Дмитрий / Dmitriy Borisov</div><div><b>Sent: </b>понедельник, 6 апреля 2015 г., 15:43</div><div><b>To: </b>FreeSWITCH Users Help</div><div><b>Reply To: </b>FreeSWITCH Users Help</div><div><b>Subject: </b>Re: [Freeswitch-users] Failed to load radius handle for digest        invite authentication</div></div></td></tr></tbody></table><div><div><div style="border-style:solid none none;border-top-color:rgb(186,188,209);border-top-width:1pt;font-size:initial;text-align:initial;background-color:rgb(255,255,255)"></div><br><div><div dir="ltr">Hi, Gustavo!<div><br></div><div>Your problems not in FreeSWITCH configuration or sources but in freeradius-client configuration. Check system logs for radius errors. R<span style="font-size:12.8000001907349px">adius handle is allocating by freeradius-client library function called by freeswitch mod_xml_radius module (look at </span><span style="font-size:12.8000001907349px">mod_xml_radius.c line 633 and 946).</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-06 11:07 GMT+03:00 Густаво Силва <span dir="ltr">&lt;<a href="mailto:gfs@etherway.ru" target="_blank">gfs@etherway.ru</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi everyone!<br>
<br>
How to solve this problem occurring on Freeswitch with the xml_radius<br>
module?<br>
     2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:633 Failed to<br>
load radius handle for digest invite authentication<br>
     2015-04-06 11:48:25.284825 [ERR] mod_xml_radius.c:946 Failed to<br>
create new accounting_start handle for call:<br>
0fcb1214-4941-477b-b329-2d034623c1e9<br>
<br>
<br>
My freeradius server is getting this parameters(sniffed by wireshark:<br>
192.168.56.1 - softphone, 192.168.56.105 - Freeswitch/radiusclient,<br>
192.168.56.103 - Freeradius server):<br>
<br>
<br>
Radius Protocol<br>
     Code: Accounting-Request (4)<br>
     Packet identifier: 0xf9 (249)<br>
     Length: 240<br>
     Authenticator: 19a3f95c13b4811e35b43d5390b29f8a<br>
<br>
     Attribute Value Pairs<br>
         AVP: l=6 t=Acct-Status-Type(40): Start(1)<br>
             Acct-Status-Type: Start (1)<br>
         AVP: l=38 t=Acct-Session-Id(44):<br>
0fcb1214-4941-477b-b329-2d034623c1e9<br>
             Acct-Session-Id: 0fcb1214-4941-477b-b329-2d034623c1e9<br>
         AVP: l=6 t=User-Name(1): 1002<br>
             User-Name: 1002<br>
         AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880)<br>
             VSA: l=6 t=Freeswitch-Src(4): 1002<br>
                 Freeswitch-Src: 1002<br>
         AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880)<br>
             VSA: l=6 t=Freeswitch-CLID(2): 1002<br>
                 Freeswitch-CLID: 1002<br>
         AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880)<br>
             VSA: l=6 t=Freeswitch-Dst(5): 1001<br>
                 Freeswitch-Dst: 1001<br>
         AVP: l=11 t=Vendor-Specific(26) v=FreeSWITCH(27880)<br>
             VSA: l=5 t=Freeswitch-Dialplan(3): XML<br>
                 Freeswitch-Dialplan: XML<br>
         AVP: l=6 t=Framed-IP-Address(8): 192.168.56.1<br>
             Framed-IP-Address: 192.168.56.1 (192.168.56.1)<br>
         AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880)<br>
             VSA: l=2 t=Freeswitch-RDNIS(17):<br>
                 Freeswitch-RDNIS:<br>
         AVP: l=15 t=Vendor-Specific(26) v=FreeSWITCH(27880)<br>
             VSA: l=9 t=Freeswitch-Context(18): default<br>
                 Freeswitch-Context: default<br>
         AVP: l=12 t=Vendor-Specific(26) v=FreeSWITCH(27880)<br>
             VSA: l=6 t=Freeswitch-Ani(8): 1002<br>
                 Freeswitch-Ani: 1002<br>
         AVP: l=8 t=Vendor-Specific(26) v=FreeSWITCH(27880)<br>
             VSA: l=2 t=Freeswitch-Aniii(9):<br>
                 Freeswitch-Aniii:<br>
         AVP: l=17 t=Vendor-Specific(26) v=FreeSWITCH(27880)<br>
             VSA: l=11 t=Freeswitch-Source(19): mod_sofia<br>
                 Freeswitch-Source: mod_sofia<br>
         AVP: l=39 t=Vendor-Specific(26) v=FreeSWITCH(27880)<br>
             VSA: l=33 t=Freeswitch-Callstartdate(20):<br>
2015-04-06T11:48:25.284825+0400<br>
                 Freeswitch-Callstartdate: 2015-04-06T11:48:25.284825+0400<br>
         AVP: l=6 t=NAS-Port(5): 0<br>
             NAS-Port: 0<br>
         AVP: l=6 t=Acct-Delay-Time(41): 0<br>
             Acct-Delay-Time: 0<br>
         AVP: l=6 t=NAS-IP-Address(4): 192.168.56.105<br>
             NAS-IP-Address: 192.168.56.105 (192.168.56.105)<br>
<br>
<br>
Regards,<br>
Gustavo Silva<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>with best regards,</div><div>Dmitriy Borisov</div></div></div></div></div></div></div></div></div></div></div>
</div>
<br></div></div></div></div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">ClueCon 2015 <a href="https://www.cluecon.com/call-for-speakers/" target="_blank">Call for Speakers</a> | <a href="https://freeswitch.com/cart.php?gid=1" target="_blank">Register</a> TODAY! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>with best regards,</div><div>Dmitriy Borisov</div></div></div></div></div></div></div></div></div></div></div>
</div>