Advertisement
Guest User

Untitled

a guest
Feb 14th, 2012
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 14.48 KB | None | 0 0
  1. 2012-02-13 05:51:43,512 plivo-outbound[1279]: INFO: (10) New request from ('127.0.0.1', 40452)
  2. 2012-02-13 05:51:43,513 plivo-outbound[1279]: DEBUG: (10) Execute: connect args=''
  3. 2012-02-13 05:51:43,515 plivo-outbound[1279]: DEBUG: (10) Response: <CommandResponse headers={'variable_sip_use_codec_rate': '8000', 'Channel-Channel-Progress-Media-Time': '1329141093556007', 'variable_sip_use_codec_ptime': '20', 'Caller-Screen-Bit': 'true', 'variable_is_outbound': 'true', 'Call-Direction': 'outbound', 'Channel-Read-Codec-Bit-Rate': '64000', 'Event-Calling-Line-Number': '1870', 'variable_sip_req_uri': 'MY_MOBILE_NUMBER@MY_PROVIDER', 'variable_sip_full_from': '"" <sip:MY_USERNAME@MY_PROVIDER;transport=udp>;tag=H94g5t4v543vH', 'Reply-Text': '+OK\n', 'variable_call_uuid': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'variable_sip_contact_uri': 'MY_MOBILE_NUMBER@87.236.147.155:5060', 'variable_sip_from_params': 'transport=udp', 'Channel-Channel-Created-Time': '1329141092355906', 'Event-Date-GMT': 'Mon, 13 Feb 2012 13:51:43 GMT', 'Event-Date-Timestamp': '1329141103496185', 'Event-Name': 'CHANNEL_DATA', 'FreeSWITCH-Switchname': 'ubuntu', 'Unique-ID': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'variable_originate_early_media': 'false', 'Control': 'full', 'Caller-Caller-ID-Number': 'MY_MOBILE_NUMBER', 'variable_channel_name': 'sofia/external/MY_MOBILE_NUMBER', 'Caller-Privacy-Hide-Number': 'false', 'variable_sip_audio_recv_pt': '8', 'variable_sip_recover_via': 'SIP/2.0/UDP 192.168.109.129:5080;received=MY_EXTERNAL_IP_ADDRESS;rport=56825;branch=z9hG4bKj9yXp88ajvDHc', 'Channel-Write-Codec-Bit-Rate': '64000', 'Content-Type': 'command/reply', 'Channel-Write-Codec-Rate': '8000', 'variable_sip_to_user': 'MY_MOBILE_NUMBER', 'Event-Date-Local': '2012-02-13 05:51:43', 'Channel-Channel-Answered-Time': '1329141103496185', 'Event-Calling-Function': 'parse_command', 'variable_socket_host': '127.0.0.1', 'Caller-Destination-Number': 'MY_MOBILE_NUMBER', 'variable_sip_local_sdp_str': 'v=0\no=FreeSWITCH 1329121128 1329121129 IN IP4 192.168.109.129\ns=FreeSWITCH\nc=IN IP4 192.168.109.129\nt=0 0\nm=audio 19964 RTP/AVP 8 101 13\na=rtpmap:101 telephone-event/8000\na=fmtp:101 0-16\na=ptime:20\na=sendrecv\n', 'Caller-Profile-Index': '1', 'Channel-State': 'CS_EXECUTE', 'variable_plivo_to': 'MY_MOBILE_NUMBER', 'variable_plivo_app': 'true', 'variable_sip_contact_port': '5060', 'Caller-Caller-ID-Name': 'Outbound Call', 'Core-UUID': '3720bb4e-5633-11e1-8245-a7c4fb29d10e', 'Caller-Profile-Created-Time': '1329141092355906', 'variable_sip_call_id': 'ad89dc23-d0ec-122f-4abb-000c29c62a3d', 'variable_plivo_from': '8888888888', 'Caller-Channel-Answered-Time': '1329141103496185', 'variable_switch_r_sdp': 'v=0\r\no=root 322 323 IN IP4 MY_PROVIDER\r\ns=session\r\nc=IN IP4 MY_PROVIDER\r\nt=0 0\r\nm=audio 52152 RTP/AVP 8 101\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=silenceSupp:off - - - -\r\na=ptime:20\r\na=nortpproxy:yes\r\n', 'Answer-State': 'answered', 'Caller-Privacy-Hide-Name': 'false', 'variable_plivo_answer_url': 'http://192.168.109.129:8008/api/v1/answercall/', 'variable_remote_media_ip': 'MY_PROVIDER', 'variable_write_codec': 'PCMA', 'Caller-Context': 'default', 'variable_sip_to_uri': 'MY_MOBILE_NUMBER@MY_PROVIDER', 'variable_sip_reply_port': '5060', 'variable_read_codec': 'PCMA', 'Channel-Channel-Progress-Time': '0', 'Caller-Channel-Created-Time': '1329141092355906', 'variable_endpoint_disposition': 'ANSWER', 'Channel-Context': 'default', 'variable_sip_2833_send_payload': '101', 'Channel-Channel-Transfer-Time': '0', 'variable_sip_from_uri': 'MY_USERNAME@MY_PROVIDER', 'Channel-Channel-Hangup-Time': '0', 'Event-Sequence': '2440', 'Caller-Channel-Progress-Media-Time': '1329141093556007', 'variable_sip_from_tag': 'H94g5t4v543vH', 'variable_sip_full_via': 'SIP/2.0/UDP 192.168.109.129:5080;received=MY_EXTERNAL_IP_ADDRESS;rport=56825;branch=z9hG4bKj9yXp88ajvDHc', 'Channel-Read-Codec-Rate': '8000', 'Channel-Profile-Index': '1', 'Channel-Direction': 'outbound', 'variable_sip_recover_contact': '<sip:MY_MOBILE_NUMBER@87.236.147.155:5060>', 'Channel-Name': 'sofia/external/MY_MOBILE_NUMBER', 'variable_sip_reply_host': 'MY_PROVIDER', 'variable_sofia_profile_name': 'external', 'variable_hangup_after_bridge': 'true', 'variable_current_application_data': '127.0.0.1:8084 async full', 'Channel-Privacy-Hide-Name': 'false', 'Channel-State-Number': '4', 'variable_advertised_media_ip': '192.168.109.129', 'variable_sip_destination_url': 'sip:MY_MOBILE_NUMBER@MY_PROVIDER', 'Channel-Call-UUID': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'variable_bridge_early_media': 'true', 'Channel-Caller-ID-Name': 'Outbound Call', 'variable_absolute_codec_string': 'PCMA', 'variable_local_media_ip': '192.168.109.129', 'variable_rtp_use_ssrc': '1305766736', 'Caller-Source': 'src/switch_ivr_originate.c', 'variable_sip_network_ip': 'MY_PROVIDER', 'Caller-Channel-Name': 'sofia/external/MY_MOBILE_NUMBER', 'FreeSWITCH-IPv4': '127.0.0.1', 'FreeSWITCH-IPv6': '::1', 'Channel-Network-Addr': 'MY_PROVIDER', 'variable_sip_full_to': '<sip:MY_MOBILE_NUMBER@MY_PROVIDER>;tag=as46937d32', 'Channel-HIT-Dialplan': 'true', 'variable_local_media_port': '19964', 'variable_sip_gateway_name': 'MY_PROVIDER', 'variable_originate_timeout': '1800', 'variable_current_application': 'socket', 'variable_sip_profile_name': 'gateway', 'Event-Calling-File': 'mod_event_socket.c', 'Channel-Destination-Number': 'MY_MOBILE_NUMBER', 'variable_remote_media_port': '52152', 'Channel-Write-Codec-Name': 'PCMA', 'variable_sip_invite_record_route': '<sip:MY_PROVIDER;lr=on>', 'variable_sip_from_user': 'MY_USERNAME', 'Channel-Source': 'src/switch_ivr_originate.c', 'Channel-Profile-Created-Time': '1329141092355906', 'variable_sip_network_port': '5060', 'Caller-Unique-ID': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'variable_sip_user_agent': 'MY_PROVIDER Switch', 'Channel-Screen-Bit': 'true', 'variable_origination_caller_id_number': '8888888888', 'Presence-Call-Direction': 'outbound', 'variable_sip_to_host': 'MY_PROVIDER', 'Channel-Read-Codec-Name': 'PCMA', 'variable_write_rate': '8000', 'variable_sip_contact_user': 'MY_MOBILE_NUMBER', 'variable_sip_contact_host': '87.236.147.155', 'variable_pre_transfer_caller_id_number': '8888888888', 'variable_sip_local_network_addr': '192.168.109.129', 'variable_plivo_request_uuid': 'd62b326c-5649-11e1-a4f0-000c29c62a3d', 'variable_sip_cseq': '24234483', 'variable_read_rate': '8000', 'variable_sip_from_host': 'MY_PROVIDER', 'variable_sip_to_tag': 'as46937d32', 'Caller-Channel-Hangup-Time': '0', 'variable_sip_2833_recv_payload': '101', 'Channel-Caller-ID-Number': 'MY_MOBILE_NUMBER', 'Channel-Channel-Name': 'sofia/external/MY_MOBILE_NUMBER', 'variable_sip_use_pt': '8', 'Channel-Privacy-Hide-Number': 'false', 'Caller-Direction': 'outbound', 'variable_uuid': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'variable_direction': 'outbound', 'variable_sip_outgoing_contact_uri': '<sip:gw+MY_PROVIDER@192.168.109.129:5080;transport=udp;gw=MY_PROVIDER>', 'Caller-Network-Addr': 'MY_PROVIDER', 'variable_plivo_hangup_url': 'http://192.168.109.129:8008/api/v1/hangupcall/', 'Channel-Unique-ID': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'variable_ignore_early_media': 'true', 'Caller-Channel-Transfer-Time': '0', 'variable_session_id': '27', 'Socket-Mode': 'async', 'variable_sip_use_codec_name': 'PCMA', 'Caller-Channel-Progress-Time': '0', 'FreeSWITCH-Hostname': 'ubuntu', 'Channel-Call-State': 'ACTIVE'}, body=>
  4. 2012-02-13 05:51:43,515 plivo-outbound[1279]: DEBUG: (10) Execute: resume args=''
  5. 2012-02-13 05:51:43,516 plivo-outbound[1279]: DEBUG: (10) Response: <CommandResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK'}, body=>
  6. 2012-02-13 05:51:43,516 plivo-outbound[1279]: DEBUG: (10) Execute: linger args=''
  7. 2012-02-13 05:51:43,517 plivo-outbound[1279]: DEBUG: (10) Response: <CommandResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK will linger 0 seconds'}, body=>
  8. 2012-02-13 05:51:43,517 plivo-outbound[1279]: DEBUG: (10) Execute: myevents json args=''
  9. 2012-02-13 05:51:43,519 plivo-outbound[1279]: DEBUG: (10) Response: <CommandResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK Events Enabled'}, body=>
  10. 2012-02-13 05:51:43,519 plivo-outbound[1279]: DEBUG: (10) Execute: divert_events args='on'
  11. 2012-02-13 05:51:43,521 plivo-outbound[1279]: DEBUG: (10) Response: <CommandResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK events diverted'}, body=>
  12. 2012-02-13 05:51:43,521 plivo-outbound[1279]: DEBUG: (10) Execute: event json args='CUSTOM conference::maintenance plivo::dial'
  13. 2012-02-13 05:51:43,523 plivo-outbound[1279]: DEBUG: (10) Response: <CommandResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK event listener enabled json'}, body=>
  14. 2012-02-13 05:51:43,523 plivo-outbound[1279]: DEBUG: (10) Execute: set args=plivo_app=true, uuid='', lock=True, loops=1
  15. 2012-02-13 05:51:43,525 plivo-outbound[1279]: DEBUG: (10) Response: <CommandResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK'}, body=>
  16. 2012-02-13 05:51:43,525 plivo-outbound[1279]: DEBUG: (10) Execute: set args=hangup_after_bridge=false, uuid='', lock=True, loops=1
  17. 2012-02-13 05:51:43,526 plivo-outbound[1279]: DEBUG: (10) Response: <CommandResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK'}, body=>
  18. 2012-02-13 05:51:43,526 plivo-outbound[1279]: INFO: (10) Using AnswerUrl http://192.168.109.129:8008/api/v1/answercall/
  19. 2012-02-13 05:51:43,526 plivo-outbound[1279]: INFO: (10) Processing Call
  20. 2012-02-13 05:51:43,527 plivo-outbound[1279]: INFO: (10) Fetching RESTXML from http://192.168.109.129:8008/api/v1/answercall/
  21. 2012-02-13 05:51:43,527 plivo-outbound[1279]: INFO: (10) Fetching POST http://192.168.109.129:8008/api/v1/answercall/ with {'variable_waitmsec': '', 'variable_progress_mediamsec': '', 'variable_billmsec': '', 'variable_user_context': '', 'To': 'MY_MOBILE_NUMBER', 'variable_progressmsec': '', 'From': '8888888888', 'variable_plivo_app': 'true', 'CallStatus': 'in-progress', 'variable_mduration': '', 'Channel-Read-Codec-Bit-Rate': '64000', 'variable_call_uuid': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'variable_hangup_cause': '', 'variable_answersec': '', 'variable_plivo_answer_url': 'http://192.168.109.129:8008/api/v1/answercall/', 'variable_caller_id': '', 'CallerName': 'Outbound Call', 'Direction': 'outbound', 'variable_origination_caller_id_number': '8888888888', 'variable_direction': 'outbound', 'variable_answermsec': '', 'CallUUID': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'ALegRequestUUID': 'd62b326c-5649-11e1-a4f0-000c29c62a3d', 'variable_hangup_cause_q850': '', 'variable_progresssec': '', 'variable_answer_uepoch': '', 'ALegUUID': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'variable_answer_epoch': '', 'variable_waitsec': '', 'variable_billsec': '', 'variable_duration': '', 'variable_endpoint_disposition': 'ANSWER'}
  22. 2012-02-13 05:51:43,539 plivo-outbound[1279]: INFO: (10) Sent to POST http://192.168.109.129:8008/api/v1/answercall/ with {'variable_waitmsec': '', 'variable_progress_mediamsec': '', 'variable_billmsec': '', 'variable_user_context': '', 'To': 'MY_MOBILE_NUMBER', 'variable_progressmsec': '', 'From': '8888888888', 'variable_plivo_app': 'true', 'CallStatus': 'in-progress', 'variable_mduration': '', 'Channel-Read-Codec-Bit-Rate': '64000', 'variable_call_uuid': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'variable_hangup_cause': '', 'variable_answersec': '', 'variable_plivo_answer_url': 'http://192.168.109.129:8008/api/v1/answercall/', 'variable_caller_id': '', 'CallerName': 'Outbound Call', 'Direction': 'outbound', 'variable_origination_caller_id_number': '8888888888', 'variable_direction': 'outbound', 'variable_answermsec': '', 'CallUUID': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'ALegRequestUUID': 'd62b326c-5649-11e1-a4f0-000c29c62a3d', 'variable_hangup_cause_q850': '', 'variable_progresssec': '', 'variable_answer_uepoch': '', 'ALegUUID': 'd62b84ce-5649-11e1-82ad-a7c4fb29d10e', 'variable_answer_epoch': '', 'variable_waitsec': '', 'variable_billsec': '', 'variable_duration': '', 'variable_endpoint_disposition': 'ANSWER'} -- Result: <?xml version="1.0" encoding="utf-8"?>
  23. <Response><Play>http://192.168.109.129:8008/mediafiles/upload/audiofiles/audio-file-JLKVU-1425019998.wav</Play></Response>
  24. 2012-02-13 05:51:43,539 plivo-outbound[1279]: INFO: (10) Requested RESTXML to http://192.168.109.129:8008/api/v1/answercall/
  25. 2012-02-13 05:51:43,546 plivo-outbound[1279]: ERROR: (10) Cache Error !
  26. 2012-02-13 05:51:43,547 plivo-outbound[1279]: ERROR: (10) Cache Error: HTTP Error 404: NOT FOUND
  27. 2012-02-13 05:51:43,547 plivo-outbound[1279]: INFO: (10) [Play] http://192.168.109.129:8008/mediafiles/upload/audiofiles/audio-file-JLKVU-1425019998.wav {'loop': 1}
  28. 2012-02-13 05:51:43,547 plivo-outbound[1279]: DEBUG: (10) Playing 1 times
  29. 2012-02-13 05:51:43,547 plivo-outbound[1279]: DEBUG: (10) Execute: set args=playback_terminators=none, uuid='', lock=True, loops=1
  30. 2012-02-13 05:51:43,549 plivo-outbound[1279]: DEBUG: (10) Response: <CommandResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK'}, body=>
  31. 2012-02-13 05:51:43,549 plivo-outbound[1279]: DEBUG: (10) Execute: playback args=shout://192.168.109.129:8008/mediafiles/upload/audiofiles/audio-file-JLKVU-1425019998.wav, uuid='', lock=True, loops=1
  32. 2012-02-13 05:51:43,551 plivo-outbound[1279]: DEBUG: (10) Response: <CommandResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK'}, body=>
  33. 2012-02-13 05:51:44,059 plivo-outbound[1279]: DEBUG: (10) Play done (FILE PLAYED)
  34. 2012-02-13 05:51:44,059 plivo-outbound[1279]: INFO: (10) Play Finished
  35. 2012-02-13 05:51:44,059 plivo-outbound[1279]: INFO: (10) [Play] Done
  36. 2012-02-13 05:51:44,059 plivo-outbound[1279]: DEBUG: (10) Execute: api args='uuid_getvar d62b84ce-5649-11e1-82ad-a7c4fb29d10e plivo_transfer_progress'
  37. 2012-02-13 05:51:44,061 plivo-outbound[1279]: DEBUG: (10) Response: <ApiResponse headers={'Content-Length': '7', 'Content-Type': 'api/response'}, body=_undef_>
  38. 2012-02-13 05:51:44,061 plivo-outbound[1279]: INFO: (10) No more Elements, Hangup Now !
  39. 2012-02-13 05:51:44,061 plivo-outbound[1279]: DEBUG: (10) Execute: hangup args=, uuid='', lock=True, loops=1
  40. 2012-02-13 05:51:44,063 plivo-outbound[1279]: DEBUG: (10) Response: <CommandResponse headers={'Content-Type': 'command/reply', 'Reply-Text': '+OK'}, body=>
  41. 2012-02-13 05:51:44,063 plivo-outbound[1279]: INFO: (10) End of RESTXML
  42. 2012-02-13 05:51:44,063 plivo-outbound[1279]: INFO: (10) Processing Call Ended
  43. 2012-02-13 05:51:44,063 plivo-outbound[1279]: DEBUG: (10) Releasing Connection ...
  44. 2012-02-13 05:51:44,063 plivo-outbound[1279]: DEBUG: (10) Releasing Connection Done
  45. 2012-02-13 05:51:44,063 plivo-outbound[1279]: INFO: (10) End request from ('127.0.0.1', 40452)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement