Hello Brothers!
A lot of time I'm trying to make working mod_xml_radius plus FusionPBX, but unsuccessfully.
I get error: "Failed to create new authentication handle for call".
What kind of data I must to fill in action?
What sequence of actions needs to be made for this mod to work?
What I making wrong? (or what I didn't made)
Thanks!
It is my outbound dialplan and after it errors from log:
logs (there is some errors in listing probably is debug, such as "Attempting to add param"):
A lot of time I'm trying to make working mod_xml_radius plus FusionPBX, but unsuccessfully.
I get error: "Failed to create new authentication handle for call".
What kind of data I must to fill in action?
What sequence of actions needs to be made for this mod to work?
What I making wrong? (or what I didn't made)
Thanks!
It is my outbound dialplan and after it errors from log:
Code:
<extension name="Govorit.89109d7" continue="false" uuid="43b14547-8eee-42f5-b017-755fb8ba495e">
<condition field="${user_exists}" expression="false"/>
<condition field="destination_number" expression="^(891[0-9]\d{7})$">
<action application="radius_auth" data="" inline="true"/>
<action application="set" data="sip_h_X-accountcode=${accountcode}"/>
<action application="export" data="call_direction=outbound"/>
<action application="unset" data="call_timeout"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="inherit_codec=true"/>
<action application="set" data="ignore_display_updates=true"/>
<action application="set" data="callee_id_number=$1"/>
<action application="set" data="continue_on_fail=true"/>
<action application="bridge" data="sofia/gateway/993670d4-5c48-4069-8b8b-05936854f8d5/$1"/>
</condition>
</extension>
logs (there is some errors in listing probably is debug, such as "Attempting to add param"):
Code:
5be0e982-8465-11e9-b476-65b2e591cfd4 Dialplan: sofia/internal/100@omega.tel.enotcom.ru:5060 Action radius_auth() INLINE
5be0e982-8465-11e9-b476-65b2e591cfd4 EXECUTE sofia/internal/100@omega.tel.enotcom.ru:5060 radius_auth()
2019-06-01 15:04:08.288312 [ERR] mod_xml_radius.c:1074 mod_xml_radius: starting app authentication
2019-06-01 15:04:08.288312 [ERR] mod_xml_radius.c:94 Attempting to add param 'authserver' with value '192.168.1.15:1812:testing123'
2019-06-01 15:04:08.288312 [ERR] mod_xml_radius.c:94 Attempting to add param 'radius_timeout' with value '10'
2019-06-01 15:04:08.288312 [ERR] mod_xml_radius.c:94 Attempting to add param 'radius_retries' with value '2'
2019-06-01 15:04:08.288312 [ERR] mod_xml_radius.c:94 Attempting to add param 'radius_deadtime' with value '0'
2019-06-01 15:04:08.288312 [ERR] mod_xml_radius.c:94 Attempting to add param 'dictionary' with value '/usr/local/freeswitch/conf/radius/dictionaries/dictionary'
2019-06-01 15:04:08.288312 [ERR] mod_xml_radius.c:1078 Failed to create new authentication handle for call: 5be0e982-8465-11e9-b476-65b2e591cfd4
Last edited: