[Freeswitch-users] Dialplan 'set' variable not found in CDR

adahary adahary at gmail.com
Wed Oct 9 17:38:31 MSD 2013


Hi,

I'm trying to pass some custom variables from dialplan to cdr with no
success.
here is an example of my dialplan with the 'set' of some custom variable
'x_dialplan_mode'.

why I cannot see this variable 'x_dialplan_mode' in the CDR XML ?

<?xml version='1.0' encoding='UTF-8' standalone='no'?>
				<document type='freeswitch/xml'>
				  <section name='dialplan' description='CALL Routing request'>
				    <context name='agents'>
				      <extension name='call_to_sony27i'>
					<condition field='destination_number' expression='^sony27i'>
						<action application='set' data='call_timeout=45'/>
<action application='set' data='ringback=${us-ring}'/>
<action application='set' data='x_dialplan_mode=FS-LOCAL'/>
<action application='set' data='effective_caller_id_number=adahary54'/>
<action application='set' data='effective_caller_id_name=adahary54'/>
<action application='set' data='execute_on_answer=sched_hangup +3600
alloted_timeout' />
<action application='set' data='hangup_after_bridge=true'/>
<action application='set' data='continue_on_fail=true'/>
<action application='bridge' data='user/sony27i at mydomain.com' />
					</condition>
				      </extension>
				    </context>
				  </section>
				</document>

regards
Assaf



--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Dialplan-set-variable-not-found-in-CDR-tp7595574.html
Sent from the freeswitch-users mailing list archive at Nabble.com.



Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list