Set variables before parking <br><div class="gmail_quote"><div dir="ltr">Em qui, 1 de set de 2016 às 10:29, Tihomir Culjaga &lt;<a href="mailto:tculjaga@gmail.com">tculjaga@gmail.com</a>&gt; escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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-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%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.254.236%3A5060</div><div>Unique-ID: 934ee67c-7044-11e6-b404-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-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-e558b70924ad</div><div>Caller-Source: mod_sofia</div><div>Caller-Context: features</div><div>Caller-RDNIS: 0916331550</div><div>Caller-Channel-Name: sofia/internal/888%4010.10.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-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-Number: 844</div><div>Other-Leg-Callee-ID-Name: Outbound%20Call</div><div>Other-Leg-Callee-ID-Number: 0916331550</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-e558b70924ad</div><div>Other-Leg-Source: mod_sofia</div><div>Other-Leg-Context: features</div><div>Other-Leg-RDNIS: 0916331550</div><div>Other-Leg-Channel-Name: sofia/internal/844%4010.10.254.254</div><div>Other-Leg-Profile-Created-Time: 0</div><div>Other-Leg-Channel-Created-Time: 0</div><div>Other-Leg-Channel-Answered-Time: 0</div><div>Other-Leg-Channel-Progress-Time: 0</div><div>Other-Leg-Channel-Progress-Media-Time: 0</div><div>Other-Leg-Channel-Hangup-Time: 0</div><div>Other-Leg-Channel-Transfer-Time: 0</div><div>Other-Leg-Channel-Resurrect-Time: 0</div><div>Other-Leg-Channel-Bridged-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-e558b70924ad</div><div>variable_session_id: 65</div><div>variable_sip_profile_name: internal</div><div>variable_channel_name: sofia/internal/888%4010.10.254.236%3A5060</div><div>variable_sip_destination_url: sip%3A888%4010.10.254.236%3A5060%3Bfs_nat%3Dyes</div><div>variable_sip_cid_type: pid</div><div>variable_switch_m_sdp: v%3D0%0D%0Ao%3D844%208000%208000%20IN%20IP4%2010.10.253.10%0D%0As%3DSIP%20Call%0D%0Ac%3DIN%20IP4%2010.10.253.10%0D%0At%3D0%200%0D%0Am%3Daudio%2015004%20RTP/AVP%208%2018%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Dptime%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%201472709987%201472709988%20IN%20IP4%2010.10.254.254%0As%3DFreeSWITCH%0Ac%3DIN%20IP4%2010.10.254.254%0At%3D0%200%0Am%3Daudio%2025064%20RTP/AVP%208%2013%0Aa%3Drtpmap%3A8%20PCMA/8000%0Aa%3Dptime%3A20%0Aa%3Dsendrecv%0A</div><div>variable_sip_outgoing_contact_uri: %3Csip%3Amod_sofia%4010.10.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_name: internal</div><div>variable_sip_local_network_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.8</div><div>variable_sip_recover_contact: %3Csip%3A888%4010.10.253.11%3A5060%3E</div><div>variable_sip_full_via: SIP/2.0/UDP%2010.10.254.254%3Brport%3D5060%3Bbranch%3Dz9hG4bK3gv0mrSa3Z1va</div><div>variable_sip_recover_via: SIP/2.0/UDP%2010.10.254.254%3Brport%3D5060%3Bbranch%3Dz9hG4bK3gv0mrSa3Z1va</div><div>variable_sip_from_display: 844</div><div>variable_sip_full_from: %22844%22%20%3Csip%3A844%40192.168.141.60%3E%3Btag%3DmDe1c5tB3tDrp</div><div>variable_sip_full_to: %3Csip%3A888%4010.10.254.236%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-f4ce46a93024</div><div>variable_switch_r_sdp: v%3D0%0D%0Ao%3D888%208000%208000%20IN%20IP4%2010.10.253.11%0D%0As%3DSIP%20Call%0D%0Ac%3DIN%20IP4%2010.10.253.11%0D%0At%3D0%200%0D%0Am%3Daudio%2015004%20RTP/AVP%208%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%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_channels: 1</div><div>variable_rtp_last_audio_codec_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_data: 4%20a%20s%20execute_extension%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_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_name: Karolina</div><div>variable_effective_caller_id_number: 888</div><div>variable_outbound_caller_id_name: FreeSWITCH</div><div>variable_outbound_caller_id_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-e558b70924ad</div><div>variable_export_vars: RFC2822_DATE,execute_on_answer_1,execute_on_answer_2</div><div>variable_RFC2822_DATE: Thu,%2001%20Sep%202016%2015%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%20execute_extension%3A%3Aatt_xfer%20XML%20features</div><div>variable_originate_early_media: true</div><div>variable_originating_leg_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad</div><div>variable_call_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad</div><div>variable_last_bridge_to: 8cb36612-7044-11e6-b3d8-e558b70924ad</div><div>variable_bridge_channel: sofia/internal/844%4010.10.254.254</div><div>variable_bridge_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad</div><div>variable_signal_bond: 8cb36612-7044-11e6-b3d8-e558b70924ad</div><div>variable_last_sent_callee_id_name: 844</div><div>variable_last_sent_callee_id_number: 844</div><div>variable_remote_media_ip_reported: 10.10.253.11</div><div>variable_remote_media_ip: 10.10.254.236</div><div>variable_remote_media_port_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_cause: NORMAL_CLEARING</div><div>variable_last_bridge_proto_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>
_________________________________________________________________________<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.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.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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>