<div dir="ltr">When exactly do you need this variable? Do you want it to appear in CDR table? Can you please explain what exactly you do and whet varable should appear in cdr?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-23 2:53 GMT+06:00 Muhammad Naseer Bhatti <span dir="ltr"><<a href="mailto:nbhatti@gmail.com" target="_blank">nbhatti@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I need to access some channel variables being set in the dialplan, but the channel is already hanged up too quick, ORIGINATOR_CANCEL. Since the session was still setting up the channel variables. I have tried app, set_zombie_exec but still not able to see any channel vars set in the dial plan. Am i doing something wrong or if there is a better way to see the channel vars if the session terminates too soon?</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">With: <span style="background-color:rgb(0,0,0);color:rgb(255,255,255);font-family:Menlo;font-size:11px">git a067a49</span></div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Regex (PASS) [internal] destination_number(1786866) =~ /$/ break=on-false</div><div style="margin:0px"><b>Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action set_zombie_exec() </b></div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action set(hangup_after_bridge=true) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action set(continue_on_fail=true) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action set(fail_on_single_reject=USER_BUSY,NO_ANSWER,NO_USER_RESPONSE,ORIGINATOR_CANCEL) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action set(disable_hold=true) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action set(failed_json_cdr_prefix=failed_cdr_index) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action set(debug_cdr=0) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action set(debug_cdr_sql=1) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action set(cust_default_lrn=intra) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action set(cust_lrn_dip_cost=0.01817) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action set(cust_jurisdiction=INTRASTATE) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action limit(hash random_xgw 0.0.0.0 10/1 !FACILITY_REJECTED) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action limit_execute(hash outbound random_xgw 20 bridge [enable_heartbeat_events=5,nibble_rate=0.2192,nibble_increment=5,nibble_account=AB8KA191,carrier_switch=random_xgw,carrier_switch_id=1,carrier_ratecard_id=2,carrier_rate_rev=1,carrier_rate_type=lrn,carrier_id=1,carrier_connection_cost=0,carrier_rate=0.0119,carrier_interstate_cost=0.0119,carrier_intrastate_cost=0.0119,carrier_enable_billing=t,carrier_call_increment=1,carrier_min_duration=5,carrier_balance=17099.88924]sofia/gateway/random_xgw/1786866) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action limit(hash switch02 0.0.0.0 10/1 !FACILITY_REJECTED) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action limit_execute(hash outbound switch02 20 bridge [enable_heartbeat_events=5,nibble_rate=0.2192,nibble_increment=5,nibble_account=AB8KA191,carrier_switch=switch02,carrier_switch_id=3,carrier_ratecard_id=2,carrier_rate_rev=1,carrier_rate_type=lrn,carrier_id=1,carrier_connection_cost=0,carrier_rate=0.0119,carrier_interstate_cost=0.0119,carrier_intrastate_cost=0.0119,carrier_enable_billing=t,carrier_call_increment=1,carrier_min_duration=5,carrier_balance=17099.88924]sofia/gateway/switch02/1786866) </div><div style="margin:0px">Dialplan: sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> Action hangup() </div><div style="margin:0px">2015-01-22 11:47:14.856013 [DEBUG] switch_core_state_machine.c:216 (sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a>) State Change CS_ROUTING -> CS_EXECUTE</div><div style="margin:0px">2015-01-22 11:47:14.856013 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> [BREAK]</div><div style="margin:0px">2015-01-22 11:47:14.856013 [DEBUG] switch_core_state_machine.c:528 (sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a>) State ROUTING going to sleep</div><div style="margin:0px">2015-01-22 11:47:14.856013 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a>) Running State Change CS_EXECUTE</div><div style="margin:0px"><b>2015-01-22 11:47:14.856013 [DEBUG] sofia.c:6614 Channel sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> entering state [terminated][487]</b></div><div style="margin:0px"><b>2015-01-22 11:47:14.856013 [NOTICE] sofia.c:7530 Hangup sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> [CS_EXECUTE] [ORIGINATOR_CANCEL]</b></div><div style="margin:0px"><b>2015-01-22 11:47:14.856013 [DEBUG] switch_channel.c:3222 Send signal sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> [KILL]</b></div><div style="margin:0px">2015-01-22 11:47:14.856013 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> [BREAK]</div><div style="margin:0px">2015-01-22 11:47:14.856013 [DEBUG] switch_core_state_machine.c:535 (sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a>) State EXECUTE</div><div style="margin:0px">2015-01-22 11:47:14.856013 [DEBUG] mod_sofia.c:178 sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a> SOFIA EXECUTE</div><div style="margin:0px">2015-01-22 11:47:14.856013 [DEBUG] switch_core_state_machine.c:535 (sofia/internal/<a href="mailto:9401404@10.211.55.26" target="_blank">9401404@10.211.55.26</a>) State EXECUTE going to sleep</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"> </div><br><div>—<div>Thanks,</div><div>Muhammad Naseer Bhatti</div></div></div><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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.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><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Kamil Nigmatullin<br>Tel: 77272323748<br>mob: 7 (707) 2517003<br>Skype: kamil.nigmatullin</div></div>
</div>