<div dir="ltr">Do you have freeraius-ng installed in your system?</div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-03 13:30 GMT+03:00 Густаво Силва <span dir="ltr"><<a href="mailto:gfs@etherway.ru" target="_blank">gfs@etherway.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi folks!<div><br></div><div>Im getting some errors trying to enable AAA on my freeswitch with freeradius.</div><div>I am getting the following errors:</div><div><br></div><div>- When I start freeswitch:</div><div>[ERR] mod_xml_radius.c:678 Failed to load radius handle for registration authentication<br></div><div><br></div><div>- When I make a call:</div><div><div>2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:566 Failed to load radius handle for digest invite authentication</div><div>2015-04-03 13:22:55.840618 [ERR] mod_xml_radius.c:879 Failed to create new accounting_start handle for call: 64b32ec2-d9eb-11e4-9c8c-85505819ce7f</div></div><div><br></div><div>I can I solve this problem?</div><div><br></div><div>My xml_radius.conf bellow:</div><div><br></div><div><div><configuration name="xml_radius.conf" description="Radius XML Gateway"></div><div> <!--</div><div> auth_invite is only called when a directory lookup is done on an inbound invite. Usually that means a digest auth challenge on the invite.</div><div> </div><div> auth_reg is only called on the actual registration. </div><div> </div><div> auth_app is used when an invite is in the dialplan. If your profile requires digest auth then this isn't needed.</div><div> but if your profile is doing only ip authentication this allows you to authenticate the call without the need for digest auth.</div><div> </div><div> acct_start happens when the call goes into the state 'routing' which means it is starting the dialplan</div><div> --></div><div> <auth_invite></div><div> <connection name="testing"></div><div> <param name="authserver" value="192.168.56.103:1812:testing123"/></div><div> <param name="radius_timeout" value="10"/></div><div> <param name="radius_retries" value="2"/></div><div> <param name="radius_deadtime" value="0"/></div><div> <param name="dictionary" value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/></div><div> <param name="seqfile" value="/var/run/radius.seq"/></div><div> </connection></div><div> <fields></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="ip" format="src-gw-ip=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-gw-name=%s"/></div><div> <param vendor="Cisco" name="h323-conf-id" variable="Core-UUID" format="%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="ip" format="request-type=number"/></div><div> <param name="Called-Station-Id" variable="sip_to_user" format="%s"/></div><div> <param name="Calling-Station-Id" variable="sip_from_user" format="%s"/></div><div> <param name="User-Name" variable="sip_from_user" format="%s"/></div><div> <param name="Digest-Response" variable="sip_auth_response" format="%s"/></div><div> <param name="Digest-Realm" variable="sip_auth_realm" format="%s"/></div><div> <param name="Digest-Nonce" variable="sip_auth_nonce" format="%s"/></div><div> <param name="Digest-Username" variable="sip_auth_username" format="%s"/> </div><div> <param name="Digest-URI" variable="sip_auth_uri" format="%s"/></div><div> <param name="Digest-Method" variable="sip_auth_method" format="%s"/></div><div> <param name="Digest-Algorithm" variable="sip_auth_method" format="MD5"/> </div><div> <param name="Digest-Qop" variable="sip_auth_qop" format="%s"/></div><div> <param name="Digest-CNonce" variable="sip_auth_cnonce" format="%s"/></div><div> <param name="Digest-Nonce-Count" variable="sip_auth_nc" format="%s"/> </div><div> </fields></div><div> </auth_invite> </div><div> <auth_reg></div><div> <connection name="testing"></div><div> <param name="authserver" value="192.168.56.103:1812:testing123"/></div><div> <param name="radius_timeout" value="10"/></div><div> <param name="radius_retries" value="2"/></div><div> <param name="radius_deadtime" value="0"/></div><div> <param name="dictionary" value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/></div><div> <param name="seqfile" value="/var/run/radius.seq"/></div><div> </connection></div><div> <fields></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="ip" format="request-type=user"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="ip" format="src-gw-ip=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-gw-name=%s"/></div><div> <param name="User-Name" variable="sip_from_user" format="%s"/></div><div> <param name="Digest-Response" variable="sip_auth_response" format="%s"/></div><div> <param name="Digest-Realm" variable="sip_auth_realm" format="%s"/></div><div> <param name="Digest-Nonce" variable="sip_auth_nonce" format="%s"/></div><div> <param name="Digest-Username" variable="sip_auth_username" format="%s"/></div><div> <param name="Digest-URI" variable="sip_auth_uri" format="%s"/></div><div> <param name="Digest-Method" variable="sip_auth_method" format="%s"/></div><div> <param name="Digest-Algorithm" variable="sip_auth_method" format="MD5"/></div><div> <param name="Digest-Qop" variable="sip_auth_qop" format="%s"/></div><div> <param name="Digest-CNonce" variable="sip_auth_cnonce" format="%s"/></div><div> <param name="Digest-Nonce-Count" variable="sip_auth_nc" format="%s"/></div><div> </fields></div><div> </auth_reg></div><div> <auth_app></div><div> <connection name="testing"></div><div> <param name="authserver" value="192.168.56.103:1812:testing123"/></div><div> <param name="radius_timeout" value="10"/></div><div> <param name="radius_retries" value="2"/></div><div> <param name="radius_deadtime" value="0"/></div><div> <param name="dictionary" value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/></div><div> <param name="seqfile" value="/var/run/radius.seq"/></div><div> </connection></div><div> <fields></div><div> <param vendor="Cisco" name="h323-conf-id" variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="uuid" format="h323-call-id=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_network_ip" format="src-gw-ip=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-gw-name=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-number-in=%s" /></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_user" format="dst-number-in=%s" /></div><div> <param name="Called-Station-Id" variable="sip_to_user" format="%s"/></div><div> <param name="Calling-Station-Id" variable="sip_from_user" format="%s"/></div><div> </fields></div><div> </auth_app></div><div> <auth_reg></div><div> <connection name="testing"></div><div> <param name="authserver" value="192.168.56.103:1812:testing123"/></div><div> <param name="radius_timeout" value="10"/></div><div> <param name="radius_retries" value="2"/></div><div> <param name="radius_deadtime" value="0"/></div><div> <param name="dictionary" value="/usr/share/freeradius/dictionary.cisco"/></div><div> <param name="seqfile" value="/var/run/radius.seq"/></div><div> </connection></div><div> <fields> </div><div> </fields></div><div> </auth_reg></div><div> <acct_start></div><div> <connection name="testing"></div><div> <param name="acctserver" value="192.168.56.103:1813:testing123"/></div><div> <param name="radius_timeout" value="10"/></div><div> <param name="radius_retries" value="0"/></div><div> <param name="radius_deadtime" value="0"/></div><div> <param name="dictionary" value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/></div><div> <param name="seqfile" value="/var/run/radius.seq"/></div><div> </connection></div><div> <fields></div><div> <param vendor="Cisco" name="h323-call-origin" variable="h323-call-origin" default="answer" format="%s"/></div><div> <param vendor="Cisco" name="h323-conf-id" variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="uuid" format="h323-call-id=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_contact_host" format="src-gw-ip=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-gw-name=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-number-in=%s" /></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-number-out=%s" /></div><div> <param name="Calling-Station-Id" variable="sip_from_user" variable_secondary="ani" format="%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_host" format="dst-gw-ip=%s"/> </div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="destination_number" format="dst-gw-name=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="destination_number" format="dst-number-in=%s" /></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="destination_number" format="dst-number-out=%s" /></div><div> <param name="Called-Station-Id" variable="destination_number" format="%s"/></div><div> <param vendor="Cisco" name="h323-setup-time"/></div><div> </fields></div><div></acct_start></div><div><acct_end></div><div> <connection name="testing"></div><div> <param name="acctserver" value="192.168.56.103:1813:testing123"/></div><div> <param name="radius_timeout" value="10"/></div><div> <param name="radius_retries" value="0"/></div><div> <param name="radius_deadtime" value="0"/></div><div> <param name="dictionary" value="/usr/src/freeswitch-1.2.23/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/></div><div> <param name="seqfile" value="/var/run/radius.seq"/></div><div> </connection></div><div> <fields></div><div> <param vendor="Cisco" name="h323-call-origin" variable="h323-call-origin" default="answer" format="%s"/></div><div> <param vendor="Cisco" name="h323-conf-id" variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="uuid" format="h323-call-id=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_contact_host" format="src-gw-ip=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-gw-name=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-number-in=%s" /></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" variable_secondary="ani" format="src-number-out=%s" /></div><div> <param name="Calling-Station-Id" variable="sip_from_user" variable_secondary="ani" format="%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_host" format="dst-gw-ip=%s"/> </div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_user" variable_secondary="dialed_extension" format="dst-gw-name=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_user" variable_secondary="dialed_extension" format="dst-number-in=%s" /></div><div> <param name="Called-Station-Id" variable="destination_number" format="%s"/></div><div> <param vendor="Cisco" name="h323-setup-time"/></div><div> <param vendor="Cisco" name="h323-connect-time"/></div><div> <param vendor="Cisco" name="h323-disconnect-time"/></div><div> <param vendor="Cisco" name="h323-disconnect-cause"/></div><div> <param name="Acct-Session-Time" variable="billsec" format="%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable_secondary="progressmsec" variable="progress_mediamsec" format="pdd-time=%s"/></div><div> <param vendor="Cisco" name="Cisco-AVPair" variable="destination_number" format="dst-number-out=%s"/></div><div> </fields></div><div> </acct_end></div><div></configuration></div></div><div><br></div><div><br></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>