RESPONSES[:answer] = { :header => [ "Content-Length: 5461", "Content-Type: text/event-plain" ], :content => <<-DATA Event-Name: CHANNEL_ANSWER Core-UUID: 6c700780-3071-11df-b56b-6db4bb905cad FreeSWITCH-Hostname: ubuntu FreeSWITCH-IPv4: 172.16.150.131 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2010-03-15%2013%3A33%3A51 Event-Date-GMT: Mon,%2015%20Mar%202010%2020%3A33%3A51%20GMT Event-Date-Timestamp: 1268685231210884 Event-Calling-File: switch_channel.c Event-Calling-Function: switch_channel_perform_mark_answered Event-Calling-Line-Number: 2275 Channel-State: CS_EXECUTE Channel-State-Number: 4 Channel-Name: sofia/internal/1000%40172.16.150.131 Unique-ID: 10d28adc-3072-11df-b572-6db4bb905cad Call-Direction: inbound Presence-Call-Direction: inbound Channel-Presence-ID: 1000%40172.16.150.131 Answer-State: answered Channel-Read-Codec-Name: GSM Channel-Read-Codec-Rate: 8000 Channel-Write-Codec-Name: GSM Channel-Write-Codec-Rate: 8000 Caller-Username: 1000 Caller-Dialplan: XML Caller-Caller-ID-Name: FreeSWITCH Caller-Caller-ID-Number: 1000 Caller-Network-Addr: 172.16.150.1 Caller-ANI: 1000 Caller-Destination-Number: 502 Caller-Unique-ID: 10d28adc-3072-11df-b572-6db4bb905cad Caller-Source: mod_sofia Caller-Context: default Caller-Channel-Name: sofia/internal/1000%40172.16.150.131 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1268685231100705 Caller-Channel-Created-Time: 1268685231100705 Caller-Channel-Answered-Time: 1268685231210884 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_uuid: 10d28adc-3072-11df-b572-6db4bb905cad variable_sip_network_ip: 172.16.150.1 variable_sip_network_port: 49356 variable_sip_received_ip: 172.16.150.1 variable_sip_received_port: 49356 variable_sip_via_protocol: udp variable_sip_authorized: true variable_sip_number_alias: 1000 variable_sip_auth_username: 1000 variable_sip_auth_realm: 172.16.150.131 variable_number_alias: 1000 variable_user_name: 1000 variable_domain_name: 172.16.150.131 variable_toll_allow: domestic,international,local variable_accountcode: 1000 variable_user_context: default variable_effective_caller_id_name: Extension%201000 variable_effective_caller_id_number: 1000 variable_outbound_caller_id_name: FreeSWITCH variable_outbound_caller_id_number: 0000000000 variable_callgroup: techsupport variable_record_stereo: true variable_default_gateway: example.com variable_default_areacode: 918 variable_transfer_fallback_extension: operator variable_sip_from_user: 1000 variable_sip_from_uri: 1000%40172.16.150.131 variable_sip_from_host: 172.16.150.131 variable_sip_from_user_stripped: 1000 variable_sip_from_tag: xvdctAVPQ7M2GTz894Ag0hwAxyRg6LXG variable_sofia_profile_name: internal variable_sip_full_via: SIP/2.0/UDP%20192.168.1.8%3A49356%3Brport%3D49356%3Bbranch%3Dz9hG4bKPjFv5ZnQfvMYjc67aUDNQiyR.gwUmvlQRh%3Breceived%3D172.16.150.1 variable_sip_from_display: FreeSWITCH variable_sip_full_from: %22FreeSWITCH%22%20%3Csip%3A1000%40172.16.150.131%3E%3Btag%3DxvdctAVPQ7M2GTz894Ag0hwAxyRg6LXG variable_sip_full_to: %3Csip%3A502%40172.16.150.131%3E variable_sip_req_user: 502 variable_sip_req_uri: 502%40172.16.150.131 variable_sip_req_host: 172.16.150.131 variable_sip_to_user: 502 variable_sip_to_uri: 502%40172.16.150.131 variable_sip_to_host: 172.16.150.131 variable_sip_contact_user: 1000 variable_sip_contact_port: 49356 variable_sip_contact_uri: 1000%40192.168.1.8%3A49356 variable_sip_contact_host: 192.168.1.8 variable_channel_name: sofia/internal/1000%40172.16.150.131 variable_sip_call_id: yThniylY3WFVenFCmjsJZuhDvKe5IOc3 variable_sip_user_agent: Telephone%200.14.3 variable_sip_via_host: 192.168.1.8 variable_sip_via_port: 49356 variable_sip_via_rport: 49356 variable_max_forwards: 70 variable_presence_id: 1000%40172.16.150.131 variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%203477674031%203477674031%20IN%20IP4%20192.168.1.8%0D%0As%3Dpjmedia%0D%0Ac%3DIN%20IP4%20192.168.1.8%0D%0At%3D0%200%0D%0Aa%3DX-nat%3A0%0D%0Am%3Daudio%204002%20RTP/AVP%20103%20102%20104%20117%203%200%208%209%20101%0D%0Aa%3Drtpmap%3A103%20speex/16000%0D%0Aa%3Drtpmap%3A102%20speex/8000%0D%0Aa%3Drtpmap%3A104%20speex/32000%0D%0Aa%3Drtpmap%3A117%20iLBC/8000%0D%0Aa%3Dfmtp%3A117%20mode%3D30%0D%0Aa%3Drtpmap%3A3%20GSM/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A9%20G722/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Drtcp%3A4003%20IN%20IP4%20192.168.1.8%0D%0A variable_sip_use_codec_name: GSM variable_sip_use_codec_rate: 8000 variable_sip_use_codec_ptime: 20 variable_read_codec: GSM variable_read_rate: 8000 variable_write_codec: GSM variable_write_rate: 8000 variable_endpoint_disposition: RECEIVED variable_open: true variable_tts_engine: cepstral variable_tts_voice: allison variable_socket_host: 172.16.150.1 variable_current_application: answer variable_sip_local_sdp_str: v%3D0%0Ao%3DFreeSWITCH%201268660489%201268660490%20IN%20IP4%20172.16.150.131%0As%3DFreeSWITCH%0Ac%3DIN%20IP4%20172.16.150.131%0At%3D0%200%0Am%3Daudio%2024742%20RTP/AVP%203%20101%0Aa%3Drtpmap%3A3%20GSM/8000%0Aa%3Drtpmap%3A101%20telephone-event/8000%0Aa%3Dfmtp%3A101%200-16%0Aa%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0Aa%3Dptime%3A20%0Aa%3Dsendrecv%0A variable_local_media_ip: 172.16.150.131 variable_local_media_port: 24742 variable_sip_use_pt: 3 variable_rtp_use_ssrc: 794051412 variable_remote_media_ip: 192.168.1.8 variable_remote_media_port: 4002 variable_sip_nat_detected: true DATA }