Skip to content

Instantly share code, notes, and snippets.

@benlangfeld
Created July 2, 2012 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benlangfeld/40f079ae2a079abe6393 to your computer and use it in GitHub Desktop.
Save benlangfeld/40f079ae2a079abe6393 to your computer and use it in GitHub Desktop.
SendMsg 6ca677a4-c488-11e1-a947-cf9911a69d1e
call-command: execute
execute-app-name: playback
execute-app-arg: voicemail/vm-goodbye.wav
Content-Type: command/reply
Reply-Text: +OK
Content-Length: 6492
Content-Type: text/event-json
{
"Event-Name": "CHANNEL_EXECUTE",
"Core-UUID": "c26be8e2-c1fc-11e1-a7bd-cf9911a69d1e",
"FreeSWITCH-Hostname": "blmbp.home",
"FreeSWITCH-Switchname": "blmbp.home",
"FreeSWITCH-IPv4": "192.168.1.74",
"FreeSWITCH-IPv6": "::1",
"Event-Date-Local": "2012-07-02 21:56:43",
"Event-Date-GMT": "Mon, 02 Jul 2012 20:56:43 GMT",
"Event-Date-Timestamp": "1341262603939393",
"Event-Calling-File": "switch_core_session.c",
"Event-Calling-Function": "switch_core_session_exec",
"Event-Calling-Line-Number": "2256",
"Event-Sequence": "21616",
"Channel-State": "CS_EXECUTE",
"Channel-Call-State": "ACTIVE",
"Channel-State-Number": "4",
"Channel-Name": "sofia/internal/1000@127.0.0.1",
"Unique-ID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Call-Direction": "inbound",
"Presence-Call-Direction": "inbound",
"Channel-HIT-Dialplan": "true",
"Channel-Presence-ID": "1000@127.0.0.1",
"Channel-Call-UUID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Answer-State": "answered",
"Channel-Read-Codec-Name": "PCMU",
"Channel-Read-Codec-Rate": "8000",
"Channel-Read-Codec-Bit-Rate": "64000",
"Channel-Write-Codec-Name": "PCMU",
"Channel-Write-Codec-Rate": "8000",
"Channel-Write-Codec-Bit-Rate": "64000",
"Caller-Direction": "inbound",
"Caller-Username": "1000",
"Caller-Dialplan": "XML",
"Caller-Caller-ID-Name": "1000",
"Caller-Caller-ID-Number": "1000",
"Caller-Network-Addr": "192.168.1.74",
"Caller-ANI": "1000",
"Caller-Destination-Number": "10",
"Caller-Unique-ID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Caller-Source": "mod_sofia",
"Caller-Context": "default",
"Caller-Channel-Name": "sofia/internal/1000@127.0.0.1",
"Caller-Profile-Index": "1",
"Caller-Profile-Created-Time": "1341262601518828",
"Caller-Channel-Created-Time": "1341262601518828",
"Caller-Channel-Answered-Time": "1341262601829318",
"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_direction": "inbound",
"variable_uuid": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"variable_session_id": "29",
"variable_sip_local_network_addr": "109.149.5.237",
"variable_sip_network_ip": "192.168.1.74",
"variable_sip_network_port": "55791",
"variable_sip_received_ip": "192.168.1.74",
"variable_sip_received_port": "55791",
"variable_sip_via_protocol": "udp",
"variable_sip_authorized": "true",
"variable_sip_number_alias": "1000",
"variable_sip_auth_username": "1000",
"variable_sip_auth_realm": "127.0.0.1",
"variable_number_alias": "1000",
"variable_user_name": "1000",
"variable_domain_name": "127.0.0.1",
"variable_record_stereo": "true",
"variable_default_gateway": "example.com",
"variable_default_areacode": "918",
"variable_transfer_fallback_extension": "operator",
"variable_toll_allow": "domestic,international,local",
"variable_accountcode": "1000",
"variable_user_context": "default",
"variable_effective_caller_id_name": "Extension 1000",
"variable_effective_caller_id_number": "1000",
"variable_outbound_caller_id_name": "FreeSWITCH",
"variable_outbound_caller_id_number": "0000000000",
"variable_callgroup": "techsupport",
"variable_sip_from_user": "1000",
"variable_sip_from_uri": "1000@127.0.0.1",
"variable_sip_from_host": "127.0.0.1",
"variable_sip_from_user_stripped": "1000",
"variable_sofia_profile_name": "internal",
"variable_sip_req_user": "10",
"variable_sip_req_uri": "10@127.0.0.1",
"variable_sip_req_host": "127.0.0.1",
"variable_sip_to_user": "10",
"variable_sip_to_uri": "10@127.0.0.1",
"variable_sip_to_host": "127.0.0.1",
"variable_sip_contact_user": "1000",
"variable_sip_contact_port": "55791",
"variable_sip_contact_uri": "1000@192.168.1.74:55791",
"variable_sip_contact_host": "192.168.1.74",
"variable_channel_name": "sofia/internal/1000@127.0.0.1",
"variable_sip_user_agent": "YATE/4.1.0",
"variable_sip_via_host": "192.168.1.74",
"variable_sip_via_port": "55791",
"variable_sip_via_rport": "55791",
"variable_max_forwards": "20",
"variable_presence_id": "1000@127.0.0.1",
"variable_switch_r_sdp": "v=0\r\no=yate 1341262601 1341262601 IN IP4 192.168.1.74\r\ns=SIP Call\r\nc=IN IP4 192.168.1.74\r\nt=0 0\r\nm=audio 18766 RTP/AVP 0 8 11 98 97 102 103 104 105 106 101\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:11 L16/8000\r\na=rtpmap:98 iLBC/8000\r\na=fmtp:98 mode=20\r\na=rtpmap:97 iLBC/8000\r\na=fmtp:97 mode=30\r\na=rtpmap:102 SPEEX/8000\r\na=rtpmap:103 SPEEX/16000\r\na=rtpmap:104 SPEEX/32000\r\na=rtpmap:105 iSAC/16000\r\na=rtpmap:106 iSAC/32000\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:30\r\n",
"variable_sip_audio_recv_pt": "0",
"variable_read_codec": "PCMU",
"variable_read_rate": "8000",
"variable_write_codec": "PCMU",
"variable_write_rate": "8000",
"variable_call_uuid": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"variable_RFC2822_DATE": "Mon, 02 Jul 2012 21:56:41 +0100",
"variable_export_vars": "RFC2822_DATE",
"variable_sip_local_sdp_str": "v=0\no=FreeSWITCH 1341232343 1341232344 IN IP4 192.168.1.74\ns=FreeSWITCH\nc=IN IP4 192.168.1.74\nt=0 0\nm=audio 30258 RTP/AVP 0 101\na=rtpmap:0 PCMU/8000\na=rtpmap:101 telephone-event/8000\na=fmtp:101 0-16\na=silenceSupp:off - - - -\na=ptime:30\na=sendrecv\n",
"variable_local_media_ip": "192.168.1.74",
"variable_local_media_port": "30258",
"variable_advertised_media_ip": "192.168.1.74",
"variable_sip_use_pt": "0",
"variable_rtp_use_ssrc": "831616082",
"variable_sip_2833_send_payload": "101",
"variable_sip_2833_recv_payload": "101",
"variable_remote_media_ip": "192.168.1.74",
"variable_remote_media_port": "18766",
"variable_endpoint_disposition": "ANSWER",
"variable_sip_to_tag": "7pUKB5pcZrZHN",
"variable_sip_from_tag": "245139696",
"variable_sip_cseq": "33",
"variable_sip_call_id": "1193962672@127.0.0.1",
"variable_sip_full_via": "SIP/2.0/UDP 192.168.1.74:55791;rport=55791;branch=z9hG4bK25955250",
"variable_sip_full_from": "<sip:1000@127.0.0.1>;tag=245139696",
"variable_sip_full_to": "<sip:10@127.0.0.1>;tag=7pUKB5pcZrZHN",
"variable_sip_h_X-Broken-PTIME": "Adv=30;Sent=20",
"variable_sip_use_codec_name": "PCMU",
"variable_sip_use_codec_rate": "8000",
"variable_sip_use_codec_ptime": "20",
"variable_current_application": "playback",
"variable_current_application_data": "voicemail/vm-goodbye.wav",
"Application": "playback",
"Application-Data": "voicemail/vm-goodbye.wav"
}Content-Length: 6497
Content-Type: text/event-json
{
"Event-Name": "PLAYBACK_START",
"Core-UUID": "c26be8e2-c1fc-11e1-a7bd-cf9911a69d1e",
"FreeSWITCH-Hostname": "blmbp.home",
"FreeSWITCH-Switchname": "blmbp.home",
"FreeSWITCH-IPv4": "192.168.1.74",
"FreeSWITCH-IPv6": "::1",
"Event-Date-Local": "2012-07-02 21:56:43",
"Event-Date-GMT": "Mon, 02 Jul 2012 20:56:43 GMT",
"Event-Date-Timestamp": "1341262603939393",
"Event-Calling-File": "switch_ivr_play_say.c",
"Event-Calling-Function": "switch_ivr_play_file",
"Event-Calling-Line-Number": "1366",
"Event-Sequence": "21617",
"Channel-State": "CS_EXECUTE",
"Channel-Call-State": "ACTIVE",
"Channel-State-Number": "4",
"Channel-Name": "sofia/internal/1000@127.0.0.1",
"Unique-ID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Call-Direction": "inbound",
"Presence-Call-Direction": "inbound",
"Channel-HIT-Dialplan": "true",
"Channel-Presence-ID": "1000@127.0.0.1",
"Channel-Call-UUID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Answer-State": "answered",
"Channel-Read-Codec-Name": "PCMU",
"Channel-Read-Codec-Rate": "8000",
"Channel-Read-Codec-Bit-Rate": "64000",
"Channel-Write-Codec-Name": "PCMU",
"Channel-Write-Codec-Rate": "8000",
"Channel-Write-Codec-Bit-Rate": "64000",
"Caller-Direction": "inbound",
"Caller-Username": "1000",
"Caller-Dialplan": "XML",
"Caller-Caller-ID-Name": "1000",
"Caller-Caller-ID-Number": "1000",
"Caller-Network-Addr": "192.168.1.74",
"Caller-ANI": "1000",
"Caller-Destination-Number": "10",
"Caller-Unique-ID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Caller-Source": "mod_sofia",
"Caller-Context": "default",
"Caller-Channel-Name": "sofia/internal/1000@127.0.0.1",
"Caller-Profile-Index": "1",
"Caller-Profile-Created-Time": "1341262601518828",
"Caller-Channel-Created-Time": "1341262601518828",
"Caller-Channel-Answered-Time": "1341262601829318",
"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_direction": "inbound",
"variable_uuid": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"variable_session_id": "29",
"variable_sip_local_network_addr": "109.149.5.237",
"variable_sip_network_ip": "192.168.1.74",
"variable_sip_network_port": "55791",
"variable_sip_received_ip": "192.168.1.74",
"variable_sip_received_port": "55791",
"variable_sip_via_protocol": "udp",
"variable_sip_authorized": "true",
"variable_sip_number_alias": "1000",
"variable_sip_auth_username": "1000",
"variable_sip_auth_realm": "127.0.0.1",
"variable_number_alias": "1000",
"variable_user_name": "1000",
"variable_domain_name": "127.0.0.1",
"variable_record_stereo": "true",
"variable_default_gateway": "example.com",
"variable_default_areacode": "918",
"variable_transfer_fallback_extension": "operator",
"variable_toll_allow": "domestic,international,local",
"variable_accountcode": "1000",
"variable_user_context": "default",
"variable_effective_caller_id_name": "Extension 1000",
"variable_effective_caller_id_number": "1000",
"variable_outbound_caller_id_name": "FreeSWITCH",
"variable_outbound_caller_id_number": "0000000000",
"variable_callgroup": "techsupport",
"variable_sip_from_user": "1000",
"variable_sip_from_uri": "1000@127.0.0.1",
"variable_sip_from_host": "127.0.0.1",
"variable_sip_from_user_stripped": "1000",
"variable_sofia_profile_name": "internal",
"variable_sip_req_user": "10",
"variable_sip_req_uri": "10@127.0.0.1",
"variable_sip_req_host": "127.0.0.1",
"variable_sip_to_user": "10",
"variable_sip_to_uri": "10@127.0.0.1",
"variable_sip_to_host": "127.0.0.1",
"variable_sip_contact_user": "1000",
"variable_sip_contact_port": "55791",
"variable_sip_contact_uri": "1000@192.168.1.74:55791",
"variable_sip_contact_host": "192.168.1.74",
"variable_channel_name": "sofia/internal/1000@127.0.0.1",
"variable_sip_user_agent": "YATE/4.1.0",
"variable_sip_via_host": "192.168.1.74",
"variable_sip_via_port": "55791",
"variable_sip_via_rport": "55791",
"variable_max_forwards": "20",
"variable_presence_id": "1000@127.0.0.1",
"variable_switch_r_sdp": "v=0\r\no=yate 1341262601 1341262601 IN IP4 192.168.1.74\r\ns=SIP Call\r\nc=IN IP4 192.168.1.74\r\nt=0 0\r\nm=audio 18766 RTP/AVP 0 8 11 98 97 102 103 104 105 106 101\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:11 L16/8000\r\na=rtpmap:98 iLBC/8000\r\na=fmtp:98 mode=20\r\na=rtpmap:97 iLBC/8000\r\na=fmtp:97 mode=30\r\na=rtpmap:102 SPEEX/8000\r\na=rtpmap:103 SPEEX/16000\r\na=rtpmap:104 SPEEX/32000\r\na=rtpmap:105 iSAC/16000\r\na=rtpmap:106 iSAC/32000\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:30\r\n",
"variable_sip_audio_recv_pt": "0",
"variable_read_codec": "PCMU",
"variable_read_rate": "8000",
"variable_write_codec": "PCMU",
"variable_write_rate": "8000",
"variable_call_uuid": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"variable_RFC2822_DATE": "Mon, 02 Jul 2012 21:56:41 +0100",
"variable_export_vars": "RFC2822_DATE",
"variable_sip_local_sdp_str": "v=0\no=FreeSWITCH 1341232343 1341232344 IN IP4 192.168.1.74\ns=FreeSWITCH\nc=IN IP4 192.168.1.74\nt=0 0\nm=audio 30258 RTP/AVP 0 101\na=rtpmap:0 PCMU/8000\na=rtpmap:101 telephone-event/8000\na=fmtp:101 0-16\na=silenceSupp:off - - - -\na=ptime:30\na=sendrecv\n",
"variable_local_media_ip": "192.168.1.74",
"variable_local_media_port": "30258",
"variable_advertised_media_ip": "192.168.1.74",
"variable_sip_use_pt": "0",
"variable_rtp_use_ssrc": "831616082",
"variable_sip_2833_send_payload": "101",
"variable_sip_2833_recv_payload": "101",
"variable_remote_media_ip": "192.168.1.74",
"variable_remote_media_port": "18766",
"variable_endpoint_disposition": "ANSWER",
"variable_sip_to_tag": "7pUKB5pcZrZHN",
"variable_sip_from_tag": "245139696",
"variable_sip_cseq": "33",
"variable_sip_call_id": "1193962672@127.0.0.1",
"variable_sip_full_via": "SIP/2.0/UDP 192.168.1.74:55791;rport=55791;branch=z9hG4bK25955250",
"variable_sip_full_from": "<sip:1000@127.0.0.1>;tag=245139696",
"variable_sip_full_to": "<sip:10@127.0.0.1>;tag=7pUKB5pcZrZHN",
"variable_sip_h_X-Broken-PTIME": "Adv=30;Sent=20",
"variable_sip_use_codec_name": "PCMU",
"variable_sip_use_codec_rate": "8000",
"variable_sip_use_codec_ptime": "20",
"variable_current_application_data": "voicemail/vm-goodbye.wav",
"variable_current_application": "playback",
"Playback-File-Path": "/opt/freeswitch/sounds/en/us/callie/voicemail/vm-goodbye.wav"
}
Content-Length: 6629
Content-Type: text/event-json
{
"Event-Name": "PLAYBACK_STOP",
"Core-UUID": "c26be8e2-c1fc-11e1-a7bd-cf9911a69d1e",
"FreeSWITCH-Hostname": "blmbp.home",
"FreeSWITCH-Switchname": "blmbp.home",
"FreeSWITCH-IPv4": "192.168.1.74",
"FreeSWITCH-IPv6": "::1",
"Event-Date-Local": "2012-07-02 21:56:44",
"Event-Date-GMT": "Mon, 02 Jul 2012 20:56:44 GMT",
"Event-Date-Timestamp": "1341262604418702",
"Event-Calling-File": "switch_ivr_play_say.c",
"Event-Calling-Function": "switch_ivr_play_file",
"Event-Calling-Line-Number": "1686",
"Event-Sequence": "21618",
"Channel-State": "CS_EXECUTE",
"Channel-Call-State": "ACTIVE",
"Channel-State-Number": "4",
"Channel-Name": "sofia/internal/1000@127.0.0.1",
"Unique-ID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Call-Direction": "inbound",
"Presence-Call-Direction": "inbound",
"Channel-HIT-Dialplan": "true",
"Channel-Presence-ID": "1000@127.0.0.1",
"Channel-Call-UUID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Answer-State": "answered",
"Channel-Read-Codec-Name": "PCMU",
"Channel-Read-Codec-Rate": "8000",
"Channel-Read-Codec-Bit-Rate": "64000",
"Channel-Write-Codec-Name": "PCMU",
"Channel-Write-Codec-Rate": "8000",
"Channel-Write-Codec-Bit-Rate": "64000",
"Caller-Direction": "inbound",
"Caller-Username": "1000",
"Caller-Dialplan": "XML",
"Caller-Caller-ID-Name": "1000",
"Caller-Caller-ID-Number": "1000",
"Caller-Network-Addr": "192.168.1.74",
"Caller-ANI": "1000",
"Caller-Destination-Number": "10",
"Caller-Unique-ID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Caller-Source": "mod_sofia",
"Caller-Context": "default",
"Caller-Channel-Name": "sofia/internal/1000@127.0.0.1",
"Caller-Profile-Index": "1",
"Caller-Profile-Created-Time": "1341262601518828",
"Caller-Channel-Created-Time": "1341262601518828",
"Caller-Channel-Answered-Time": "1341262601829318",
"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_direction": "inbound",
"variable_uuid": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"variable_session_id": "29",
"variable_sip_local_network_addr": "109.149.5.237",
"variable_sip_network_ip": "192.168.1.74",
"variable_sip_network_port": "55791",
"variable_sip_received_ip": "192.168.1.74",
"variable_sip_received_port": "55791",
"variable_sip_via_protocol": "udp",
"variable_sip_authorized": "true",
"variable_sip_number_alias": "1000",
"variable_sip_auth_username": "1000",
"variable_sip_auth_realm": "127.0.0.1",
"variable_number_alias": "1000",
"variable_user_name": "1000",
"variable_domain_name": "127.0.0.1",
"variable_record_stereo": "true",
"variable_default_gateway": "example.com",
"variable_default_areacode": "918",
"variable_transfer_fallback_extension": "operator",
"variable_toll_allow": "domestic,international,local",
"variable_accountcode": "1000",
"variable_user_context": "default",
"variable_effective_caller_id_name": "Extension 1000",
"variable_effective_caller_id_number": "1000",
"variable_outbound_caller_id_name": "FreeSWITCH",
"variable_outbound_caller_id_number": "0000000000",
"variable_callgroup": "techsupport",
"variable_sip_from_user": "1000",
"variable_sip_from_uri": "1000@127.0.0.1",
"variable_sip_from_host": "127.0.0.1",
"variable_sip_from_user_stripped": "1000",
"variable_sofia_profile_name": "internal",
"variable_sip_req_user": "10",
"variable_sip_req_uri": "10@127.0.0.1",
"variable_sip_req_host": "127.0.0.1",
"variable_sip_to_user": "10",
"variable_sip_to_uri": "10@127.0.0.1",
"variable_sip_to_host": "127.0.0.1",
"variable_sip_contact_user": "1000",
"variable_sip_contact_port": "55791",
"variable_sip_contact_uri": "1000@192.168.1.74:55791",
"variable_sip_contact_host": "192.168.1.74",
"variable_channel_name": "sofia/internal/1000@127.0.0.1",
"variable_sip_user_agent": "YATE/4.1.0",
"variable_sip_via_host": "192.168.1.74",
"variable_sip_via_port": "55791",
"variable_sip_via_rport": "55791",
"variable_max_forwards": "20",
"variable_presence_id": "1000@127.0.0.1",
"variable_switch_r_sdp": "v=0\r\no=yate 1341262601 1341262601 IN IP4 192.168.1.74\r\ns=SIP Call\r\nc=IN IP4 192.168.1.74\r\nt=0 0\r\nm=audio 18766 RTP/AVP 0 8 11 98 97 102 103 104 105 106 101\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:11 L16/8000\r\na=rtpmap:98 iLBC/8000\r\na=fmtp:98 mode=20\r\na=rtpmap:97 iLBC/8000\r\na=fmtp:97 mode=30\r\na=rtpmap:102 SPEEX/8000\r\na=rtpmap:103 SPEEX/16000\r\na=rtpmap:104 SPEEX/32000\r\na=rtpmap:105 iSAC/16000\r\na=rtpmap:106 iSAC/32000\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:30\r\n",
"variable_sip_audio_recv_pt": "0",
"variable_read_codec": "PCMU",
"variable_read_rate": "8000",
"variable_write_codec": "PCMU",
"variable_write_rate": "8000",
"variable_call_uuid": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"variable_RFC2822_DATE": "Mon, 02 Jul 2012 21:56:41 +0100",
"variable_export_vars": "RFC2822_DATE",
"variable_sip_local_sdp_str": "v=0\no=FreeSWITCH 1341232343 1341232344 IN IP4 192.168.1.74\ns=FreeSWITCH\nc=IN IP4 192.168.1.74\nt=0 0\nm=audio 30258 RTP/AVP 0 101\na=rtpmap:0 PCMU/8000\na=rtpmap:101 telephone-event/8000\na=fmtp:101 0-16\na=silenceSupp:off - - - -\na=ptime:30\na=sendrecv\n",
"variable_local_media_ip": "192.168.1.74",
"variable_local_media_port": "30258",
"variable_advertised_media_ip": "192.168.1.74",
"variable_sip_use_pt": "0",
"variable_rtp_use_ssrc": "831616082",
"variable_sip_2833_send_payload": "101",
"variable_sip_2833_recv_payload": "101",
"variable_remote_media_ip": "192.168.1.74",
"variable_remote_media_port": "18766",
"variable_endpoint_disposition": "ANSWER",
"variable_sip_to_tag": "7pUKB5pcZrZHN",
"variable_sip_from_tag": "245139696",
"variable_sip_cseq": "33",
"variable_sip_call_id": "1193962672@127.0.0.1",
"variable_sip_full_via": "SIP/2.0/UDP 192.168.1.74:55791;rport=55791;branch=z9hG4bK25955250",
"variable_sip_full_from": "<sip:1000@127.0.0.1>;tag=245139696",
"variable_sip_full_to": "<sip:10@127.0.0.1>;tag=7pUKB5pcZrZHN",
"variable_sip_h_X-Broken-PTIME": "Adv=30;Sent=20",
"variable_sip_use_codec_name": "PCMU",
"variable_sip_use_codec_rate": "8000",
"variable_sip_use_codec_ptime": "20",
"variable_current_application_data": "voicemail/vm-goodbye.wav",
"variable_current_application": "playback",
"variable_playback_seconds": "0",
"variable_playback_ms": "472",
"variable_playback_samples": "3781",
"Playback-File-Path": "/opt/freeswitch/sounds/en/us/callie/voicemail/vm-goodbye.wav",
"Playback-Status": "done"
}Content-Length: 6703
Content-Type: text/event-json
{
"Event-Name": "CHANNEL_EXECUTE_COMPLETE",
"Core-UUID": "c26be8e2-c1fc-11e1-a7bd-cf9911a69d1e",
"FreeSWITCH-Hostname": "blmbp.home",
"FreeSWITCH-Switchname": "blmbp.home",
"FreeSWITCH-IPv4": "192.168.1.74",
"FreeSWITCH-IPv6": "::1",
"Event-Date-Local": "2012-07-02 21:56:44",
"Event-Date-GMT": "Mon, 02 Jul 2012 20:56:44 GMT",
"Event-Date-Timestamp": "1341262604418702",
"Event-Calling-File": "switch_core_session.c",
"Event-Calling-Function": "switch_core_session_exec",
"Event-Calling-Line-Number": "2277",
"Event-Sequence": "21619",
"Channel-State": "CS_EXECUTE",
"Channel-Call-State": "ACTIVE",
"Channel-State-Number": "4",
"Channel-Name": "sofia/internal/1000@127.0.0.1",
"Unique-ID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Call-Direction": "inbound",
"Presence-Call-Direction": "inbound",
"Channel-HIT-Dialplan": "true",
"Channel-Presence-ID": "1000@127.0.0.1",
"Channel-Call-UUID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Answer-State": "answered",
"Channel-Read-Codec-Name": "PCMU",
"Channel-Read-Codec-Rate": "8000",
"Channel-Read-Codec-Bit-Rate": "64000",
"Channel-Write-Codec-Name": "PCMU",
"Channel-Write-Codec-Rate": "8000",
"Channel-Write-Codec-Bit-Rate": "64000",
"Caller-Direction": "inbound",
"Caller-Username": "1000",
"Caller-Dialplan": "XML",
"Caller-Caller-ID-Name": "1000",
"Caller-Caller-ID-Number": "1000",
"Caller-Network-Addr": "192.168.1.74",
"Caller-ANI": "1000",
"Caller-Destination-Number": "10",
"Caller-Unique-ID": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"Caller-Source": "mod_sofia",
"Caller-Context": "default",
"Caller-Channel-Name": "sofia/internal/1000@127.0.0.1",
"Caller-Profile-Index": "1",
"Caller-Profile-Created-Time": "1341262601518828",
"Caller-Channel-Created-Time": "1341262601518828",
"Caller-Channel-Answered-Time": "1341262601829318",
"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_direction": "inbound",
"variable_uuid": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"variable_session_id": "29",
"variable_sip_local_network_addr": "109.149.5.237",
"variable_sip_network_ip": "192.168.1.74",
"variable_sip_network_port": "55791",
"variable_sip_received_ip": "192.168.1.74",
"variable_sip_received_port": "55791",
"variable_sip_via_protocol": "udp",
"variable_sip_authorized": "true",
"variable_sip_number_alias": "1000",
"variable_sip_auth_username": "1000",
"variable_sip_auth_realm": "127.0.0.1",
"variable_number_alias": "1000",
"variable_user_name": "1000",
"variable_domain_name": "127.0.0.1",
"variable_record_stereo": "true",
"variable_default_gateway": "example.com",
"variable_default_areacode": "918",
"variable_transfer_fallback_extension": "operator",
"variable_toll_allow": "domestic,international,local",
"variable_accountcode": "1000",
"variable_user_context": "default",
"variable_effective_caller_id_name": "Extension 1000",
"variable_effective_caller_id_number": "1000",
"variable_outbound_caller_id_name": "FreeSWITCH",
"variable_outbound_caller_id_number": "0000000000",
"variable_callgroup": "techsupport",
"variable_sip_from_user": "1000",
"variable_sip_from_uri": "1000@127.0.0.1",
"variable_sip_from_host": "127.0.0.1",
"variable_sip_from_user_stripped": "1000",
"variable_sofia_profile_name": "internal",
"variable_sip_req_user": "10",
"variable_sip_req_uri": "10@127.0.0.1",
"variable_sip_req_host": "127.0.0.1",
"variable_sip_to_user": "10",
"variable_sip_to_uri": "10@127.0.0.1",
"variable_sip_to_host": "127.0.0.1",
"variable_sip_contact_user": "1000",
"variable_sip_contact_port": "55791",
"variable_sip_contact_uri": "1000@192.168.1.74:55791",
"variable_sip_contact_host": "192.168.1.74",
"variable_channel_name": "sofia/internal/1000@127.0.0.1",
"variable_sip_user_agent": "YATE/4.1.0",
"variable_sip_via_host": "192.168.1.74",
"variable_sip_via_port": "55791",
"variable_sip_via_rport": "55791",
"variable_max_forwards": "20",
"variable_presence_id": "1000@127.0.0.1",
"variable_switch_r_sdp": "v=0\r\no=yate 1341262601 1341262601 IN IP4 192.168.1.74\r\ns=SIP Call\r\nc=IN IP4 192.168.1.74\r\nt=0 0\r\nm=audio 18766 RTP/AVP 0 8 11 98 97 102 103 104 105 106 101\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:11 L16/8000\r\na=rtpmap:98 iLBC/8000\r\na=fmtp:98 mode=20\r\na=rtpmap:97 iLBC/8000\r\na=fmtp:97 mode=30\r\na=rtpmap:102 SPEEX/8000\r\na=rtpmap:103 SPEEX/16000\r\na=rtpmap:104 SPEEX/32000\r\na=rtpmap:105 iSAC/16000\r\na=rtpmap:106 iSAC/32000\r\na=rtpmap:101 telephone-event/8000\r\na=ptime:30\r\n",
"variable_sip_audio_recv_pt": "0",
"variable_read_codec": "PCMU",
"variable_read_rate": "8000",
"variable_write_codec": "PCMU",
"variable_write_rate": "8000",
"variable_call_uuid": "6ca677a4-c488-11e1-a947-cf9911a69d1e",
"variable_RFC2822_DATE": "Mon, 02 Jul 2012 21:56:41 +0100",
"variable_export_vars": "RFC2822_DATE",
"variable_sip_local_sdp_str": "v=0\no=FreeSWITCH 1341232343 1341232344 IN IP4 192.168.1.74\ns=FreeSWITCH\nc=IN IP4 192.168.1.74\nt=0 0\nm=audio 30258 RTP/AVP 0 101\na=rtpmap:0 PCMU/8000\na=rtpmap:101 telephone-event/8000\na=fmtp:101 0-16\na=silenceSupp:off - - - -\na=ptime:30\na=sendrecv\n",
"variable_local_media_ip": "192.168.1.74",
"variable_local_media_port": "30258",
"variable_advertised_media_ip": "192.168.1.74",
"variable_sip_use_pt": "0",
"variable_rtp_use_ssrc": "831616082",
"variab le_sip_2833_send_payload": "101",
"variable_sip_2833_recv_payload": "101",
"variable_remote_media_ip": "192.168.1.74",
"variable_remote_media_port": "18766",
"variable_endpoint_disposition": "ANSWER",
"variable_sip_to_tag": "7pUKB5pcZrZHN",
"variable_sip_from_tag": "245139696",
"variable_sip_cseq": "33",
"variable_sip_call_id": "1193962672@127.0.0.1",
"variable_sip_full_via": "SIP/2.0/UDP 192.168.1.74:55791;rport=55791;branch=z9hG4bK25955250",
"variable_sip_full_from": "<sip:1000@127.0.0.1>;tag=245139696",
"variable_sip_full_to": "<sip:10@127.0.0.1>;tag=7pUKB5pcZrZHN",
"variable_sip_h_X-Broken-PTIME": "Adv=30;Sent=20",
"variable_sip_use_codec_name": "PCMU",
"variable_sip_use_codec_rate": "8000",
"variable_sip_use_codec_ptime": "20",
"variable_current_application_data": "voicemail/vm-goodbye.wav",
"variable_current_application": "playback",
"variable_playback_seconds": "0",
"variable_playback_ms": "472",
"variable_playback_samples": "3781",
"variable_current_application_response": "FILE PLAYED",
"Application": "playback",
"Application-Data": "voicemail/vm-goodbye.wav",
"Application-Response": "FILE PLAYED"
}Content-Length: 690
Content-Type: text/event-json
{
"Event-Name": "SOCKET_DATA",
"Core-UUID": "c26be8e2-c1fc-11e1-a7bd-cf9911a69d1e",
"FreeSWITCH-Hostname": "blmbp.home",
"FreeSWITCH-Switchname": "blmbp.home",
"FreeSWITCH-IPv4": "192.168.1.74",
"FreeSWITCH-IPv6": "::1",
"Event-Date-Local": "2012-07-02 21:56:43",
"Event-Date-GMT": "Mon, 02 Jul 2012 20:56:43 GMT",
"Event-Date-Timestamp": "1341262603918746",
"Event-Calling-File": "mod_event_socket.c",
"Event-Calling-Function": "read_packet",
"Event-Calling-Line-Number": "1188",
"Event-Sequence": "21615",
"Command": "SendMsg 6ca677a4-c488-11e1-a947-cf9911a69d1e",
"call-command": "execute",
"execute-app-name": "playback",
"execute-app-arg": "voicemail/vm-goodbye.wav"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment