<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Густаво,<br>
    <br>
    Its probably failing in function rc_avpair_new in
    "libs/freeradius-client-x.x.x/lib/avpair.c" in function
    "rc_avpair_new".<br>
    I wasnt digging deeper in the code, but try to remove the attrribtue
    vendor, and make sure you initialize "var_hangup_cause".<br>
    <pre wrap="">&lt;param name="Freeswitch-Hangupcause" variable="var_hangup_cause" format="%s"/&gt;

<font style="font-family:'Tahoma', sans-serif; font-size: 9pt; color:#333;">---
<font style="font-weight:bolder; color:#333333; font-size:11pt;">Tomáš Boros</font>
</font>
</pre>
    <br>
    <div class="moz-cite-prefix">On 18.06.2015 08:25, Густаво Силва
      wrote:<br>
    </div>
    <blockquote cite="mid:5582646C.60205@etherway.ru" type="cite">
      <pre wrap="">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:

&lt;param vendor="Freeswitch" name="Freeswitch-Hangupcause" 
variable="var_hangup_cause" format="%s"/&gt;

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: 
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <font style="font-family:'Tahoma', sans-serif; font-size: 9pt;
        color:#333;">
      </font>
    </div>
  </body>
</html>