<div dir="ltr">Is the CDR for the aleg or bleg of the bridge? They'll only be set on the aleg (incoming) leg.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 9 October 2013 14:38, adahary <span dir="ltr"><<a href="mailto:adahary@gmail.com" target="_blank">adahary@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm trying to pass some custom variables from dialplan to cdr with no<br>
success.<br>
here is an example of my dialplan with the 'set' of some custom variable<br>
'x_dialplan_mode'.<br>
<br>
why I cannot see this variable 'x_dialplan_mode' in the CDR XML ?<br>
<br>
<?xml version='1.0' encoding='UTF-8' standalone='no'?><br>
<document type='freeswitch/xml'><br>
<section name='dialplan' description='CALL Routing request'><br>
<context name='agents'><br>
<extension name='call_to_sony27i'><br>
<condition field='destination_number' expression='^sony27i'><br>
<action application='set' data='call_timeout=45'/><br>
<action application='set' data='ringback=${us-ring}'/><br>
<action application='set' data='x_dialplan_mode=FS-LOCAL'/><br>
<action application='set' data='effective_caller_id_number=adahary54'/><br>
<action application='set' data='effective_caller_id_name=adahary54'/><br>
<action application='set' data='execute_on_answer=sched_hangup +3600<br>
alloted_timeout' /><br>
<action application='set' data='hangup_after_bridge=true'/><br>
<action application='set' data='continue_on_fail=true'/><br>
<action application='bridge' data='user/<a href="mailto:sony27i@mydomain.com">sony27i@mydomain.com</a>' /><br>
</condition><br>
</extension><br>
</context><br>
</section><br>
</document><br>
<br>
regards<br>
Assaf<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Dialplan-set-variable-not-found-in-CDR-tp7595574.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Dialplan-set-variable-not-found-in-CDR-tp7595574.html</a><br>
Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>