auth_app fields from the xml_radius config module
How can I configure the fields in <auth_app> part in the mod_xml_radius.config.xml file? I have set like this: <auth_app> <connection name="testing"> <param name="authserver" value="127.0.0.1:1812:testing123"/> <param name="radius_timeout" value="10"/> <param name="radius_retries" value="2"/> <param name="radius_deadtime" value="0"/> <param name="dictionary" value="/usr/src/freeswitch/src/mod/xml_int/mod_xml_radius/dictionaries/dictionary"/> <param name="seqfile" value="/var/run/radius.seq"/> </connection> <fields> <param vendor="Cisco" name="h323-conf-id" variable_secondary="uuid" variable="originating_leg_uuid" format="%s"/> <param vendor="Cisco" name="Cisco-AVPair" variable="uuid" format="h323-call-id=%s"/> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_network_ip" format="src-gw-ip=%s"/> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-gw-name=%s"/> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_from_user" format="src-number-in=%s" /> <param vendor="Cisco" name="Cisco-AVPair" variable="sip_to_user" format="dst-number-in=%s" /> <param name="Called-Station-Id" variable="sip_to_user" format="%s"/> <param name="Calling-Station-Id" variable="sip_from_user" format="%s"/> <param name="User-Name" variable="sip_from_user" format="%s"/> </fields> </auth_app> I got this log in my radius server: Mon Apr 20 13:15:13 2015 : Auth: Login OK: [1008/<via Auth-Type = DIGEST>] (from client localhost port 0 cli 1008) Mon Apr 20 13:15:13 2015 : Info: rlm_radutmp: Login entry for NAS localhost port 0 duplicate Mon Apr 20 13:15:13 2015 : Auth: Login incorrect: [1008/<no User-Password attribute>] (from client localhost port 0 cli 1008) My goal is to authenticate a call. Regards, Gustavo
participants (1)
-
Густаво Силва