<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi<br>
<br>
"var_hangup_cause" is not a standard channel variable so it may be
un-initialized.<br>
Make sure you have in your dialplan<br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<pre style="font-family: monospace, Courier; padding: 1em; border: 1px dashed rgb(47, 111, 171); color: rgb(0, 0, 0); line-height: 1.3em; font-size: 12.8000001907349px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(249, 249, 249);"><action application="set" data="var_hangup_cause=[yourmessage]"/></pre>
Frame compression is just a compression of the radius messages.
Defined in RFC 2865 - 5.13<br>
<br>
Tomas<br>
<br>
<div class="moz-cite-prefix">On 18.06.2015 10:30, Густаво Силва
wrote:<br>
</div>
<blockquote cite="mid:558281BA.7020708@etherway.ru" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
hi Tomas!<br>
<br>
What do you mean "initialize" a variable? When I declare variable
in xml_radius.conf, it already initializes it, doesnt it?<br>
<br>
By the way, after I have removed the vendor, now in the radius
log it is showing this info:<br>
Framed-Compression = None<br>
<br>
In the xml debug, it is not showing anymore the error in the
rc_handler.<br>
<br>
Is there something else that I could do to solve it?<br>
<br>
<div class="moz-cite-prefix">On 18.06.2015 11:10, Tomáš Boros
wrote:<br>
</div>
<blockquote cite="mid:55827D01.4050007@vmtele.com" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
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=""><param name="Freeswitch-Hangupcause" variable="var_hangup_cause" format="%s"/>
<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:
<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:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" 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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
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>
</div>
</body>
</html>