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

Steven Ayre steveayre at gmail.com
Thu Oct 10 16:15:06 MSD 2013


Is the CDR for the aleg or bleg of the bridge? They'll only be set on the
aleg (incoming) leg.


On 9 October 2013 14:38, adahary <adahary at gmail.com> wrote:

> 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.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131010/2bcfcd72/attachment.html 


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