<div dir="ltr">ciao Italo,<div><br></div><div><br></div><div>i can set a variable before i execute a park application this is not a problem ... but what about park_after_bridge ?</div><div>will the var i set before still be present into CHANNEL_PARK triggered by park_after_bridge ?</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 September 2016 at 16:04, Ítalo Rossi <span dir="ltr">&lt;<a href="mailto:italo@freeswitch.org" target="_blank">italo@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Set variables before parking <br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">Em qui, 1 de set de 2016 às 10:29, Tihomir Culjaga &lt;<a href="mailto:tculjaga@gmail.com" target="_blank">tculjaga@gmail.com</a>&gt; escreveu:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">hello, please can anyone help here.<div><br></div><div><br></div><div> is there any way to distinguish a CHANNEL_PARK generated by att_xfer application from a &quot;normal&quot; CHANNEL_PARK generated by park application?<div><br></div><div><br></div><div><br></div><div><br></div><div>this is a CHANNEL_PARK i got by using att_xfer application:</div><div><br></div><div><div><br></div><div>Event-Name: CHANNEL_PARK</div><div>Core-UUID: f63b2100-6eb0-11e6-b09e-<wbr>e558b70924ad</div><div>FreeSWITCH-Hostname: centralix.bbm.local</div><div>FreeSWITCH-Switchname: centralix.bbm.local</div><div>FreeSWITCH-IPv4: 192.168.141.60</div><div>FreeSWITCH-IPv6: %3A%3A1</div><div>Event-Date-Local: 2016-09-01%2015%3A04%3A21</div><div>Event-Date-GMT: Thu,%2001%20Sep%202016%2013%<wbr>3A04%3A21%20GMT</div><div>Event-Date-Timestamp: 1472735061810863</div><div>Event-Calling-File: switch_ivr.c</div><div>Event-Calling-Function: switch_ivr_park</div><div>Event-Calling-Line-Number: 934</div><div>Event-Sequence: 78869</div><div>Channel-State: CS_PARK</div><div>Channel-Call-State: ACTIVE</div><div>Channel-State-Number: 6</div><div>Channel-Name: sofia/internal/888%4010.10.<wbr>254.236%3A5060</div><div>Unique-ID: 934ee67c-7044-11e6-b404-<wbr>e558b70924ad</div><div>Call-Direction: outbound</div><div>Presence-Call-Direction: outbound</div><div>Channel-HIT-Dialplan: false</div><div>Channel-Presence-ID: 888%40192.168.141.60</div><div>Channel-Call-UUID: 8cb36612-7044-11e6-b3d8-<wbr>e558b70924ad</div><div>Answer-State: answered</div><div>Channel-Read-Codec-Name: PCMA</div><div>Channel-Read-Codec-Rate: 8000</div><div>Channel-Read-Codec-Bit-Rate: 64000</div><div>Channel-Write-Codec-Name: PCMA</div><div>Channel-Write-Codec-Rate: 8000</div><div>Channel-Write-Codec-Bit-Rate: 64000</div><div>Caller-Direction: outbound</div><div>Caller-Logical-Direction: outbound</div><div>Caller-Username: 844</div><div>Caller-Dialplan: XML</div><div>Caller-Caller-ID-Name: 844</div><div>Caller-Caller-ID-Number: 844</div><div>Caller-Orig-Caller-ID-Name: 844</div><div>Caller-Orig-Caller-ID-Number: 844</div><div>Caller-Callee-ID-Name: Outbound%20Call</div><div>Caller-Callee-ID-Number: 888</div><div>Caller-Network-Addr: 10.10.254.236</div><div>Caller-ANI: 844</div><div>Caller-Destination-Number: 888</div><div>Caller-Unique-ID: 934ee67c-7044-11e6-b404-<wbr>e558b70924ad</div><div>Caller-Source: mod_sofia</div><div>Caller-Context: features</div><div>Caller-RDNIS: <a href="tel:0916331550" value="+385916331550" target="_blank">0916331550</a></div><div>Caller-Channel-Name: sofia/internal/888%4010.10.<wbr>254.236%3A5060</div><div>Caller-Profile-Index: 1</div><div>Caller-Profile-Created-Time: 1472735051270863</div><div>Caller-Channel-Created-Time: 1472735051270863</div><div>Caller-Channel-Answered-Time: 1472735052210864</div><div>Caller-Channel-Progress-Time: 1472735051510855</div><div>Caller-Channel-Progress-Media-<wbr>Time: 0</div><div>Caller-Channel-Hangup-Time: 0</div><div>Caller-Channel-Transfer-Time: 0</div><div>Caller-Channel-Resurrect-Time: 0</div><div>Caller-Channel-Bridged-Time: 1472735052230858</div><div>Caller-Channel-Last-Hold: 0</div><div>Caller-Channel-Hold-Accum: 0</div><div>Caller-Screen-Bit: true</div><div>Caller-Privacy-Hide-Name: false</div><div>Caller-Privacy-Hide-Number: false</div><div>Other-Type: originator</div><div>Other-Leg-Direction: inbound</div><div>Other-Leg-Logical-Direction: inbound</div><div>Other-Leg-Username: 844</div><div>Other-Leg-Dialplan: XML</div><div>Other-Leg-Caller-ID-Name: 844</div><div>Other-Leg-Caller-ID-Number: 844</div><div>Other-Leg-Orig-Caller-ID-Name: 844</div><div>Other-Leg-Orig-Caller-ID-<wbr>Number: 844</div><div>Other-Leg-Callee-ID-Name: Outbound%20Call</div><div>Other-Leg-Callee-ID-Number: <a href="tel:0916331550" value="+385916331550" target="_blank">0916331550</a></div><div>Other-Leg-Network-Addr: 10.10.254.235</div><div>Other-Leg-ANI: 844</div><div>Other-Leg-Destination-Number: agent_state</div><div>Other-Leg-Unique-ID: 8cb36612-7044-11e6-b3d8-<wbr>e558b70924ad</div><div>Other-Leg-Source: mod_sofia</div><div>Other-Leg-Context: features</div><div>Other-Leg-RDNIS: <a href="tel:0916331550" value="+385916331550" target="_blank">0916331550</a></div><div>Other-Leg-Channel-Name: sofia/internal/844%4010.10.<wbr>254.254</div><div>Other-Leg-Profile-Created-<wbr>Time: 0</div><div>Other-Leg-Channel-Created-<wbr>Time: 0</div><div>Other-Leg-Channel-Answered-<wbr>Time: 0</div><div>Other-Leg-Channel-Progress-<wbr>Time: 0</div><div>Other-Leg-Channel-Progress-<wbr>Media-Time: 0</div><div>Other-Leg-Channel-Hangup-Time: 0</div><div>Other-Leg-Channel-Transfer-<wbr>Time: 0</div><div>Other-Leg-Channel-Resurrect-<wbr>Time: 0</div><div>Other-Leg-Channel-Bridged-<wbr>Time: 0</div><div>Other-Leg-Channel-Last-Hold: 0</div><div>Other-Leg-Channel-Hold-Accum: 0</div><div>Other-Leg-Screen-Bit: true</div><div>Other-Leg-Privacy-Hide-Name: false</div><div>Other-Leg-Privacy-Hide-Number: false</div><div>variable_direction: outbound</div><div>variable_is_outbound: true</div><div>variable_uuid: 934ee67c-7044-11e6-b404-<wbr>e558b70924ad</div><div>variable_session_id: 65</div><div>variable_sip_profile_name: internal</div><div>variable_channel_name: sofia/internal/888%4010.10.<wbr>254.236%3A5060</div><div>variable_sip_destination_url: sip%3A888%4010.10.254.236%<wbr>3A5060%3Bfs_nat%3Dyes</div><div>variable_sip_cid_type: pid</div><div>variable_switch_m_sdp: v%3D0%0D%0Ao%3D844%208000%<wbr>208000%20IN%20IP4%2010.10.253.<wbr>10%0D%0As%3DSIP%20Call%0D%0Ac%<wbr>3DIN%20IP4%2010.10.253.10%0D%<wbr>0At%3D0%200%0D%0Am%3Daudio%<wbr>2015004%20RTP/AVP%208%2018%0D%<wbr>0Aa%3Drtpmap%3A8%20PCMA/8000%<wbr>0D%0Aa%3Drtpmap%3A18%20G729/<wbr>8000%0D%0Aa%3Dfmtp%3A18%<wbr>20annexb%3Dno%0D%0Aa%3Dptime%<wbr>3A20%0D%0A</div><div>variable_dialed_user: 888</div><div>variable_dialed_domain: 192.168.141.60</div><div>variable_sip_invite_domain: 192.168.141.60</div><div>variable_presence_id: 888%40192.168.141.60</div><div>variable_rtp_local_sdp_str: v%3D0%0Ao%3DFreeSWITCH%<wbr>201472709987%201472709988%<wbr>20IN%20IP4%2010.10.254.254%<wbr>0As%3DFreeSWITCH%0Ac%3DIN%<wbr>20IP4%2010.10.254.254%0At%3D0%<wbr>200%0Am%3Daudio%2025064%20RTP/<wbr>AVP%208%2013%0Aa%3Drtpmap%3A8%<wbr>20PCMA/8000%0Aa%3Dptime%3A20%<wbr>0Aa%3Dsendrecv%0A</div><div>variable_sip_outgoing_contact_<wbr>uri: %3Csip%3Amod_sofia%4010.10.<wbr>254.254%3A5060%3E</div><div>variable_sip_req_uri: 888%4010.10.254.236%3A5060</div><div>variable_sip_nat_detected: true</div><div>variable_sofia_profile_name: internal</div><div>variable_recovery_profile_<wbr>name: internal</div><div>variable_sip_local_network_<wbr>addr: 10.10.254.254</div><div>variable_sip_reply_host: 10.10.254.236</div><div>variable_sip_reply_port: 5060</div><div>variable_sip_network_ip: 10.10.254.236</div><div>variable_sip_network_port: 5060</div><div>variable_ep_codec_string: PCMA%408000h%4020i%4064000b</div><div>variable_sip_user_agent: Grandstream%20GXP2100%201.0.7.<wbr>8</div><div>variable_sip_recover_contact: %3Csip%3A888%4010.10.253.11%<wbr>3A5060%3E</div><div>variable_sip_full_via: SIP/2.0/UDP%2010.10.254.254%<wbr>3Brport%3D5060%3Bbranch%<wbr>3Dz9hG4bK3gv0mrSa3Z1va</div><div>variable_sip_recover_via: SIP/2.0/UDP%2010.10.254.254%<wbr>3Brport%3D5060%3Bbranch%<wbr>3Dz9hG4bK3gv0mrSa3Z1va</div><div>variable_sip_from_display: 844</div><div>variable_sip_full_from: %22844%22%20%3Csip%3A844%<wbr>40192.168.141.60%3E%3Btag%<wbr>3DmDe1c5tB3tDrp</div><div>variable_sip_full_to: %3Csip%3A888%4010.10.254.236%<wbr>3A5060%3E%3Btag%3D1143493955</div><div>variable_sip_from_user: 844</div><div>variable_sip_from_uri: 844%40192.168.141.60</div><div>variable_sip_from_host: 192.168.141.60</div><div>variable_sip_to_user: 888</div><div>variable_sip_to_port: 5060</div><div>variable_sip_to_uri: 888%4010.10.254.236%3A5060</div><div>variable_sip_to_host: 10.10.254.236</div><div>variable_sip_contact_user: 888</div><div>variable_sip_contact_port: 5060</div><div>variable_sip_contact_uri: 888%4010.10.253.11%3A5060</div><div>variable_sip_contact_host: 10.10.253.11</div><div>variable_sip_to_tag: 1143493955</div><div>variable_sip_from_tag: mDe1c5tB3tDrp</div><div>variable_sip_cseq: 96031461</div><div>variable_sip_call_id: 6aad3d60-eae7-1234-4793-<wbr>f4ce46a93024</div><div>variable_switch_r_sdp: v%3D0%0D%0Ao%3D888%208000%<wbr>208000%20IN%20IP4%2010.10.253.<wbr>11%0D%0As%3DSIP%20Call%0D%0Ac%<wbr>3DIN%20IP4%2010.10.253.11%0D%<wbr>0At%3D0%200%0D%0Am%3Daudio%<wbr>2015004%20RTP/AVP%208%0D%0Aa%<wbr>3Drtpmap%3A8%20PCMA/8000%0D%<wbr>0Aa%3Dptime%3A20%0D%0A</div><div>variable_rtp_use_codec_string: PCMA%408000h%4020i,PCMA</div><div>variable_rtp_audio_recv_pt: 8</div><div>variable_rtp_use_codec_name: PCMA</div><div>variable_rtp_use_codec_rate: 8000</div><div>variable_rtp_use_codec_ptime: 20</div><div>variable_rtp_use_codec_<wbr>channels: 1</div><div>variable_rtp_last_audio_codec_<wbr>string: PCMA%408000h%4020i%401c</div><div>variable_read_codec: PCMA</div><div>variable_original_read_codec: PCMA</div><div>variable_read_rate: 8000</div><div>variable_original_read_rate: 8000</div><div>variable_write_codec: PCMA</div><div>variable_write_rate: 8000</div><div>variable_dtmf_type: info</div><div>variable_local_media_ip: 10.10.254.254</div><div>variable_local_media_port: 25064</div><div>variable_advertised_media_ip: 10.10.254.254</div><div>variable_rtp_use_timer_name: soft</div><div>variable_rtp_use_pt: 8</div><div>variable_rtp_use_ssrc: 4157591195</div><div>variable_endpoint_disposition: ANSWER</div><div>variable_current_application_<wbr>data: 4%20a%20s%20execute_extension%<wbr>3A%3Aatt_xfer%20XML%20features</div><div>variable_current_application: bind_meta_app</div><div>variable_record_stereo: true</div><div>variable_default_gateway: <a href="http://example.com" target="_blank">example.com</a></div><div>variable_default_areacode: 918</div><div>variable_transfer_fallback_<wbr>extension: operator</div><div>variable_toll_allow: domestic,international,local</div><div>variable_accountcode: 888</div><div>variable_max_calls: 2</div><div>variable_limit_exceeded: limit_exceeded</div><div>variable_user_context: default</div><div>variable_effective_caller_id_<wbr>name: Karolina</div><div>variable_effective_caller_id_<wbr>number: 888</div><div>variable_outbound_caller_id_<wbr>name: FreeSWITCH</div><div>variable_outbound_caller_id_<wbr>number: 0000000000</div><div>variable_callgroup: techsupport</div><div>variable_sip-force-contact: NDLB-connectile-dysfunction</div><div>variable_max_forwards: 68</div><div>variable_originator_codec: PCMA%408000h%4020i</div><div>variable_originator: 8cb36612-7044-11e6-b3d8-<wbr>e558b70924ad</div><div>variable_export_vars: RFC2822_DATE,execute_on_<wbr>answer_1,execute_on_answer_2</div><div>variable_RFC2822_DATE: Thu,%2001%20Sep%202016%2015%<wbr>3A04%3A00%20%2B0200</div><div>variable_execute_on_answer_1: start_dtmf</div><div>variable_execute_on_answer_2: bind_meta_app%204%20a%20s%<wbr>20execute_extension%3A%3Aatt_<wbr>xfer%20XML%20features</div><div>variable_originate_early_<wbr>media: true</div><div>variable_originating_leg_uuid: 8cb36612-7044-11e6-b3d8-<wbr>e558b70924ad</div><div>variable_call_uuid: 8cb36612-7044-11e6-b3d8-<wbr>e558b70924ad</div><div>variable_last_bridge_to: 8cb36612-7044-11e6-b3d8-<wbr>e558b70924ad</div><div>variable_bridge_channel: sofia/internal/844%4010.10.<wbr>254.254</div><div>variable_bridge_uuid: 8cb36612-7044-11e6-b3d8-<wbr>e558b70924ad</div><div>variable_signal_bond: 8cb36612-7044-11e6-b3d8-<wbr>e558b70924ad</div><div>variable_last_sent_callee_id_<wbr>name: 844</div><div>variable_last_sent_callee_id_<wbr>number: 844</div><div>variable_remote_media_ip_<wbr>reported: 10.10.253.11</div><div>variable_remote_media_ip: 10.10.254.236</div><div>variable_remote_media_port_<wbr>reported: 15004</div><div>variable_remote_media_port: 15004</div><div>variable_rtp_auto_adjust: true</div><div>variable_sip_hangup_phrase: OK</div><div>variable_last_bridge_hangup_<wbr>cause: NORMAL_CLEARING</div><div>variable_last_bridge_proto_<wbr>specific_hangup_cause: sip%3A200</div><div><br></div><div>Content-Length: 9672</div><div>Content-Type: text/event-plain</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>regards,</div><div>Tihomir.</div></div></div></div></div>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>