Hi
"var_hangup_cause" is not a standard channel variable so it may be
un-initialized.
Make sure you have in your dialplan
<action application="set" data="var_hangup_cause=[yourmessage]"/>
Frame compression is just a compression of the radius messages.
Defined in RFC 2865 - 5.13
Tomas
On 18.06.2015 10:30, Густаво Силва
wrote:
hi Tomas!
What do you mean "initialize" a variable? When I declare
variable in xml_radius.conf, it already initializes it, doesnt
it?
By the way, after I have removed the vendor, now in the radius
log it is showing this info:
Framed-Compression = None
In the xml debug, it is not showing anymore the error in the
rc_handler.
Is there something else that I could do to solve it?
On 18.06.2015 11:10, Tomáš Boros
wrote:
Hi Густаво,
Its probably failing in function rc_avpair_new in
"libs/freeradius-client-x.x.x/lib/avpair.c" in function
"rc_avpair_new".
I wasnt digging deeper in the code, but try to remove the
attrribtue vendor, and make sure you initialize
"var_hangup_cause".
<param name="Freeswitch-Hangupcause" variable="var_hangup_cause" format="%s"/>
---
Tomáš Boros
On 18.06.2015 08:25, Густаво
Силва wrote:
How can I add a new parameter to the accounting log in the
xml_radius.conf file?
I am trying to add the Freeswitch-Hangupcause to the accounting log but
I am get rc_handler failure.
dict attr 'Freeswitch-Hangupcause' value '13' type '1'
[ERR] mod_xml_radius.c:393 mod_xml_radius: dict vend name 'Freeswitch'
vendorpec '27880'
[ERR] mod_xml_radius.c:555 mod_xml_radius: failed to add option with
value '0' to handle
[ERR] mod_xml_radius.c:1015 Failed to add params to rc_handle
I have set up the parameter to hangupcause like this:
<param vendor="Freeswitch" name="Freeswitch-Hangupcause"
variable="var_hangup_cause" format="%s"/>
What is the right way to set it?
Am I doing something wrong?
ps: I have add the freeswitch dictionary.
Regards,
Gustavo
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org