Advertisement
Guest User

PT beta 1 server

a guest
Nov 6th, 2017
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 306.17 KB | None | 0 0
  1. 2017-11-06 16:44:59,135-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 16:44:59,135-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 16:45:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:46:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:47:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:48:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:49:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:49:59,139-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 16:49:59,140-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 16:50:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:51:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:52:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:53:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:54:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:54:59,151-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 16:54:59,153-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 16:55:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:56:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:56:28,562-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 16:56:28,575-outbound_socket-INFO : Successfully new InboundCall [Outbound Socket](connection) created 2017-11-06 16:56:28,575-outbound_socket-INFO : Call Information Outbound Socket: From nobody Mon Nov 6 16:56:28 2017 Event-Name: CHANNEL_DATA Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: ::1 Event-Date-Local: 2017-11-06 16:56:28 Event-Date-GMT: Mon, 06 Nov 2017 16:56:28 GMT Event-Date-Timestamp: 1509987388541553 Event-Calling-File: mod_event_socket.c Event-Calling-Function: parse_command Event-Calling-Line-Number: 1996 Event-Sequence: 330862 Channel-Direction: inbound Channel-Logical-Direction: inbound Channel-Username: +12013421729 Channel-Dialplan: XML Channel-Caller-ID-Name: +12013421729 Channel-Caller-ID-Number: +12013421729 Channel-Orig-Caller-ID-Name: +12013421729 Channel-Orig-Caller-ID-Number: +12013421729 Channel-Network-Addr: 52.53.248.193 Channel-ANI: +12013421729 Channel-Destination-Number: 15012229085 Channel-Unique-ID: 18f62fe5-02c5-4760-8e7f-aeced93600b4 Channel-Source: mod_sofia Channel-Context: public Channel-Channel-Name: sofia/external/+12013421729@108.168.235.227 Channel-Profile-Index: 1 Channel-Profile-Created-Time: 1509987387521542 Channel-Channel-Created-Time: 1509987387521542 Channel-Channel-Answered-Time: 1509987387521542 Channel-Channel-Progress-Time: 0 Channel-Channel-Progress-Media-Time: 1509987387521542 Channel-Channel-Hangup-Time: 0 Channel-Channel-Transfer-Time: 0 Channel-Channel-Resurrect-Time: 0 Channel-Channel-Bridged-Time: 0 Channel-Channel-Last-Hold: 0 Channel-Channel-Hold-Accum: 0 Channel-Screen-Bit: true Channel-Privacy-Hide-Name: false Channel-Privacy-Hide-Number: false Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/+12013421729@108.168.235.227 Unique-ID: 18f62fe5-02c5-4760-8e7f-aeced93600b4 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: 18f62fe5-02c5-4760-8e7f-aeced93600b4 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-Logical-Direction: inbound Caller-Username: +12013421729 Caller-Dialplan: XML Caller-Caller-ID-Name: +12013421729 Caller-Caller-ID-Number: +12013421729 Caller-Orig-Caller-ID-Name: +12013421729 Caller-Orig-Caller-ID-Number: +12013421729 Caller-Network-Addr: 52.53.248.193 Caller-ANI: +12013421729 Caller-Destination-Number: 15012229085 Caller-Unique-ID: 18f62fe5-02c5-4760-8e7f-aeced93600b4 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/+12013421729@108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509987387521542 Caller-Channel-Created-Time: 1509987387521542 Caller-Channel-Answered-Time: 1509987387521542 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509987387521542 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 18f62fe5-02c5-4760-8e7f-aeced93600b4 variable_session_id: 24 variable_sip_from_user: +12013421729 variable_sip_from_uri: +12013421729@108.168.235.227 variable_sip_from_host: 108.168.235.227 variable_video_media_flow: sendrecv variable_channel_name: sofia/external/+12013421729@108.168.235.227 variable_ep_codec_string: CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b variable_sip_local_network_addr: 54.183.67.223 variable_sip_network_ip: 52.53.248.193 variable_sip_network_port: 5060 variable_sip_received_ip: 52.53.248.193 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_from_user_stripped: 12013421729 variable_sofia_profile_name: external variable_recovery_profile_name: external variable_sip_P-Asserted-Identity: +12013421729 variable_sip_cid_type: pid variable_sip_invite_route_uri: <sip:52.53.248.193;lr;ftag=3m6avctj5peUp;did=2fd.8f91>,<sip:108.168.235.227;lr;ftag=3m6avctj5peUp;did=2fd.3ff951c1> variable_sip_invite_record_route: <sip:108.168.235.227;lr;ftag=3m6avctj5peUp;did=2fd.3ff951c1>,<sip:52.53.248.193;lr;ftag=3m6avctj5peUp;did=2fd.8f91> variable_sip_allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY variable_sip_req_user: 15012229085 variable_sip_req_uri: 15012229085@52.53.248.193 variable_sip_req_host: 52.53.248.193 variable_sip_to_user: 0015012229085 variable_sip_to_uri: 0015012229085@52.53.248.193 variable_sip_to_host: 52.53.248.193 variable_sip_contact_user: A1SIP variable_sip_contact_port: 5080 variable_sip_contact_uri: A1SIP@108.168.235.227:5080 variable_sip_contact_host: 108.168.235.227 variable_sip_user_agent: A1SIP variable_sip_via_host: 52.53.248.193 variable_sip_via_port: 5060 variable_max_forwards: 62 variable_sip_Privacy: none variable_sip_h_Diversion: <sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off variable_switch_r_sdp: v=0 o=A1SIP 1509970613 1509970614 IN IP4 108.168.235.227 s=A1SIP c=IN IP4 108.168.235.227 t=0 0 m=audio 16702 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 variable_DP_MATCH: ARRAY::15012229085|:15012229085 variable_call_uuid: 18f62fe5-02c5-4760-8e7f-aeced93600b4 variable_outside_call: true variable_RFC2822_DATE: Mon, 06 Nov 2017 16:56:27 +0000 variable_export_vars: RFC2822_DATE variable_audio_media_flow: sendrecv variable_rtp_use_codec_string: OPUS,G722,PCMU,PCMA,VP8 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU@8000h@20i@1c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_local_media_ip: 172.31.11.59 variable_local_media_port: 17540 variable_advertised_media_ip: 54.183.67.223 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 0 variable_rtp_use_ssrc: 1241815131 variable_rtp_2833_send_payload: 101 variable_rtp_2833_recv_payload: 101 variable_remote_media_ip: 108.168.235.227 variable_remote_media_port: 16702 variable_rtp_local_sdp_str: v=0 o=FreeSWITCH 1509969847 1509969848 IN IP4 54.183.67.223 s=FreeSWITCH c=IN IP4 54.183.67.223 t=0 0 m=audio 17540 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv variable_endpoint_disposition: ANSWER variable_sip_to_tag: 34Ke7BeFyt58j variable_sip_from_tag: 3m6avctj5peUp variable_sip_cseq: 114657593 variable_sip_call_id: 1a6e3b7e-3db6-1236-3a82-002590f03f92 variable_sip_full_via: SIP/2.0/UDP 52.53.248.193:5060;branch=z9hG4bKfaf2.a5043552426df6e4959213fdfe1aab9f.0,SIP/2.0/UDP 108.168.235.227:5060;rport=5060;branch=z9hG4bKfaf2.2ee09d76.2,SIP/2.0/UDP 108.168.235.227:5080;received=108.168.235.227;rport=5080;branch=z9hG4bKpXK3r74D5yceS variable_sip_from_display: +12013421729 variable_sip_full_from: "+12013421729" <sip:+12013421729@108.168.235.227>;tag=3m6avctj5peUp variable_sip_full_to: <sip:0015012229085@52.53.248.193>;tag=34Ke7BeFyt58j variable_current_application_data: 127.0.0.1:8808 async full variable_current_application: socket variable_socket_host: 127.0.0.1 Content-Type: command/reply Reply-Text: +OK Socket-Mode: async Control: full 2017-11-06 16:56:28,578-outbound_socket-DEBUG : UUID of newly created inbound channel 18f62fe5-02c5-4760-8e7f-aeced93600b4 2017-11-06 16:56:28,578-outbound_socket-DEBUG : Creating CALLOBJ for InboundCall with uuid: 18f62fe5-02c5-4760-8e7f-aeced93600b4 2017-11-06 16:56:28,579-call-DEBUG : Setting channel vars on call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,579-outbound_socket-INFO : CALLOBJ created for new inbound call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,579-Backend-INFO : Getting Susbcriber details for call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,580-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-subscriber data: {"subscriber": "12019707887"} 2017-11-06 16:56:28,580-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9028ef0> 2017-11-06 16:56:28,582-Backend-DEBUG : Sent data : {"subscriber": "12019707887"} 2017-11-06 16:56:28,608-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-subscriber 2017-11-06 16:56:28,608-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 16:56:28,609-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 16:56:28,609-Backend-DEBUG : Response Received: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 16:56:28,609-outbound_socket-DEBUG : Got subscriber result: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 16:56:28,609-Backend-INFO : Getting VM Preferences for call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,609-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-vm-preferences data: {"agent_number": "12019707887"} 2017-11-06 16:56:28,609-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c57e8> 2017-11-06 16:56:28,610-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9028ef0> 2017-11-06 16:56:28,610-Backend-DEBUG : Sent data : {"agent_number": "12019707887"} 2017-11-06 16:56:28,622-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-vm-preferences 2017-11-06 16:56:28,622-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 16:56:28,622-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 16:56:28,623-Backend-DEBUG : Response Received: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 16:56:28,623-outbound_socket-INFO : Voicemial preferences received from backend: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 16:56:28,623-outbound_socket-DEBUG : Starting Process for voicemail preference change. 2017-11-06 16:56:28,623-call-DEBUG : Deleting VM Preferences. Executing Query : DELETE FROM voicemail_prefs WHERE username = '12019707887' 2017-11-06 16:56:28,623-txDB-DEBUG : Running query - ("\n DELETE FROM voicemail_prefs\n WHERE username = '12019707887'\n ",) 2017-11-06 16:56:28,623-outbound_socket-DEBUG : Starting IVR for the call <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,623-ivr-INFO : Starting IVR .. .. .. 2017-11-06 16:56:28,623-ivr-DEBUG : LRN LookUp: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013421729&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25 2017-11-06 16:56:28,624-PT-INFO : Starting factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013421729&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 16:56:28,624-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c57e8> 2017-11-06 16:56:28,624-txDB-DEBUG : Reconnecting MySQL ..... 2017-11-06 16:56:28,627-call-DEBUG : Query Result : () 2017-11-06 16:56:28,883-ivr-DEBUG : LRN Result: {u'CITY': u'HACKENSACK', u'LEC': u'VERIZON NEW JERSEY, INC.', u'LINETYPE': u'LANDLINE', u'DNC': None, u'OCN': u'9206', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12013421729', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 16:56:28,884-ivr-INFO : Success lookup LRN for call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808>. LRN Result: {u'CITY': u'HACKENSACK', u'LEC': u'VERIZON NEW JERSEY, INC.', u'LINETYPE': u'LANDLINE', u'DNC': None, u'OCN': u'9206', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12013421729', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 16:56:28,884-Backend-INFO : Getting Contact Info for call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,884-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-contact data: {"caller": "12013421729", "callee": "12019707887"} 2017-11-06 16:56:28,884-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bffc8> 2017-11-06 16:56:28,884-PT-INFO : Stopping factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013421729&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 16:56:28,885-Backend-DEBUG : Sent data : {"caller": "12013421729", "callee": "12019707887"} 2017-11-06 16:56:28,915-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-contact 2017-11-06 16:56:28,915-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 16:56:28,916-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 16:56:28,916-Backend-DEBUG : Response Received: {u'code': 200, u'substitutes': {}, u'contact_id': u'xJQhXeVG', u's_in_callee': {u'color': u'#cceeff', u'p_type': True, u'id': 391600, u'phone_label': u'home', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'12013421729', u'is_mobile': False, u'fname': u'Office', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'2013421729', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'xJQhXeVG', u'notes': u'', u'row_cid': u'49AF78E1-E398-455D-A037-4A3987A41657', u'loc_cid': u'61AA1372-7A9B-4676-A95A-AD5303589C94', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'} 2017-11-06 16:56:28,916-ivr-INFO : Contact information received for call {u'code': 200, u'substitutes': {}, u'contact_id': u'xJQhXeVG', u's_in_callee': {u'color': u'#cceeff', u'p_type': True, u'id': 391600, u'phone_label': u'home', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'12013421729', u'is_mobile': False, u'fname': u'Office', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'2013421729', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'xJQhXeVG', u'notes': u'', u'row_cid': u'49AF78E1-E398-455D-A037-4A3987A41657', u'loc_cid': u'61AA1372-7A9B-4676-A95A-AD5303589C94', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'}: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,916-ivr-INFO : Choosing IVR .. .. .. 2017-11-06 16:56:28,916-ivr-DEBUG : Getting LRN of caller: 12013421729 2017-11-06 16:56:28,917-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"called_number": "12019707887", "contact_id": "xJQhXeVG", "Line-Type": "LANDLINE", "agent_number": "12019707887", "timestamp": 1509987388.916808, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12013421729", "diversion": "<sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off", "is_mobile": false, "chat_id": null, "is_international_caller": true, "call_uuid": "18f62fe5-02c5-4760-8e7f-aeced93600b4", "vm_number": "15012229085", "caller_id_number": "12013421729", "contact_name": "Office "} 2017-11-06 16:56:28,917-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x8ffbd88> 2017-11-06 16:56:28,917-ivr-DEBUG : Check Caller has return relationship or not. 2017-11-06 16:56:28,918-ivr-INFO : LandLine Caller. Starting LandLine IVR 2017-11-06 16:56:28,918-ivr-INFO : Check custom greetings available against caller or not. 2017-11-06 16:56:28,918-ivr-DEBUG : Play Default VM file : pt_sounds/default_vm_greeting.wav 2017-11-06 16:56:28,918-ivr-DEBUG : Playing brand sound on call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,918-ivr-INFO : Starting LandLine IVR: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,919-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bffc8> 2017-11-06 16:56:28,920-ivr-DEBUG : Successfully executed IVR: PT_LANDLINE on Call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,920-Backend-DEBUG : Sent data : {"called_number": "12019707887", "contact_id": "xJQhXeVG", "Line-Type": "LANDLINE", "agent_number": "12019707887", "timestamp": 1509987388.916808, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12013421729", "diversion": "<sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off", "is_mobile": false, "chat_id": null, "is_international_caller": true, "call_uuid": "18f62fe5-02c5-4760-8e7f-aeced93600b4", "vm_number": "15012229085", "caller_id_number": "12013421729", "contact_name": "Office "} 2017-11-06 16:56:28,934-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 16:56:28,934-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 16:56:28,934-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 16:56:28,934-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 16:56:28,935-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x8ffbd88> 2017-11-06 16:56:28,943-ivr-INFO : IVR completed on call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,943-ivr-DEBUG : HangingUp call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,945-ivr-INFO : IVR completed on call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:28,946-ivr-DEBUG : HangingUp call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:29,893-ivr-INFO : IVR completed on call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:29,893-ivr-DEBUG : HangingUp call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:31,906-ivr-DEBUG : EVENT EVENT EVENT MENU_ACTION From nobody Mon Nov 6 16:56:31 2017 Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2017-11-06%2016%3A56%3A31 Event-Date-GMT: Mon,%2006%20Nov%202017%2016%3A56%3A31%20GMT Event-Date-Timestamp: 1509987391901514 Event-Calling-File: mod_dptools.c Event-Calling-Function: event_function Event-Calling-Line-Number: 1758 Event-Sequence: 330891 Event-Name: MENU_ACTION action: voicemailSelected Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/%2B12013421729%40108.168.235.227 Unique-ID: 18f62fe5-02c5-4760-8e7f-aeced93600b4 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: 18f62fe5-02c5-4760-8e7f-aeced93600b4 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-Logical-Direction: inbound Caller-Username: %2B12013421729 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B12013421729 Caller-Caller-ID-Number: %2B12013421729 Caller-Orig-Caller-ID-Name: %2B12013421729 Caller-Orig-Caller-ID-Number: %2B12013421729 Caller-Network-Addr: 52.53.248.193 Caller-ANI: %2B12013421729 Caller-Destination-Number: 15012229085 Caller-Unique-ID: 18f62fe5-02c5-4760-8e7f-aeced93600b4 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/%2B12013421729%40108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509987387521542 Caller-Channel-Created-Time: 1509987387521542 Caller-Channel-Answered-Time: 1509987387521542 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509987387521542 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false 2017-11-06 16:56:31,907-ivr-DEBUG : User selected voicemail on call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:31,908-ivr-INFO : IVR completed on call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:31,909-ivr-DEBUG : HangingUp call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:31,912-curlcore-DEBUG : Processed switch_request <Request at 0x90b84d0 method=POST uri=/ clientproto=HTTP/1.1>, None 2017-11-06 16:56:31,912-curlcore-DEBUG : Handling Directory section xml curl. Request args: {'domain': 'beta.tendant.com', 'Event-Date-Local': '2017-11-06 16:56:31', 'ip': '52.53.248.193', 'Event-Calling-Function': 'voicemail_leave_main', 'Event-Date-GMT': 'Mon, 06 Nov 2017 16:56:31 GMT', 'Event-Calling-Line-Number': '3422', 'section': 'directory', 'hostname': 'ip-172-31-11-59.us-west-1.compute.internal', 'key_name': 'name', 'key_value': 'beta.tendant.com', 'Event-Sequence': '330894', 'Event-Date-Timestamp': '1509987391901514', 'Event-Name': 'REQUEST_PARAMS', 'FreeSWITCH-Switchname': 'ip-172-31-11-59.us-west-1.compute.internal', 'user': '12019707887', 'key': 'id', 'FreeSWITCH-IPv4': '172.31.11.59', 'FreeSWITCH-IPv6': '::1', 'tag_name': 'domain', 'FreeSWITCH-Hostname': 'ip-172-31-11-59.us-west-1.compute.internal', 'action': 'voicemail-lookup', 'Event-Calling-File': 'mod_voicemail.c', 'Core-UUID': '3aa590bb-ee6f-4da8-8ef6-1aed409c64ac'} 2017-11-06 16:56:31,912-curlcore-INFO : result xml : <document type='freeswitch/xml'> <section name='directory'> <domain name='beta.tendant.com'> <user id='12019707887' cacheable='false'> <params> <param name='password' value=''/> </params> <variables> <variable name="user_context" value="phone_thingee"/> <param name="vm-domain-storage-dir" value="/mnt/voicemail/beta.tendant.com"/> </variables> </user> </domain> </section> </document> 2017-11-06 16:56:31,913-PT-INFO : "127.0.0.1" - - [06/Nov/2017:16:56:31 +0000] "POST / HTTP/1.1" 200 531 "-" "freeswitch-xml/1.0" 2017-11-06 16:56:47,814-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 16:56:47,814-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 16:56:47,815-outbound_socket-INFO : Outbound socket connection closed for call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:47,815-PySWITCH-INFO : Cleaning up 2017-11-06 16:56:47,877-inbound_socket-INFO : Channel hangup event with uuid 18f62fe5-02c5-4760-8e7f-aeced93600b4 2017-11-06 16:56:47,877-inbound_socket-DEBUG : Popping callobj with uuid 18f62fe5-02c5-4760-8e7f-aeced93600b4 2017-11-06 16:56:47,877-inbound_socket-INFO : Going to process voicemail from inbound socket 2017-11-06 16:56:47,877-ivr-DEBUG : Processing voicemail for call: <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808> 2017-11-06 16:56:47,877-ivr-DEBUG : Requsting voicemail message details with FS API command: vm_fsdb_msg_get JSON default beta.tendant.com 12019707887 18f62fe5-02c5-4760-8e7f-aeced93600b4 2017-11-06 16:56:47,877-ivr-DEBUG : Outbound_voicemail_processed_status : False and inbound_voicemail_processed_status : True 2017-11-06 16:56:47,879-ivr-INFO : Successfully fetched the voicemail message(vm_fsdb_msg_get) for call <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808>. Result: From nobody Mon Nov 6 16:56:47 2017 Content-Type: api/response Content-Length: 1003 {"Event-Name":"REQUEST_PARAMS","Core-UUID":"3aa590bb-ee6f-4da8-8ef6-1aed409c64ac","FreeSWITCH-Hostname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-Switchname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-IPv4":"172.31.11.59","FreeSWITCH-IPv6":"::1","Event-Date-Local":"2017-11-06 16:56:47","Event-Date-GMT":"Mon, 06 Nov 2017 16:56:47 GMT","Event-Date-Timestamp":"1509987407841540","Event-Calling-File":"mod_voicemail.c","Event-Calling-Function":"vm_fsdb_msg_get_function","Event-Calling-Line-Number":"5955","Event-Sequence":"330930","VM-Message-Received-Epoch":"1509987407","VM-Message-Read-Epoch":"0","VM-Message-UUID":"18f62fe5-02c5-4760-8e7f-aeced93600b4","VM-Message-Caller-Name":"+12013421729","VM-Message-Caller-Number":"+12013421729","VM-Message-Folder":"inbox","VM-Message-File-Path":"/usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_0c645fcd-c03c-4607-94a6-a752abb746fc.wav","VM-Message-Duration":"8","VM-Message-Read-Flags":"B_NORMAL"} 2017-11-06 16:56:47,880-ivr-INFO : Absolute File path of voicemial store for call <Inbound Call 18f62fe5-02c5-4760-8e7f-aeced93600b4 at 151665808>: /usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_0c645fcd-c03c-4607-94a6-a752abb746fc.wav 2017-11-06 16:56:48,025-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x901b9e0> 2017-11-06 16:56:49,862-ivr-DEBUG : Speech response received. 2017-11-06 16:56:49,862-ivr-INFO : Speech response : {u'results': [{u'alternatives': [{u'confidence': 0.72169626, u'transcript': u'This is a voicemail leaving a voicemail. Thank you for the voicemail. Bye.'}]}]} 2017-11-06 16:56:49,862-ivr-DEBUG : Request received for send voicemail event. 2017-11-06 16:56:49,863-Backend-DEBUG : Sending EVENT VOICEMAIL request to backend - {'voicemail_number': '15012229085', 'timestamp': 1509987409.0, 'call_uuid': '18f62fe5-02c5-4760-8e7f-aeced93600b4', 'caller_number': '12013421729', 'agent_number': '12019707887', 'caller_name': '+12013421729', 'chat_id': None, 'contact_name': u'Office ', 'Event-Name': 'VOICEMAIL', 'transcribed_msg': u'This is a voicemail leaving a voicemail. Thank you for the voicemail. Bye.', 'contact_id': u'xJQhXeVG', 'is_mobile': False, 'is_international_caller': True, 'vm_file': u'https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_0c645fcd-c03c-4607-94a6-a752abb746fc.wav', 'callee': '12019707887'} 2017-11-06 16:56:49,863-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"voicemail_number": "15012229085", "timestamp": 1509987409.0, "call_uuid": "18f62fe5-02c5-4760-8e7f-aeced93600b4", "caller_number": "12013421729", "agent_number": "12019707887", "caller_name": "+12013421729", "chat_id": null, "contact_name": "Office ", "Event-Name": "VOICEMAIL", "transcribed_msg": "This is a voicemail leaving a voicemail. Thank you for the voicemail. Bye.", "contact_id": "xJQhXeVG", "is_mobile": false, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_0c645fcd-c03c-4607-94a6-a752abb746fc.wav", "callee": "12019707887"} 2017-11-06 16:56:49,863-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bec68> 2017-11-06 16:56:49,864-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x901b9e0> 2017-11-06 16:56:49,864-Backend-DEBUG : Sent data : {"voicemail_number": "15012229085", "timestamp": 1509987409.0, "call_uuid": "18f62fe5-02c5-4760-8e7f-aeced93600b4", "caller_number": "12013421729", "agent_number": "12019707887", "caller_name": "+12013421729", "chat_id": null, "contact_name": "Office ", "Event-Name": "VOICEMAIL", "transcribed_msg": "This is a voicemail leaving a voicemail. Thank you for the voicemail. Bye.", "contact_id": "xJQhXeVG", "is_mobile": false, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_0c645fcd-c03c-4607-94a6-a752abb746fc.wav", "callee": "12019707887"} 2017-11-06 16:56:49,900-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 16:56:49,900-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 16:56:49,901-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 16:56:49,901-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 16:56:49,901-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bec68> 2017-11-06 16:57:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:57:54,662-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 16:57:54,675-outbound_socket-INFO : Successfully new InboundCall [Outbound Socket](connection) created 2017-11-06 16:57:54,675-outbound_socket-INFO : Call Information Outbound Socket: From nobody Mon Nov 6 16:57:54 2017 Event-Name: CHANNEL_DATA Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: ::1 Event-Date-Local: 2017-11-06 16:57:54 Event-Date-GMT: Mon, 06 Nov 2017 16:57:54 GMT Event-Date-Timestamp: 1509987474641535 Event-Calling-File: mod_event_socket.c Event-Calling-Function: parse_command Event-Calling-Line-Number: 1996 Event-Sequence: 330965 Channel-Direction: inbound Channel-Logical-Direction: inbound Channel-Username: +13129616005 Channel-Dialplan: XML Channel-Caller-ID-Name: +13129616005 Channel-Caller-ID-Number: +13129616005 Channel-Orig-Caller-ID-Name: +13129616005 Channel-Orig-Caller-ID-Number: +13129616005 Channel-Network-Addr: 52.53.248.193 Channel-ANI: +13129616005 Channel-Destination-Number: 15012229085 Channel-Unique-ID: 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 Channel-Source: mod_sofia Channel-Context: public Channel-Channel-Name: sofia/external/+13129616005@108.168.235.227 Channel-Profile-Index: 1 Channel-Profile-Created-Time: 1509987473601550 Channel-Channel-Created-Time: 1509987473601550 Channel-Channel-Answered-Time: 1509987473621550 Channel-Channel-Progress-Time: 0 Channel-Channel-Progress-Media-Time: 1509987473621550 Channel-Channel-Hangup-Time: 0 Channel-Channel-Transfer-Time: 0 Channel-Channel-Resurrect-Time: 0 Channel-Channel-Bridged-Time: 0 Channel-Channel-Last-Hold: 0 Channel-Channel-Hold-Accum: 0 Channel-Screen-Bit: true Channel-Privacy-Hide-Name: false Channel-Privacy-Hide-Number: false Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/+13129616005@108.168.235.227 Unique-ID: 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 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-Logical-Direction: inbound Caller-Username: +13129616005 Caller-Dialplan: XML Caller-Caller-ID-Name: +13129616005 Caller-Caller-ID-Number: +13129616005 Caller-Orig-Caller-ID-Name: +13129616005 Caller-Orig-Caller-ID-Number: +13129616005 Caller-Network-Addr: 52.53.248.193 Caller-ANI: +13129616005 Caller-Destination-Number: 15012229085 Caller-Unique-ID: 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/+13129616005@108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509987473601550 Caller-Channel-Created-Time: 1509987473601550 Caller-Channel-Answered-Time: 1509987473621550 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509987473621550 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 variable_session_id: 25 variable_sip_from_user: +13129616005 variable_sip_from_uri: +13129616005@108.168.235.227 variable_sip_from_host: 108.168.235.227 variable_video_media_flow: sendrecv variable_channel_name: sofia/external/+13129616005@108.168.235.227 variable_ep_codec_string: CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b variable_sip_local_network_addr: 54.183.67.223 variable_sip_network_ip: 52.53.248.193 variable_sip_network_port: 5060 variable_sip_received_ip: 52.53.248.193 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_from_user_stripped: 13129616005 variable_sofia_profile_name: external variable_recovery_profile_name: external variable_sip_P-Asserted-Identity: +13129616005 variable_sip_cid_type: pid variable_sip_invite_route_uri: <sip:52.53.248.193;lr;ftag=p061XetNe0Nyj;did=11.a2>,<sip:108.168.235.227;lr;ftag=p061XetNe0Nyj;did=11.cf473004> variable_sip_invite_record_route: <sip:108.168.235.227;lr;ftag=p061XetNe0Nyj;did=11.cf473004>,<sip:52.53.248.193;lr;ftag=p061XetNe0Nyj;did=11.a2> variable_sip_allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY variable_sip_req_user: 15012229085 variable_sip_req_uri: 15012229085@52.53.248.193 variable_sip_req_host: 52.53.248.193 variable_sip_to_user: 0015012229085 variable_sip_to_uri: 0015012229085@52.53.248.193 variable_sip_to_host: 52.53.248.193 variable_sip_contact_user: A1SIP variable_sip_contact_port: 5080 variable_sip_contact_uri: A1SIP@108.168.235.227:5080 variable_sip_contact_host: 108.168.235.227 variable_sip_user_agent: A1SIP variable_sip_via_host: 52.53.248.193 variable_sip_via_port: 5060 variable_max_forwards: 62 variable_sip_Privacy: none variable_sip_h_Diversion: <sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off variable_switch_r_sdp: v=0 o=A1SIP 1509958667 1509958668 IN IP4 108.168.235.227 s=A1SIP c=IN IP4 108.168.235.227 t=0 0 m=audio 28734 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 variable_DP_MATCH: ARRAY::15012229085|:15012229085 variable_call_uuid: 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 variable_outside_call: true variable_RFC2822_DATE: Mon, 06 Nov 2017 16:57:53 +0000 variable_export_vars: RFC2822_DATE variable_audio_media_flow: sendrecv variable_rtp_use_codec_string: OPUS,G722,PCMU,PCMA,VP8 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU@8000h@20i@1c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_local_media_ip: 172.31.11.59 variable_local_media_port: 17820 variable_advertised_media_ip: 54.183.67.223 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 0 variable_rtp_use_ssrc: 1241815217 variable_rtp_2833_send_payload: 101 variable_rtp_2833_recv_payload: 101 variable_remote_media_ip: 108.168.235.227 variable_remote_media_port: 28734 variable_rtp_local_sdp_str: v=0 o=FreeSWITCH 1509969653 1509969654 IN IP4 54.183.67.223 s=FreeSWITCH c=IN IP4 54.183.67.223 t=0 0 m=audio 17820 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv variable_endpoint_disposition: ANSWER variable_sip_to_tag: 4DD786yjU3UUe variable_sip_from_tag: p061XetNe0Nyj variable_sip_cseq: 114657636 variable_sip_call_id: 4dbd5dd1-3db6-1236-3a82-002590f03f92 variable_sip_full_via: SIP/2.0/UDP 52.53.248.193:5060;branch=z9hG4bKf1f9.d65f7bc36bc5494763455fcd251f559e.0,SIP/2.0/UDP 108.168.235.227:5060;rport=5060;branch=z9hG4bKf1f9.50b8b061.2,SIP/2.0/UDP 108.168.235.227:5080;received=108.168.235.227;rport=5080;branch=z9hG4bKajDKv4NmBHa4g variable_sip_from_display: +13129616005 variable_sip_full_from: "+13129616005" <sip:+13129616005@108.168.235.227>;tag=p061XetNe0Nyj variable_sip_full_to: <sip:0015012229085@52.53.248.193>;tag=4DD786yjU3UUe variable_current_application_data: 127.0.0.1:8808 async full variable_current_application: socket variable_socket_host: 127.0.0.1 Content-Type: command/reply Reply-Text: +OK Socket-Mode: async Control: full 2017-11-06 16:57:54,677-outbound_socket-DEBUG : UUID of newly created inbound channel 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 2017-11-06 16:57:54,677-outbound_socket-DEBUG : Creating CALLOBJ for InboundCall with uuid: 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 2017-11-06 16:57:54,678-call-DEBUG : Setting channel vars on call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,678-outbound_socket-INFO : CALLOBJ created for new inbound call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,678-Backend-INFO : Getting Susbcriber details for call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,678-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-subscriber data: {"subscriber": "12019707887"} 2017-11-06 16:57:54,679-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c55f0> 2017-11-06 16:57:54,681-Backend-DEBUG : Sent data : {"subscriber": "12019707887"} 2017-11-06 16:57:54,699-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-subscriber 2017-11-06 16:57:54,699-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 16:57:54,699-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 16:57:54,699-Backend-DEBUG : Response Received: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 16:57:54,699-outbound_socket-DEBUG : Got subscriber result: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 16:57:54,701-Backend-INFO : Getting VM Preferences for call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,701-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-vm-preferences data: {"agent_number": "12019707887"} 2017-11-06 16:57:54,701-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90ab290> 2017-11-06 16:57:54,702-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c55f0> 2017-11-06 16:57:54,708-Backend-DEBUG : Sent data : {"agent_number": "12019707887"} 2017-11-06 16:57:54,719-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-vm-preferences 2017-11-06 16:57:54,719-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 16:57:54,719-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 16:57:54,719-Backend-DEBUG : Response Received: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 16:57:54,719-outbound_socket-INFO : Voicemial preferences received from backend: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 16:57:54,720-outbound_socket-DEBUG : Starting Process for voicemail preference change. 2017-11-06 16:57:54,720-call-DEBUG : Deleting VM Preferences. Executing Query : DELETE FROM voicemail_prefs WHERE username = '12019707887' 2017-11-06 16:57:54,720-txDB-DEBUG : Running query - ("\n DELETE FROM voicemail_prefs\n WHERE username = '12019707887'\n ",) 2017-11-06 16:57:54,720-outbound_socket-DEBUG : Starting IVR for the call <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,720-ivr-INFO : Starting IVR .. .. .. 2017-11-06 16:57:54,720-ivr-DEBUG : LRN LookUp: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=13129616005&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25 2017-11-06 16:57:54,720-PT-INFO : Starting factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=13129616005&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 16:57:54,721-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90ab290> 2017-11-06 16:57:54,721-txDB-DEBUG : Reconnecting MySQL ..... 2017-11-06 16:57:54,722-PT-ERROR : Rollback failed Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/opt/PhoneThingee/core/txdbinterface.py", line 25, in _runInteraction return adbapi.ConnectionPool._runInteraction(self, interaction, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/enterprise/adbapi.py", line 455, in _runInteraction conn.rollback() --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/enterprise/adbapi.py", line 56, in rollback self._connection.rollback() _mysql_exceptions.OperationalError: (2006, 'MySQL server has gone away') 2017-11-06 16:57:54,722-PT-ERROR : Rollback failed Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/python/threadpool.py", line 196, in _worker result = context.call(ctx, function, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/opt/PhoneThingee/core/txdbinterface.py", line 25, in _runInteraction return adbapi.ConnectionPool._runInteraction(self, interaction, *args, **kw) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/enterprise/adbapi.py", line 455, in _runInteraction conn.rollback() File "/usr/lib64/python2.7/site-packages/twisted/enterprise/adbapi.py", line 70, in rollback raise ConnectionLost() twisted.enterprise.adbapi.ConnectionLost: 2017-11-06 16:57:54,722-txDB-DEBUG : Error while connecting MySQL ..... 2017-11-06 16:57:54,722-txDB-INFO : >>> Resetting DB pool... 2017-11-06 16:57:54,725-call-DEBUG : Query Result : () 2017-11-06 16:57:54,882-ivr-DEBUG : LRN Result: {u'CITY': u'CHICAGO', u'LEC': u'NEW CINGULAR WIRELESS PCS, LLC - IL', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6534', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'13129616005', u'STATE': u'IL', u'LATA': u'358', u'SPID': None} 2017-11-06 16:57:54,883-ivr-INFO : Success lookup LRN for call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800>. LRN Result: {u'CITY': u'CHICAGO', u'LEC': u'NEW CINGULAR WIRELESS PCS, LLC - IL', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6534', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'13129616005', u'STATE': u'IL', u'LATA': u'358', u'SPID': None} 2017-11-06 16:57:54,883-Backend-INFO : Getting Contact Info for call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,883-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-contact data: {"caller": "13129616005", "callee": "12019707887"} 2017-11-06 16:57:54,883-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c5b90> 2017-11-06 16:57:54,883-PT-INFO : Stopping factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=13129616005&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 16:57:54,884-Backend-DEBUG : Sent data : {"caller": "13129616005", "callee": "12019707887"} 2017-11-06 16:57:54,916-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-contact 2017-11-06 16:57:54,916-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 16:57:54,916-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 16:57:54,917-Backend-DEBUG : Response Received: {u'code': 200, u'substitutes': {}, u'contact_id': u'gdRXTiZO', u's_in_callee': {u'color': u'#8B0000', u'p_type': True, u'id': 391658, u'phone_label': u'home', u'ver_num': 1, u'p_is_register': True, u'lname': u'Ragbeer', u'int_num': u'13129616005', u'is_mobile': True, u'fname': u'Ranji', u'email': u'ranji@mobichat.com', u'img_local_path': None, u'e_is_register': False, u'phone': u'13129616005', u'agent_id': 1340, u'address': u"[{u'value': {u'city': u'Athens', u'ISOCountryCode': u'us', u'country': u'United States', u'state': u'GA', u'street': u'1301 Ranji Road ', u'postalCode': u'12877'}, u'label': u'home'}]", u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': u'work', u'cid': u'gdRXTiZO', u'notes': u'', u'row_cid': u'1AFCF57C-4418-4D77-966B-9026DFB9491F', u'loc_cid': u'D0E4AD2A-F6E0-4F5A-B867-325A56F07B62', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': True, u's_in_caller': {u'color': u'#acebf0', u'p_type': True, u'id': 167076, u'phone_label': u'MOBILE', u'ver_num': 1, u'p_is_register': True, u'lname': u'Petrie 201', u'int_num': u'12019707887', u'is_mobile': True, u'fname': u'Doug Petrie', u'email': u'dougpetrie@gmail.com', u'img_local_path': u'', u'e_is_register': False, u'phone': u'12019707887', u'agent_id': 1244, u'address': u"[{u'email': {u'postalCode': u'', u'country': u'us', u'state': u'', u'city': u'Greater New York City Area'}, u'label': u'WORK'}]", u'is_deleted': False, u'device_id': u'bbae7c7a07b011df', u'email_label': u'OTHER', u'cid': u'rfhfaKoH', u'notes': u'', u'row_cid': u'6411', u'loc_cid': u'2020', u'cname': u'MobiChat LLC', u'chat_id': None}, u'message': u'Operation Successful', u'type': u'+OK'} 2017-11-06 16:57:54,917-ivr-INFO : Contact information received for call {u'code': 200, u'substitutes': {}, u'contact_id': u'gdRXTiZO', u's_in_callee': {u'color': u'#8B0000', u'p_type': True, u'id': 391658, u'phone_label': u'home', u'ver_num': 1, u'p_is_register': True, u'lname': u'Ragbeer', u'int_num': u'13129616005', u'is_mobile': True, u'fname': u'Ranji', u'email': u'ranji@mobichat.com', u'img_local_path': None, u'e_is_register': False, u'phone': u'13129616005', u'agent_id': 1340, u'address': u"[{u'value': {u'city': u'Athens', u'ISOCountryCode': u'us', u'country': u'United States', u'state': u'GA', u'street': u'1301 Ranji Road ', u'postalCode': u'12877'}, u'label': u'home'}]", u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': u'work', u'cid': u'gdRXTiZO', u'notes': u'', u'row_cid': u'1AFCF57C-4418-4D77-966B-9026DFB9491F', u'loc_cid': u'D0E4AD2A-F6E0-4F5A-B867-325A56F07B62', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': True, u's_in_caller': {u'color': u'#acebf0', u'p_type': True, u'id': 167076, u'phone_label': u'MOBILE', u'ver_num': 1, u'p_is_register': True, u'lname': u'Petrie 201', u'int_num': u'12019707887', u'is_mobile': True, u'fname': u'Doug Petrie', u'email': u'dougpetrie@gmail.com', u'img_local_path': u'', u'e_is_register': False, u'phone': u'12019707887', u'agent_id': 1244, u'address': u"[{u'email': {u'postalCode': u'', u'country': u'us', u'state': u'', u'city': u'Greater New York City Area'}, u'label': u'WORK'}]", u'is_deleted': False, u'device_id': u'bbae7c7a07b011df', u'email_label': u'OTHER', u'cid': u'rfhfaKoH', u'notes': u'', u'row_cid': u'6411', u'loc_cid': u'2020', u'cname': u'MobiChat LLC', u'chat_id': None}, u'message': u'Operation Successful', u'type': u'+OK'}: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,917-ivr-INFO : Choosing IVR .. .. .. 2017-11-06 16:57:54,917-ivr-DEBUG : Getting LRN of caller: 13129616005 2017-11-06 16:57:54,917-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"called_number": "12019707887", "contact_id": "gdRXTiZO", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509987474.917785, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+13129616005", "diversion": "<sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "32a76b5c-54fe-4f98-a9dc-7e804e1d3467", "vm_number": "15012229085", "caller_id_number": "13129616005", "contact_name": "Ranji Ragbeer"} 2017-11-06 16:57:54,918-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90298c0> 2017-11-06 16:57:54,921-ivr-DEBUG : Check Caller has return relationship or not. 2017-11-06 16:57:54,921-ivr-INFO : Mobile Caller. Starting Mobile IVR 2017-11-06 16:57:54,921-ivr-INFO : Check custom greetings available against caller or not. 2017-11-06 16:57:54,921-ivr-DEBUG : Play Default VM file : pt_sounds/default_vm_greeting.wav 2017-11-06 16:57:54,922-ivr-DEBUG : Playing brand sound on call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,922-ivr-INFO : Starting IVR For Mobile(Detection): <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,922-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c5b90> 2017-11-06 16:57:54,923-ivr-DEBUG : Successfully executed IVR: PT_MOBILE on Call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,924-Backend-DEBUG : Sent data : {"called_number": "12019707887", "contact_id": "gdRXTiZO", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509987474.917785, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+13129616005", "diversion": "<sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "32a76b5c-54fe-4f98-a9dc-7e804e1d3467", "vm_number": "15012229085", "caller_id_number": "13129616005", "contact_name": "Ranji Ragbeer"} 2017-11-06 16:57:54,935-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 16:57:54,935-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 16:57:54,935-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 16:57:54,935-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 16:57:54,936-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90298c0> 2017-11-06 16:57:54,946-ivr-INFO : IVR completed on call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,946-ivr-DEBUG : HangingUp call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,948-ivr-INFO : IVR completed on call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:54,948-ivr-DEBUG : HangingUp call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:55,916-ivr-INFO : IVR completed on call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:55,916-ivr-DEBUG : HangingUp call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:58,939-ivr-DEBUG : EVENT EVENT EVENT MENU_ACTION From nobody Mon Nov 6 16:57:58 2017 Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2017-11-06%2016%3A57%3A58 Event-Date-GMT: Mon,%2006%20Nov%202017%2016%3A57%3A58%20GMT Event-Date-Timestamp: 1509987478881532 Event-Calling-File: mod_dptools.c Event-Calling-Function: event_function Event-Calling-Line-Number: 1758 Event-Sequence: 330994 Event-Name: MENU_ACTION action: voicemailSelected Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/%2B13129616005%40108.168.235.227 Unique-ID: 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 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-Logical-Direction: inbound Caller-Username: %2B13129616005 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B13129616005 Caller-Caller-ID-Number: %2B13129616005 Caller-Orig-Caller-ID-Name: %2B13129616005 Caller-Orig-Caller-ID-Number: %2B13129616005 Caller-Network-Addr: 52.53.248.193 Caller-ANI: %2B13129616005 Caller-Destination-Number: 15012229085 Caller-Unique-ID: 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/%2B13129616005%40108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509987473601550 Caller-Channel-Created-Time: 1509987473601550 Caller-Channel-Answered-Time: 1509987473621550 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509987473621550 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false 2017-11-06 16:57:58,940-ivr-DEBUG : User selected voicemail on call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:58,942-ivr-INFO : IVR completed on call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:57:58,942-ivr-DEBUG : HangingUp call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:58:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:58:08,714-inbound_socket-DEBUG : Stale Call Check Duraion: 14.0 max_duration: 3600.0 2017-11-06 16:58:13,070-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 16:58:13,070-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 16:58:13,071-outbound_socket-INFO : Outbound socket connection closed for call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:58:13,071-PySWITCH-INFO : Cleaning up 2017-11-06 16:58:13,166-inbound_socket-INFO : Channel hangup event with uuid 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 2017-11-06 16:58:13,166-inbound_socket-DEBUG : Popping callobj with uuid 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 2017-11-06 16:58:13,166-inbound_socket-INFO : Going to process voicemail from inbound socket 2017-11-06 16:58:13,166-ivr-DEBUG : Processing voicemail for call: <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800> 2017-11-06 16:58:13,166-ivr-DEBUG : Requsting voicemail message details with FS API command: vm_fsdb_msg_get JSON default beta.tendant.com 12019707887 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 2017-11-06 16:58:13,166-ivr-DEBUG : Outbound_voicemail_processed_status : False and inbound_voicemail_processed_status : True 2017-11-06 16:58:13,169-ivr-INFO : Successfully fetched the voicemail message(vm_fsdb_msg_get) for call <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800>. Result: From nobody Mon Nov 6 16:58:13 2017 Content-Type: api/response Content-Length: 1003 {"Event-Name":"REQUEST_PARAMS","Core-UUID":"3aa590bb-ee6f-4da8-8ef6-1aed409c64ac","FreeSWITCH-Hostname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-Switchname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-IPv4":"172.31.11.59","FreeSWITCH-IPv6":"::1","Event-Date-Local":"2017-11-06 16:58:13","Event-Date-GMT":"Mon, 06 Nov 2017 16:58:13 GMT","Event-Date-Timestamp":"1509987493161494","Event-Calling-File":"mod_voicemail.c","Event-Calling-Function":"vm_fsdb_msg_get_function","Event-Calling-Line-Number":"5955","Event-Sequence":"331034","VM-Message-Received-Epoch":"1509987493","VM-Message-Read-Epoch":"0","VM-Message-UUID":"32a76b5c-54fe-4f98-a9dc-7e804e1d3467","VM-Message-Caller-Name":"+13129616005","VM-Message-Caller-Number":"+13129616005","VM-Message-Folder":"inbox","VM-Message-File-Path":"/usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_fc90adf2-e2aa-4946-b0d8-ee1822c2e630.wav","VM-Message-Duration":"6","VM-Message-Read-Flags":"B_NORMAL"} 2017-11-06 16:58:13,169-ivr-INFO : Absolute File path of voicemial store for call <Inbound Call 32a76b5c-54fe-4f98-a9dc-7e804e1d3467 at 150958800>: /usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_fc90adf2-e2aa-4946-b0d8-ee1822c2e630.wav 2017-11-06 16:58:13,305-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x8f36fc8> 2017-11-06 16:58:15,000-ivr-DEBUG : Speech response received. 2017-11-06 16:58:15,000-ivr-INFO : Speech response : {u'results': [{u'alternatives': [{u'confidence': 0.68178153, u'transcript': u'Hey, this is a voicemail message. Give me a call. If you need it needs it too. Bye.'}]}]} 2017-11-06 16:58:15,000-ivr-DEBUG : Request received for send voicemail event. 2017-11-06 16:58:15,001-Backend-DEBUG : Sending EVENT VOICEMAIL request to backend - {'voicemail_number': '15012229085', 'timestamp': 1509987495.0, 'call_uuid': '32a76b5c-54fe-4f98-a9dc-7e804e1d3467', 'caller_number': '13129616005', 'agent_number': '12019707887', 'caller_name': '+13129616005', 'chat_id': None, 'contact_name': u'Ranji Ragbeer', 'Event-Name': 'VOICEMAIL', 'transcribed_msg': u'Hey, this is a voicemail message. Give me a call. If you need it needs it too. Bye.', 'contact_id': u'gdRXTiZO', 'is_mobile': True, 'is_international_caller': True, 'vm_file': u'https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_fc90adf2-e2aa-4946-b0d8-ee1822c2e630.wav', 'callee': '12019707887'} 2017-11-06 16:58:15,001-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"voicemail_number": "15012229085", "timestamp": 1509987495.0, "call_uuid": "32a76b5c-54fe-4f98-a9dc-7e804e1d3467", "caller_number": "13129616005", "agent_number": "12019707887", "caller_name": "+13129616005", "chat_id": null, "contact_name": "Ranji Ragbeer", "Event-Name": "VOICEMAIL", "transcribed_msg": "Hey, this is a voicemail message. Give me a call. If you need it needs it too. Bye.", "contact_id": "gdRXTiZO", "is_mobile": true, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_fc90adf2-e2aa-4946-b0d8-ee1822c2e630.wav", "callee": "12019707887"} 2017-11-06 16:58:15,001-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x902b950> 2017-11-06 16:58:15,002-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x8f36fc8> 2017-11-06 16:58:15,003-Backend-DEBUG : Sent data : {"voicemail_number": "15012229085", "timestamp": 1509987495.0, "call_uuid": "32a76b5c-54fe-4f98-a9dc-7e804e1d3467", "caller_number": "13129616005", "agent_number": "12019707887", "caller_name": "+13129616005", "chat_id": null, "contact_name": "Ranji Ragbeer", "Event-Name": "VOICEMAIL", "transcribed_msg": "Hey, this is a voicemail message. Give me a call. If you need it needs it too. Bye.", "contact_id": "gdRXTiZO", "is_mobile": true, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_fc90adf2-e2aa-4946-b0d8-ee1822c2e630.wav", "callee": "12019707887"} 2017-11-06 16:58:15,105-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 16:58:15,105-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 16:58:15,105-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 16:58:15,105-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 16:58:15,106-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x902b950> 2017-11-06 16:59:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 16:59:59,136-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 16:59:59,137-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 17:00:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:01:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:02:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:03:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:03:10,522-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:03:10,536-outbound_socket-INFO : Successfully new InboundCall [Outbound Socket](connection) created 2017-11-06 17:03:10,536-outbound_socket-INFO : Call Information Outbound Socket: From nobody Mon Nov 6 17:03:10 2017 Event-Name: CHANNEL_DATA Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: ::1 Event-Date-Local: 2017-11-06 17:03:10 Event-Date-GMT: Mon, 06 Nov 2017 17:03:10 GMT Event-Date-Timestamp: 1509987790501535 Event-Calling-File: mod_event_socket.c Event-Calling-Function: parse_command Event-Calling-Line-Number: 1996 Event-Sequence: 331100 Channel-Direction: inbound Channel-Logical-Direction: inbound Channel-Username: +12016741676 Channel-Dialplan: XML Channel-Caller-ID-Name: +12016741676 Channel-Caller-ID-Number: +12016741676 Channel-Orig-Caller-ID-Name: +12016741676 Channel-Orig-Caller-ID-Number: +12016741676 Channel-Network-Addr: 52.53.248.193 Channel-ANI: +12016741676 Channel-Destination-Number: 15012229085 Channel-Unique-ID: c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae Channel-Source: mod_sofia Channel-Context: public Channel-Channel-Name: sofia/external/+12016741676@108.168.235.227 Channel-Profile-Index: 1 Channel-Profile-Created-Time: 1509987789461535 Channel-Channel-Created-Time: 1509987789461535 Channel-Channel-Answered-Time: 1509987789461535 Channel-Channel-Progress-Time: 0 Channel-Channel-Progress-Media-Time: 1509987789461535 Channel-Channel-Hangup-Time: 0 Channel-Channel-Transfer-Time: 0 Channel-Channel-Resurrect-Time: 0 Channel-Channel-Bridged-Time: 0 Channel-Channel-Last-Hold: 0 Channel-Channel-Hold-Accum: 0 Channel-Screen-Bit: true Channel-Privacy-Hide-Name: false Channel-Privacy-Hide-Number: false Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/+12016741676@108.168.235.227 Unique-ID: c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae 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-Logical-Direction: inbound Caller-Username: +12016741676 Caller-Dialplan: XML Caller-Caller-ID-Name: +12016741676 Caller-Caller-ID-Number: +12016741676 Caller-Orig-Caller-ID-Name: +12016741676 Caller-Orig-Caller-ID-Number: +12016741676 Caller-Network-Addr: 52.53.248.193 Caller-ANI: +12016741676 Caller-Destination-Number: 15012229085 Caller-Unique-ID: c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/+12016741676@108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509987789461535 Caller-Channel-Created-Time: 1509987789461535 Caller-Channel-Answered-Time: 1509987789461535 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509987789461535 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae variable_session_id: 26 variable_sip_from_user: +12016741676 variable_sip_from_uri: +12016741676@108.168.235.227 variable_sip_from_host: 108.168.235.227 variable_video_media_flow: sendrecv variable_channel_name: sofia/external/+12016741676@108.168.235.227 variable_ep_codec_string: CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b variable_sip_local_network_addr: 54.183.67.223 variable_sip_network_ip: 52.53.248.193 variable_sip_network_port: 5060 variable_sip_received_ip: 52.53.248.193 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_from_user_stripped: 12016741676 variable_sofia_profile_name: external variable_recovery_profile_name: external variable_sip_P-Asserted-Identity: +12016741676 variable_sip_cid_type: pid variable_sip_invite_route_uri: <sip:52.53.248.193;lr;ftag=3prXDggmcH07B;did=289.1161>,<sip:108.168.235.227;lr;ftag=3prXDggmcH07B;did=289.e3c40382> variable_sip_invite_record_route: <sip:108.168.235.227;lr;ftag=3prXDggmcH07B;did=289.e3c40382>,<sip:52.53.248.193;lr;ftag=3prXDggmcH07B;did=289.1161> variable_sip_allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY variable_sip_req_user: 15012229085 variable_sip_req_uri: 15012229085@52.53.248.193 variable_sip_req_host: 52.53.248.193 variable_sip_to_user: 0015012229085 variable_sip_to_uri: 0015012229085@52.53.248.193 variable_sip_to_host: 52.53.248.193 variable_sip_contact_user: A1SIP variable_sip_contact_port: 5080 variable_sip_contact_uri: A1SIP@108.168.235.227:5080 variable_sip_contact_host: 108.168.235.227 variable_sip_user_agent: A1SIP variable_sip_via_host: 52.53.248.193 variable_sip_via_port: 5060 variable_max_forwards: 62 variable_sip_Privacy: none variable_sip_h_Diversion: <sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off variable_switch_r_sdp: v=0 o=A1SIP 1509962063 1509962064 IN IP4 108.168.235.227 s=A1SIP c=IN IP4 108.168.235.227 t=0 0 m=audio 25654 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 variable_DP_MATCH: ARRAY::15012229085|:15012229085 variable_call_uuid: c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae variable_outside_call: true variable_RFC2822_DATE: Mon, 06 Nov 2017 17:03:09 +0000 variable_export_vars: RFC2822_DATE variable_audio_media_flow: sendrecv variable_rtp_use_codec_string: OPUS,G722,PCMU,PCMA,VP8 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU@8000h@20i@1c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_local_media_ip: 172.31.11.59 variable_local_media_port: 22294 variable_advertised_media_ip: 54.183.67.223 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 0 variable_rtp_use_ssrc: 1241815533 variable_rtp_2833_send_payload: 101 variable_rtp_2833_recv_payload: 101 variable_remote_media_ip: 108.168.235.227 variable_remote_media_port: 25654 variable_rtp_local_sdp_str: v=0 o=FreeSWITCH 1509965495 1509965496 IN IP4 54.183.67.223 s=FreeSWITCH c=IN IP4 54.183.67.223 t=0 0 m=audio 22294 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv variable_endpoint_disposition: ANSWER variable_sip_to_tag: 5p6Za2Fprcjea variable_sip_from_tag: 3prXDggmcH07B variable_sip_cseq: 114657794 variable_sip_call_id: 0a0193b6-3db7-1236-3a82-002590f03f92 variable_sip_full_via: SIP/2.0/UDP 52.53.248.193:5060;branch=z9hG4bKc793.d7d935aac87b9ad7c72aa9e0f1f6a315.0,SIP/2.0/UDP 108.168.235.227:5060;rport=5060;branch=z9hG4bKc793.29e2d954.2,SIP/2.0/UDP 108.168.235.227:5080;received=108.168.235.227;rport=5080;branch=z9hG4bKmDK46mS8H7HNQ variable_sip_from_display: +12016741676 variable_sip_full_from: "+12016741676" <sip:+12016741676@108.168.235.227>;tag=3prXDggmcH07B variable_sip_full_to: <sip:0015012229085@52.53.248.193>;tag=5p6Za2Fprcjea variable_current_application_data: 127.0.0.1:8808 async full variable_current_application: socket variable_socket_host: 127.0.0.1 Content-Type: command/reply Reply-Text: +OK Socket-Mode: async Control: full 2017-11-06 17:03:10,538-outbound_socket-DEBUG : UUID of newly created inbound channel c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae 2017-11-06 17:03:10,538-outbound_socket-DEBUG : Creating CALLOBJ for InboundCall with uuid: c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae 2017-11-06 17:03:10,539-call-DEBUG : Setting channel vars on call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,539-outbound_socket-INFO : CALLOBJ created for new inbound call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,539-Backend-INFO : Getting Susbcriber details for call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,539-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-subscriber data: {"subscriber": "12019707887"} 2017-11-06 17:03:10,540-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90becf8> 2017-11-06 17:03:10,542-Backend-DEBUG : Sent data : {"subscriber": "12019707887"} 2017-11-06 17:03:10,598-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-subscriber 2017-11-06 17:03:10,598-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:03:10,598-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:03:10,598-Backend-DEBUG : Response Received: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:03:10,598-outbound_socket-DEBUG : Got subscriber result: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:03:10,599-Backend-INFO : Getting VM Preferences for call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,599-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-vm-preferences data: {"agent_number": "12019707887"} 2017-11-06 17:03:10,599-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029290> 2017-11-06 17:03:10,599-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90becf8> 2017-11-06 17:03:10,600-Backend-DEBUG : Sent data : {"agent_number": "12019707887"} 2017-11-06 17:03:10,609-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-vm-preferences 2017-11-06 17:03:10,609-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:03:10,609-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:03:10,610-Backend-DEBUG : Response Received: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:03:10,610-outbound_socket-INFO : Voicemial preferences received from backend: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:03:10,610-outbound_socket-DEBUG : Starting Process for voicemail preference change. 2017-11-06 17:03:10,610-call-DEBUG : Deleting VM Preferences. Executing Query : DELETE FROM voicemail_prefs WHERE username = '12019707887' 2017-11-06 17:03:10,610-txDB-DEBUG : Running query - ("\n DELETE FROM voicemail_prefs\n WHERE username = '12019707887'\n ",) 2017-11-06 17:03:10,610-outbound_socket-DEBUG : Starting IVR for the call <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,610-ivr-INFO : Starting IVR .. .. .. 2017-11-06 17:03:10,611-ivr-DEBUG : LRN LookUp: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12016741676&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25 2017-11-06 17:03:10,611-PT-INFO : Starting factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12016741676&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:03:10,611-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029290> 2017-11-06 17:03:10,612-txDB-DEBUG : Reconnecting MySQL ..... 2017-11-06 17:03:10,615-call-DEBUG : Query Result : () 2017-11-06 17:03:10,862-ivr-DEBUG : LRN Result: {u'CITY': u'HACKENSACK', u'LEC': u'NEW CINGULAR WIRELESS PCS, LLC - DC', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'4036', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12016741676', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:03:10,863-ivr-INFO : Success lookup LRN for call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544>. LRN Result: {u'CITY': u'HACKENSACK', u'LEC': u'NEW CINGULAR WIRELESS PCS, LLC - DC', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'4036', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12016741676', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:03:10,863-Backend-INFO : Getting Contact Info for call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,863-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-contact data: {"caller": "12016741676", "callee": "12019707887"} 2017-11-06 17:03:10,863-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029e18> 2017-11-06 17:03:10,864-PT-INFO : Stopping factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12016741676&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:03:10,864-Backend-DEBUG : Sent data : {"caller": "12016741676", "callee": "12019707887"} 2017-11-06 17:03:10,896-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-contact 2017-11-06 17:03:10,896-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:03:10,896-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:03:10,896-Backend-DEBUG : Response Received: {u'code': 200, u'substitutes': {}, u'contact_id': u'OrnrENsj', u's_in_callee': {u'color': u'#00008B', u'p_type': True, u'id': 391430, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'D', u'int_num': u'12016741676', u'is_mobile': True, u'fname': u'Little', u'email': u'dmw1022@netscape.net', u'img_local_path': None, u'e_is_register': False, u'phone': u'2016741676', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': u'home', u'cid': u'OrnrENsj', u'notes': u'', u'row_cid': u'A085F069-B608-4968-A90B-AA0859E093D2', u'loc_cid': u'349BDD58-77DE-4087-9AD4-FEB6CDEE9934', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'} 2017-11-06 17:03:10,897-ivr-INFO : Contact information received for call {u'code': 200, u'substitutes': {}, u'contact_id': u'OrnrENsj', u's_in_callee': {u'color': u'#00008B', u'p_type': True, u'id': 391430, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'D', u'int_num': u'12016741676', u'is_mobile': True, u'fname': u'Little', u'email': u'dmw1022@netscape.net', u'img_local_path': None, u'e_is_register': False, u'phone': u'2016741676', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': u'home', u'cid': u'OrnrENsj', u'notes': u'', u'row_cid': u'A085F069-B608-4968-A90B-AA0859E093D2', u'loc_cid': u'349BDD58-77DE-4087-9AD4-FEB6CDEE9934', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'}: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,897-ivr-INFO : Choosing IVR .. .. .. 2017-11-06 17:03:10,897-ivr-DEBUG : Getting LRN of caller: 12016741676 2017-11-06 17:03:10,897-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"called_number": "12019707887", "contact_id": "OrnrENsj", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509987790.897467, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12016741676", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae", "vm_number": "15012229085", "caller_id_number": "12016741676", "contact_name": "Little D"} 2017-11-06 17:03:10,897-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90a2248> 2017-11-06 17:03:10,898-ivr-DEBUG : Check Caller has return relationship or not. 2017-11-06 17:03:10,898-ivr-INFO : Mobile Caller. Starting Mobile IVR 2017-11-06 17:03:10,898-ivr-INFO : Check custom greetings available against caller or not. 2017-11-06 17:03:10,898-ivr-DEBUG : Play Default VM file : pt_sounds/default_vm_greeting.wav 2017-11-06 17:03:10,898-ivr-DEBUG : Playing brand sound on call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,898-ivr-INFO : Starting IVR For Mobile(Detection): <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,899-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029e18> 2017-11-06 17:03:10,901-ivr-DEBUG : Successfully executed IVR: PT_MOBILE on Call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,902-Backend-DEBUG : Sent data : {"called_number": "12019707887", "contact_id": "OrnrENsj", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509987790.897467, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12016741676", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae", "vm_number": "15012229085", "caller_id_number": "12016741676", "contact_name": "Little D"} 2017-11-06 17:03:10,914-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:03:10,914-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:03:10,914-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:03:10,914-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:03:10,914-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90a2248> 2017-11-06 17:03:10,923-ivr-INFO : IVR completed on call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,923-ivr-DEBUG : HangingUp call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,925-ivr-INFO : IVR completed on call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:10,925-ivr-DEBUG : HangingUp call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:11,872-ivr-INFO : IVR completed on call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:11,873-ivr-DEBUG : HangingUp call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:23,279-ivr-DEBUG : EVENT EVENT EVENT MENU_ACTION From nobody Mon Nov 6 17:03:23 2017 Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2017-11-06%2017%3A03%3A23 Event-Date-GMT: Mon,%2006%20Nov%202017%2017%3A03%3A23%20GMT Event-Date-Timestamp: 1509987803241530 Event-Calling-File: mod_dptools.c Event-Calling-Function: event_function Event-Calling-Line-Number: 1758 Event-Sequence: 331131 Event-Name: MENU_ACTION action: voicemailSelected Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/%2B12016741676%40108.168.235.227 Unique-ID: c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae 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-Logical-Direction: inbound Caller-Username: %2B12016741676 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B12016741676 Caller-Caller-ID-Number: %2B12016741676 Caller-Orig-Caller-ID-Name: %2B12016741676 Caller-Orig-Caller-ID-Number: %2B12016741676 Caller-Network-Addr: 52.53.248.193 Caller-ANI: %2B12016741676 Caller-Destination-Number: 15012229085 Caller-Unique-ID: c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/%2B12016741676%40108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509987789461535 Caller-Channel-Created-Time: 1509987789461535 Caller-Channel-Answered-Time: 1509987789461535 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509987789461535 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false 2017-11-06 17:03:23,280-ivr-DEBUG : User selected voicemail on call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:23,282-ivr-INFO : IVR completed on call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:23,282-ivr-DEBUG : HangingUp call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:41,447-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:03:41,447-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:03:41,447-outbound_socket-INFO : Outbound socket connection closed for call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:41,447-PySWITCH-INFO : Cleaning up 2017-11-06 17:03:41,545-inbound_socket-INFO : Channel hangup event with uuid c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae 2017-11-06 17:03:41,545-inbound_socket-DEBUG : Popping callobj with uuid c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae 2017-11-06 17:03:41,545-inbound_socket-INFO : Going to process voicemail from inbound socket 2017-11-06 17:03:41,546-ivr-DEBUG : Processing voicemail for call: <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544> 2017-11-06 17:03:41,546-ivr-DEBUG : Requsting voicemail message details with FS API command: vm_fsdb_msg_get JSON default beta.tendant.com 12019707887 c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae 2017-11-06 17:03:41,546-ivr-DEBUG : Outbound_voicemail_processed_status : False and inbound_voicemail_processed_status : True 2017-11-06 17:03:41,548-ivr-INFO : Successfully fetched the voicemail message(vm_fsdb_msg_get) for call <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544>. Result: From nobody Mon Nov 6 17:03:41 2017 Content-Type: api/response Content-Length: 1004 {"Event-Name":"REQUEST_PARAMS","Core-UUID":"3aa590bb-ee6f-4da8-8ef6-1aed409c64ac","FreeSWITCH-Hostname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-Switchname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-IPv4":"172.31.11.59","FreeSWITCH-IPv6":"::1","Event-Date-Local":"2017-11-06 17:03:41","Event-Date-GMT":"Mon, 06 Nov 2017 17:03:41 GMT","Event-Date-Timestamp":"1509987821541533","Event-Calling-File":"mod_voicemail.c","Event-Calling-Function":"vm_fsdb_msg_get_function","Event-Calling-Line-Number":"5955","Event-Sequence":"331170","VM-Message-Received-Epoch":"1509987821","VM-Message-Read-Epoch":"0","VM-Message-UUID":"c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae","VM-Message-Caller-Name":"+12016741676","VM-Message-Caller-Number":"+12016741676","VM-Message-Folder":"inbox","VM-Message-File-Path":"/usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_2feacc2e-b1da-45f9-9e01-28b558f0aecc.wav","VM-Message-Duration":"10","VM-Message-Read-Flags":"B_NORMAL"} 2017-11-06 17:03:41,548-ivr-INFO : Absolute File path of voicemial store for call <Inbound Call c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae at 151054544>: /usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_2feacc2e-b1da-45f9-9e01-28b558f0aecc.wav 2017-11-06 17:03:41,692-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90afea8> 2017-11-06 17:03:44,127-ivr-DEBUG : Speech response received. 2017-11-06 17:03:44,127-ivr-INFO : Speech response : {u'results': [{u'alternatives': [{u'confidence': 0.75562817, u'transcript': u"Good morning, doug. It's mom. I just wanted to let you know that will definitely be on time for a lab dinner. Bye."}]}]} 2017-11-06 17:03:44,127-ivr-DEBUG : Request received for send voicemail event. 2017-11-06 17:03:44,127-Backend-DEBUG : Sending EVENT VOICEMAIL request to backend - {'voicemail_number': '15012229085', 'timestamp': 1509987824.0, 'call_uuid': 'c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae', 'caller_number': '12016741676', 'agent_number': '12019707887', 'caller_name': '+12016741676', 'chat_id': None, 'contact_name': u'Little D', 'Event-Name': 'VOICEMAIL', 'transcribed_msg': u"Good morning, doug. It's mom. I just wanted to let you know that will definitely be on time for a lab dinner. Bye.", 'contact_id': u'OrnrENsj', 'is_mobile': True, 'is_international_caller': True, 'vm_file': u'https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_2feacc2e-b1da-45f9-9e01-28b558f0aecc.wav', 'callee': '12019707887'} 2017-11-06 17:03:44,127-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"voicemail_number": "15012229085", "timestamp": 1509987824.0, "call_uuid": "c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae", "caller_number": "12016741676", "agent_number": "12019707887", "caller_name": "+12016741676", "chat_id": null, "contact_name": "Little D", "Event-Name": "VOICEMAIL", "transcribed_msg": "Good morning, doug. It's mom. I just wanted to let you know that will definitely be on time for a lab dinner. Bye.", "contact_id": "OrnrENsj", "is_mobile": true, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_2feacc2e-b1da-45f9-9e01-28b558f0aecc.wav", "callee": "12019707887"} 2017-11-06 17:03:44,128-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029d88> 2017-11-06 17:03:44,128-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90afea8> 2017-11-06 17:03:44,129-Backend-DEBUG : Sent data : {"voicemail_number": "15012229085", "timestamp": 1509987824.0, "call_uuid": "c0a43c1f-96e2-4fae-9a5c-a887ea57d7ae", "caller_number": "12016741676", "agent_number": "12019707887", "caller_name": "+12016741676", "chat_id": null, "contact_name": "Little D", "Event-Name": "VOICEMAIL", "transcribed_msg": "Good morning, doug. It's mom. I just wanted to let you know that will definitely be on time for a lab dinner. Bye.", "contact_id": "OrnrENsj", "is_mobile": true, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_2feacc2e-b1da-45f9-9e01-28b558f0aecc.wav", "callee": "12019707887"} 2017-11-06 17:03:44,464-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:03:44,464-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:03:44,465-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:03:44,465-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:03:44,465-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029d88> 2017-11-06 17:04:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:04:59,148-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:04:59,149-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 17:05:03,665-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:05:03,678-outbound_socket-INFO : Successfully new InboundCall [Outbound Socket](connection) created 2017-11-06 17:05:03,678-outbound_socket-INFO : Call Information Outbound Socket: From nobody Mon Nov 6 17:05:03 2017 Event-Name: CHANNEL_DATA Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: ::1 Event-Date-Local: 2017-11-06 17:05:03 Event-Date-GMT: Mon, 06 Nov 2017 17:05:03 GMT Event-Date-Timestamp: 1509987903661545 Event-Calling-File: mod_event_socket.c Event-Calling-Function: parse_command Event-Calling-Line-Number: 1996 Event-Sequence: 331207 Channel-Direction: inbound Channel-Logical-Direction: inbound Channel-Username: +12013237098 Channel-Dialplan: XML Channel-Caller-ID-Name: +12013237098 Channel-Caller-ID-Number: +12013237098 Channel-Orig-Caller-ID-Name: +12013237098 Channel-Orig-Caller-ID-Number: +12013237098 Channel-Network-Addr: 52.53.248.193 Channel-ANI: +12013237098 Channel-Destination-Number: 15012229085 Channel-Unique-ID: f7e40d6c-dfcc-4254-9ce9-40377224ca49 Channel-Source: mod_sofia Channel-Context: public Channel-Channel-Name: sofia/external/+12013237098@108.168.235.227 Channel-Profile-Index: 1 Channel-Profile-Created-Time: 1509987902641533 Channel-Channel-Created-Time: 1509987902641533 Channel-Channel-Answered-Time: 1509987902641533 Channel-Channel-Progress-Time: 0 Channel-Channel-Progress-Media-Time: 1509987902641533 Channel-Channel-Hangup-Time: 0 Channel-Channel-Transfer-Time: 0 Channel-Channel-Resurrect-Time: 0 Channel-Channel-Bridged-Time: 0 Channel-Channel-Last-Hold: 0 Channel-Channel-Hold-Accum: 0 Channel-Screen-Bit: true Channel-Privacy-Hide-Name: false Channel-Privacy-Hide-Number: false Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/+12013237098@108.168.235.227 Unique-ID: f7e40d6c-dfcc-4254-9ce9-40377224ca49 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: f7e40d6c-dfcc-4254-9ce9-40377224ca49 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-Logical-Direction: inbound Caller-Username: +12013237098 Caller-Dialplan: XML Caller-Caller-ID-Name: +12013237098 Caller-Caller-ID-Number: +12013237098 Caller-Orig-Caller-ID-Name: +12013237098 Caller-Orig-Caller-ID-Number: +12013237098 Caller-Network-Addr: 52.53.248.193 Caller-ANI: +12013237098 Caller-Destination-Number: 15012229085 Caller-Unique-ID: f7e40d6c-dfcc-4254-9ce9-40377224ca49 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/+12013237098@108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509987902641533 Caller-Channel-Created-Time: 1509987902641533 Caller-Channel-Answered-Time: 1509987902641533 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509987902641533 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: f7e40d6c-dfcc-4254-9ce9-40377224ca49 variable_session_id: 27 variable_sip_from_user: +12013237098 variable_sip_from_uri: +12013237098@108.168.235.227 variable_sip_from_host: 108.168.235.227 variable_video_media_flow: sendrecv variable_channel_name: sofia/external/+12013237098@108.168.235.227 variable_ep_codec_string: CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b variable_sip_local_network_addr: 54.183.67.223 variable_sip_network_ip: 52.53.248.193 variable_sip_network_port: 5060 variable_sip_received_ip: 52.53.248.193 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_from_user_stripped: 12013237098 variable_sofia_profile_name: external variable_recovery_profile_name: external variable_sip_P-Asserted-Identity: +12013237098 variable_sip_cid_type: pid variable_sip_invite_route_uri: <sip:52.53.248.193;lr;ftag=NSZUDQZKrHHrc;did=74a.e8e2>,<sip:108.168.235.227;lr;ftag=NSZUDQZKrHHrc;did=74a.1753b497> variable_sip_invite_record_route: <sip:108.168.235.227;lr;ftag=NSZUDQZKrHHrc;did=74a.1753b497>,<sip:52.53.248.193;lr;ftag=NSZUDQZKrHHrc;did=74a.e8e2> variable_sip_allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY variable_sip_req_user: 15012229085 variable_sip_req_uri: 15012229085@52.53.248.193 variable_sip_req_host: 52.53.248.193 variable_sip_to_user: 0015012229085 variable_sip_to_uri: 0015012229085@52.53.248.193 variable_sip_to_host: 52.53.248.193 variable_sip_contact_user: A1SIP variable_sip_contact_port: 5080 variable_sip_contact_uri: A1SIP@108.168.235.227:5080 variable_sip_contact_host: 108.168.235.227 variable_sip_user_agent: A1SIP variable_sip_via_host: 52.53.248.193 variable_sip_via_port: 5060 variable_max_forwards: 62 variable_sip_Privacy: none variable_sip_h_Diversion: <sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off variable_switch_r_sdp: v=0 o=A1SIP 1509967088 1509967089 IN IP4 108.168.235.227 s=A1SIP c=IN IP4 108.168.235.227 t=0 0 m=audio 20742 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 variable_DP_MATCH: ARRAY::15012229085|:15012229085 variable_call_uuid: f7e40d6c-dfcc-4254-9ce9-40377224ca49 variable_outside_call: true variable_RFC2822_DATE: Mon, 06 Nov 2017 17:05:02 +0000 variable_export_vars: RFC2822_DATE variable_audio_media_flow: sendrecv variable_rtp_use_codec_string: OPUS,G722,PCMU,PCMA,VP8 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU@8000h@20i@1c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_local_media_ip: 172.31.11.59 variable_local_media_port: 30192 variable_advertised_media_ip: 54.183.67.223 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 0 variable_rtp_use_ssrc: 1241815646 variable_rtp_2833_send_payload: 101 variable_rtp_2833_recv_payload: 101 variable_remote_media_ip: 108.168.235.227 variable_remote_media_port: 20742 variable_rtp_local_sdp_str: v=0 o=FreeSWITCH 1509957710 1509957711 IN IP4 54.183.67.223 s=FreeSWITCH c=IN IP4 54.183.67.223 t=0 0 m=audio 30192 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv variable_endpoint_disposition: ANSWER variable_sip_to_tag: 6ZZrcX0SNN80N variable_sip_from_tag: NSZUDQZKrHHrc variable_sip_cseq: 114657851 variable_sip_call_id: 4d74c49f-3db7-1236-3a82-002590f03f92 variable_sip_full_via: SIP/2.0/UDP 52.53.248.193:5060;branch=z9hG4bKc97b.a36eb5e40a7da5ec286609afc7a9dde0.0,SIP/2.0/UDP 108.168.235.227:5060;rport=5060;branch=z9hG4bKc97b.4bc82b05.2,SIP/2.0/UDP 108.168.235.227:5080;received=108.168.235.227;rport=5080;branch=z9hG4bK12U6XmmpcUK8D variable_sip_from_display: +12013237098 variable_sip_full_from: "+12013237098" <sip:+12013237098@108.168.235.227>;tag=NSZUDQZKrHHrc variable_sip_full_to: <sip:0015012229085@52.53.248.193>;tag=6ZZrcX0SNN80N variable_current_application_data: 127.0.0.1:8808 async full variable_current_application: socket variable_socket_host: 127.0.0.1 Content-Type: command/reply Reply-Text: +OK Socket-Mode: async Control: full 2017-11-06 17:05:03,681-outbound_socket-DEBUG : UUID of newly created inbound channel f7e40d6c-dfcc-4254-9ce9-40377224ca49 2017-11-06 17:05:03,681-outbound_socket-DEBUG : Creating CALLOBJ for InboundCall with uuid: f7e40d6c-dfcc-4254-9ce9-40377224ca49 2017-11-06 17:05:03,682-call-DEBUG : Setting channel vars on call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:03,682-outbound_socket-INFO : CALLOBJ created for new inbound call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:03,682-Backend-INFO : Getting Susbcriber details for call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:03,683-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-subscriber data: {"subscriber": "12019707887"} 2017-11-06 17:05:03,683-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9023830> 2017-11-06 17:05:03,690-Backend-DEBUG : Sent data : {"subscriber": "12019707887"} 2017-11-06 17:05:03,708-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-subscriber 2017-11-06 17:05:03,708-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:05:03,709-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:05:03,709-Backend-DEBUG : Response Received: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:05:03,709-outbound_socket-DEBUG : Got subscriber result: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:05:03,709-Backend-INFO : Getting VM Preferences for call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:03,709-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-vm-preferences data: {"agent_number": "12019707887"} 2017-11-06 17:05:03,709-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bec20> 2017-11-06 17:05:03,710-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9023830> 2017-11-06 17:05:03,710-Backend-DEBUG : Sent data : {"agent_number": "12019707887"} 2017-11-06 17:05:03,721-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-vm-preferences 2017-11-06 17:05:03,721-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:05:03,721-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:05:03,722-Backend-DEBUG : Response Received: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:05:03,722-outbound_socket-INFO : Voicemial preferences received from backend: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:05:03,722-outbound_socket-DEBUG : Starting Process for voicemail preference change. 2017-11-06 17:05:03,722-call-DEBUG : Deleting VM Preferences. Executing Query : DELETE FROM voicemail_prefs WHERE username = '12019707887' 2017-11-06 17:05:03,722-txDB-DEBUG : Running query - ("\n DELETE FROM voicemail_prefs\n WHERE username = '12019707887'\n ",) 2017-11-06 17:05:03,722-outbound_socket-DEBUG : Starting IVR for the call <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:03,723-ivr-INFO : Starting IVR .. .. .. 2017-11-06 17:05:03,723-ivr-DEBUG : LRN LookUp: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013237098&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25 2017-11-06 17:05:03,723-PT-INFO : Starting factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013237098&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:05:03,724-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bec20> 2017-11-06 17:05:03,724-txDB-DEBUG : Reconnecting MySQL ..... 2017-11-06 17:05:03,727-call-DEBUG : Query Result : () 2017-11-06 17:05:03,973-ivr-DEBUG : LRN Result: {u'CITY': u'SOMERVILLE', u'LEC': u'CELLCO PARTNERSHIP DBA VERIZON WIRELESS - NJ', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6391', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'19082290000', u'STATE': u'NJ', u'LATA': u'224', u'SPID': u'6006'} 2017-11-06 17:05:03,973-ivr-INFO : Success lookup LRN for call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576>. LRN Result: {u'CITY': u'SOMERVILLE', u'LEC': u'CELLCO PARTNERSHIP DBA VERIZON WIRELESS - NJ', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6391', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'19082290000', u'STATE': u'NJ', u'LATA': u'224', u'SPID': u'6006'} 2017-11-06 17:05:03,973-Backend-INFO : Getting Contact Info for call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:03,973-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-contact data: {"caller": "12013237098", "callee": "12019707887"} 2017-11-06 17:05:03,973-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x909ffc8> 2017-11-06 17:05:03,974-PT-INFO : Stopping factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013237098&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:05:03,975-Backend-DEBUG : Sent data : {"caller": "12013237098", "callee": "12019707887"} 2017-11-06 17:05:04,006-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-contact 2017-11-06 17:05:04,007-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:05:04,007-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:05:04,007-Backend-DEBUG : Response Received: {u'code': 200, u'substitutes': {}, u'contact_id': u'gF09WMIm', u's_in_callee': {u'color': u'#791f45', u'p_type': True, u'id': 390880, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'Conklin', u'int_num': u'12013237098', u'is_mobile': True, u'fname': u'Bill', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'2013237098', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'gF09WMIm', u'notes': u'', u'row_cid': u'D599B7B6-78C1-4164-9536-A3DEC0CF59D3', u'loc_cid': u'7A03A465-935A-4F07-BDDA-F554390841F7', u'cname': u'Acorn Financial', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'} 2017-11-06 17:05:04,007-ivr-INFO : Contact information received for call {u'code': 200, u'substitutes': {}, u'contact_id': u'gF09WMIm', u's_in_callee': {u'color': u'#791f45', u'p_type': True, u'id': 390880, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'Conklin', u'int_num': u'12013237098', u'is_mobile': True, u'fname': u'Bill', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'2013237098', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'gF09WMIm', u'notes': u'', u'row_cid': u'D599B7B6-78C1-4164-9536-A3DEC0CF59D3', u'loc_cid': u'7A03A465-935A-4F07-BDDA-F554390841F7', u'cname': u'Acorn Financial', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'}: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:04,008-ivr-INFO : Choosing IVR .. .. .. 2017-11-06 17:05:04,008-ivr-DEBUG : Getting LRN of caller: 12013237098 2017-11-06 17:05:04,008-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"called_number": "12019707887", "contact_id": "gF09WMIm", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509987904.008344, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12013237098", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "f7e40d6c-dfcc-4254-9ce9-40377224ca49", "vm_number": "15012229085", "caller_id_number": "12013237098", "contact_name": "Bill Conklin"} 2017-11-06 17:05:04,008-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x8ffca70> 2017-11-06 17:05:04,008-ivr-DEBUG : Check Caller has return relationship or not. 2017-11-06 17:05:04,009-ivr-INFO : Mobile Caller. Starting Mobile IVR 2017-11-06 17:05:04,009-ivr-INFO : Check custom greetings available against caller or not. 2017-11-06 17:05:04,009-ivr-DEBUG : Play Default VM file : pt_sounds/default_vm_greeting.wav 2017-11-06 17:05:04,009-ivr-DEBUG : Playing brand sound on call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:04,009-ivr-INFO : Starting IVR For Mobile(Detection): <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:04,010-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x909ffc8> 2017-11-06 17:05:04,011-ivr-DEBUG : Successfully executed IVR: PT_MOBILE on Call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:04,011-Backend-DEBUG : Sent data : {"called_number": "12019707887", "contact_id": "gF09WMIm", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509987904.008344, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12013237098", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "f7e40d6c-dfcc-4254-9ce9-40377224ca49", "vm_number": "15012229085", "caller_id_number": "12013237098", "contact_name": "Bill Conklin"} 2017-11-06 17:05:04,026-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:05:04,026-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:05:04,026-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:05:04,026-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:05:04,026-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x8ffca70> 2017-11-06 17:05:04,033-ivr-INFO : IVR completed on call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:04,034-ivr-DEBUG : HangingUp call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:04,036-ivr-INFO : IVR completed on call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:04,036-ivr-DEBUG : HangingUp call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:05,004-ivr-INFO : IVR completed on call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:05,004-ivr-DEBUG : HangingUp call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:05:08,715-inbound_socket-DEBUG : Stale Call Check Duraion: 5.0 max_duration: 3600.0 2017-11-06 17:05:17,743-ivr-DEBUG : EVENT EVENT EVENT MENU_ACTION From nobody Mon Nov 6 17:05:17 2017 Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2017-11-06%2017%3A05%3A17 Event-Date-GMT: Mon,%2006%20Nov%202017%2017%3A05%3A17%20GMT Event-Date-Timestamp: 1509987917721538 Event-Calling-File: mod_dptools.c Event-Calling-Function: event_function Event-Calling-Line-Number: 1758 Event-Sequence: 331241 Event-Name: MENU_ACTION action: voicemailSelected Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/%2B12013237098%40108.168.235.227 Unique-ID: f7e40d6c-dfcc-4254-9ce9-40377224ca49 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: f7e40d6c-dfcc-4254-9ce9-40377224ca49 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-Logical-Direction: inbound Caller-Username: %2B12013237098 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B12013237098 Caller-Caller-ID-Number: %2B12013237098 Caller-Orig-Caller-ID-Name: %2B12013237098 Caller-Orig-Caller-ID-Number: %2B12013237098 Caller-Network-Addr: 52.53.248.193 Caller-ANI: %2B12013237098 Caller-Destination-Number: 15012229085 Caller-Unique-ID: f7e40d6c-dfcc-4254-9ce9-40377224ca49 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/%2B12013237098%40108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509987902641533 Caller-Channel-Created-Time: 1509987902641533 Caller-Channel-Answered-Time: 1509987902641533 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509987902641533 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false 2017-11-06 17:05:17,744-ivr-DEBUG : User selected voicemail on call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:17,745-ivr-INFO : IVR completed on call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:17,746-ivr-DEBUG : HangingUp call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:32,637-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:05:32,637-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:05:32,637-outbound_socket-INFO : Outbound socket connection closed for call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:32,637-PySWITCH-INFO : Cleaning up 2017-11-06 17:05:32,715-inbound_socket-INFO : Channel hangup event with uuid f7e40d6c-dfcc-4254-9ce9-40377224ca49 2017-11-06 17:05:32,715-inbound_socket-DEBUG : Popping callobj with uuid f7e40d6c-dfcc-4254-9ce9-40377224ca49 2017-11-06 17:05:32,715-inbound_socket-INFO : Going to process voicemail from inbound socket 2017-11-06 17:05:32,715-ivr-DEBUG : Processing voicemail for call: <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576> 2017-11-06 17:05:32,715-ivr-DEBUG : Requsting voicemail message details with FS API command: vm_fsdb_msg_get JSON default beta.tendant.com 12019707887 f7e40d6c-dfcc-4254-9ce9-40377224ca49 2017-11-06 17:05:32,715-ivr-DEBUG : Outbound_voicemail_processed_status : False and inbound_voicemail_processed_status : True 2017-11-06 17:05:32,717-ivr-INFO : Successfully fetched the voicemail message(vm_fsdb_msg_get) for call <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576>. Result: From nobody Mon Nov 6 17:05:32 2017 Content-Type: api/response Content-Length: 1003 {"Event-Name":"REQUEST_PARAMS","Core-UUID":"3aa590bb-ee6f-4da8-8ef6-1aed409c64ac","FreeSWITCH-Hostname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-Switchname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-IPv4":"172.31.11.59","FreeSWITCH-IPv6":"::1","Event-Date-Local":"2017-11-06 17:05:32","Event-Date-GMT":"Mon, 06 Nov 2017 17:05:32 GMT","Event-Date-Timestamp":"1509987932681535","Event-Calling-File":"mod_voicemail.c","Event-Calling-Function":"vm_fsdb_msg_get_function","Event-Calling-Line-Number":"5955","Event-Sequence":"331280","VM-Message-Received-Epoch":"1509987932","VM-Message-Read-Epoch":"0","VM-Message-UUID":"f7e40d6c-dfcc-4254-9ce9-40377224ca49","VM-Message-Caller-Name":"+12013237098","VM-Message-Caller-Number":"+12013237098","VM-Message-Folder":"inbox","VM-Message-File-Path":"/usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_f43f5591-6c66-4117-b9aa-aa0a48f86e58.wav","VM-Message-Duration":"7","VM-Message-Read-Flags":"B_NORMAL"} 2017-11-06 17:05:32,717-ivr-INFO : Absolute File path of voicemial store for call <Inbound Call f7e40d6c-dfcc-4254-9ce9-40377224ca49 at 151090576>: /usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_f43f5591-6c66-4117-b9aa-aa0a48f86e58.wav 2017-11-06 17:05:32,856-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9002cf8> 2017-11-06 17:05:34,536-ivr-DEBUG : Speech response received. 2017-11-06 17:05:34,536-ivr-INFO : Speech response : {u'results': [{u'alternatives': [{u'confidence': 0.707438, u'transcript': u"Hey doug. It's billy. How you doing? I hope your tests work. Give me a call back."}]}]} 2017-11-06 17:05:34,536-ivr-DEBUG : Request received for send voicemail event. 2017-11-06 17:05:34,536-Backend-DEBUG : Sending EVENT VOICEMAIL request to backend - {'voicemail_number': '15012229085', 'timestamp': 1509987934.0, 'call_uuid': 'f7e40d6c-dfcc-4254-9ce9-40377224ca49', 'caller_number': '12013237098', 'agent_number': '12019707887', 'caller_name': '+12013237098', 'chat_id': None, 'contact_name': u'Bill Conklin', 'Event-Name': 'VOICEMAIL', 'transcribed_msg': u"Hey doug. It's billy. How you doing? I hope your tests work. Give me a call back.", 'contact_id': u'gF09WMIm', 'is_mobile': True, 'is_international_caller': True, 'vm_file': u'https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_f43f5591-6c66-4117-b9aa-aa0a48f86e58.wav', 'callee': '12019707887'} 2017-11-06 17:05:34,537-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"voicemail_number": "15012229085", "timestamp": 1509987934.0, "call_uuid": "f7e40d6c-dfcc-4254-9ce9-40377224ca49", "caller_number": "12013237098", "agent_number": "12019707887", "caller_name": "+12013237098", "chat_id": null, "contact_name": "Bill Conklin", "Event-Name": "VOICEMAIL", "transcribed_msg": "Hey doug. It's billy. How you doing? I hope your tests work. Give me a call back.", "contact_id": "gF09WMIm", "is_mobile": true, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_f43f5591-6c66-4117-b9aa-aa0a48f86e58.wav", "callee": "12019707887"} 2017-11-06 17:05:34,537-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9027758> 2017-11-06 17:05:34,538-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9002cf8> 2017-11-06 17:05:34,538-Backend-DEBUG : Sent data : {"voicemail_number": "15012229085", "timestamp": 1509987934.0, "call_uuid": "f7e40d6c-dfcc-4254-9ce9-40377224ca49", "caller_number": "12013237098", "agent_number": "12019707887", "caller_name": "+12013237098", "chat_id": null, "contact_name": "Bill Conklin", "Event-Name": "VOICEMAIL", "transcribed_msg": "Hey doug. It's billy. How you doing? I hope your tests work. Give me a call back.", "contact_id": "gF09WMIm", "is_mobile": true, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_f43f5591-6c66-4117-b9aa-aa0a48f86e58.wav", "callee": "12019707887"} 2017-11-06 17:05:34,854-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:05:34,854-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:05:34,854-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:05:34,854-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:05:34,855-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9027758> 2017-11-06 17:06:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:07:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:07:31,644-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:07:31,657-outbound_socket-INFO : Successfully new InboundCall [Outbound Socket](connection) created 2017-11-06 17:07:31,657-outbound_socket-INFO : Call Information Outbound Socket: From nobody Mon Nov 6 17:07:31 2017 Event-Name: CHANNEL_DATA Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: ::1 Event-Date-Local: 2017-11-06 17:07:31 Event-Date-GMT: Mon, 06 Nov 2017 17:07:31 GMT Event-Date-Timestamp: 1509988051641534 Event-Calling-File: mod_event_socket.c Event-Calling-Function: parse_command Event-Calling-Line-Number: 1996 Event-Sequence: 331322 Channel-Direction: inbound Channel-Logical-Direction: inbound Channel-Username: +19175997687 Channel-Dialplan: XML Channel-Caller-ID-Name: +19175997687 Channel-Caller-ID-Number: +19175997687 Channel-Orig-Caller-ID-Name: +19175997687 Channel-Orig-Caller-ID-Number: +19175997687 Channel-Network-Addr: 52.53.248.193 Channel-ANI: +19175997687 Channel-Destination-Number: 15012229085 Channel-Unique-ID: fb3af20c-4280-4390-bac1-435dea084c0b Channel-Source: mod_sofia Channel-Context: public Channel-Channel-Name: sofia/external/+19175997687@108.168.235.227 Channel-Profile-Index: 1 Channel-Profile-Created-Time: 1509988050621535 Channel-Channel-Created-Time: 1509988050621535 Channel-Channel-Answered-Time: 1509988050621535 Channel-Channel-Progress-Time: 0 Channel-Channel-Progress-Media-Time: 1509988050621535 Channel-Channel-Hangup-Time: 0 Channel-Channel-Transfer-Time: 0 Channel-Channel-Resurrect-Time: 0 Channel-Channel-Bridged-Time: 0 Channel-Channel-Last-Hold: 0 Channel-Channel-Hold-Accum: 0 Channel-Screen-Bit: true Channel-Privacy-Hide-Name: false Channel-Privacy-Hide-Number: false Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/+19175997687@108.168.235.227 Unique-ID: fb3af20c-4280-4390-bac1-435dea084c0b Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: fb3af20c-4280-4390-bac1-435dea084c0b 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-Logical-Direction: inbound Caller-Username: +19175997687 Caller-Dialplan: XML Caller-Caller-ID-Name: +19175997687 Caller-Caller-ID-Number: +19175997687 Caller-Orig-Caller-ID-Name: +19175997687 Caller-Orig-Caller-ID-Number: +19175997687 Caller-Network-Addr: 52.53.248.193 Caller-ANI: +19175997687 Caller-Destination-Number: 15012229085 Caller-Unique-ID: fb3af20c-4280-4390-bac1-435dea084c0b Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/+19175997687@108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509988050621535 Caller-Channel-Created-Time: 1509988050621535 Caller-Channel-Answered-Time: 1509988050621535 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509988050621535 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: fb3af20c-4280-4390-bac1-435dea084c0b variable_session_id: 28 variable_sip_from_user: +19175997687 variable_sip_from_uri: +19175997687@108.168.235.227 variable_sip_from_host: 108.168.235.227 variable_video_media_flow: sendrecv variable_channel_name: sofia/external/+19175997687@108.168.235.227 variable_ep_codec_string: CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b variable_sip_local_network_addr: 54.183.67.223 variable_sip_network_ip: 52.53.248.193 variable_sip_network_port: 5060 variable_sip_received_ip: 52.53.248.193 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_from_user_stripped: 19175997687 variable_sofia_profile_name: external variable_recovery_profile_name: external variable_sip_P-Asserted-Identity: +19175997687 variable_sip_cid_type: pid variable_sip_invite_route_uri: <sip:52.53.248.193;lr;ftag=Nt8m6rt4UeteF;did=939.9111>,<sip:108.168.235.227;lr;ftag=Nt8m6rt4UeteF;did=939.736f93a3> variable_sip_invite_record_route: <sip:108.168.235.227;lr;ftag=Nt8m6rt4UeteF;did=939.736f93a3>,<sip:52.53.248.193;lr;ftag=Nt8m6rt4UeteF;did=939.9111> variable_sip_allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY variable_sip_req_user: 15012229085 variable_sip_req_uri: 15012229085@52.53.248.193 variable_sip_req_host: 52.53.248.193 variable_sip_to_user: 0015012229085 variable_sip_to_uri: 0015012229085@52.53.248.193 variable_sip_to_host: 52.53.248.193 variable_sip_contact_user: A1SIP variable_sip_contact_port: 5080 variable_sip_contact_uri: A1SIP@108.168.235.227:5080 variable_sip_contact_host: 108.168.235.227 variable_sip_user_agent: A1SIP variable_sip_via_host: 52.53.248.193 variable_sip_via_port: 5060 variable_max_forwards: 62 variable_sip_Privacy: none variable_sip_h_Diversion: <sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off variable_switch_r_sdp: v=0 o=A1SIP 1509963636 1509963637 IN IP4 108.168.235.227 s=A1SIP c=IN IP4 108.168.235.227 t=0 0 m=audio 24342 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 variable_DP_MATCH: ARRAY::15012229085|:15012229085 variable_call_uuid: fb3af20c-4280-4390-bac1-435dea084c0b variable_outside_call: true variable_RFC2822_DATE: Mon, 06 Nov 2017 17:07:30 +0000 variable_export_vars: RFC2822_DATE variable_audio_media_flow: sendrecv variable_rtp_use_codec_string: OPUS,G722,PCMU,PCMA,VP8 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU@8000h@20i@1c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_local_media_ip: 172.31.11.59 variable_local_media_port: 16838 variable_advertised_media_ip: 54.183.67.223 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 0 variable_rtp_use_ssrc: 1241746082 variable_rtp_2833_send_payload: 101 variable_rtp_2833_recv_payload: 101 variable_remote_media_ip: 108.168.235.227 variable_remote_media_port: 24342 variable_rtp_local_sdp_str: v=0 o=FreeSWITCH 1509971212 1509971213 IN IP4 54.183.67.223 s=FreeSWITCH c=IN IP4 54.183.67.223 t=0 0 m=audio 16838 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv variable_endpoint_disposition: ANSWER variable_sip_to_tag: 78rHerHXjyyKH variable_sip_from_tag: Nt8m6rt4UeteF variable_sip_cseq: 114657925 variable_sip_call_id: a5abd458-3db7-1236-3a82-002590f03f92 variable_sip_full_via: SIP/2.0/UDP 52.53.248.193:5060;branch=z9hG4bKc65d.b90d4d7139dd33db1b57d0a44f8db5a2.0,SIP/2.0/UDP 108.168.235.227:5060;rport=5060;branch=z9hG4bKc65d.229a9856.2,SIP/2.0/UDP 108.168.235.227:5080;received=108.168.235.227;rport=5080;branch=z9hG4bK134ZppF7Frvyg variable_sip_from_display: +19175997687 variable_sip_full_from: "+19175997687" <sip:+19175997687@108.168.235.227>;tag=Nt8m6rt4UeteF variable_sip_full_to: <sip:0015012229085@52.53.248.193>;tag=78rHerHXjyyKH variable_current_application_data: 127.0.0.1:8808 async full variable_current_application: socket variable_socket_host: 127.0.0.1 Content-Type: command/reply Reply-Text: +OK Socket-Mode: async Control: full 2017-11-06 17:07:31,659-outbound_socket-DEBUG : UUID of newly created inbound channel fb3af20c-4280-4390-bac1-435dea084c0b 2017-11-06 17:07:31,660-outbound_socket-DEBUG : Creating CALLOBJ for InboundCall with uuid: fb3af20c-4280-4390-bac1-435dea084c0b 2017-11-06 17:07:31,660-call-DEBUG : Setting channel vars on call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:31,660-outbound_socket-INFO : CALLOBJ created for new inbound call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:31,660-Backend-INFO : Getting Susbcriber details for call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:31,661-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-subscriber data: {"subscriber": "12019707887"} 2017-11-06 17:07:31,661-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029cb0> 2017-11-06 17:07:31,664-Backend-DEBUG : Sent data : {"subscriber": "12019707887"} 2017-11-06 17:07:31,719-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-subscriber 2017-11-06 17:07:31,719-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:07:31,720-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:07:31,720-Backend-DEBUG : Response Received: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:07:31,720-outbound_socket-DEBUG : Got subscriber result: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:07:31,720-Backend-INFO : Getting VM Preferences for call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:31,720-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-vm-preferences data: {"agent_number": "12019707887"} 2017-11-06 17:07:31,721-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029ea8> 2017-11-06 17:07:31,721-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029cb0> 2017-11-06 17:07:31,722-Backend-DEBUG : Sent data : {"agent_number": "12019707887"} 2017-11-06 17:07:31,731-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-vm-preferences 2017-11-06 17:07:31,731-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:07:31,732-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:07:31,732-Backend-DEBUG : Response Received: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:07:31,732-outbound_socket-INFO : Voicemial preferences received from backend: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:07:31,732-outbound_socket-DEBUG : Starting Process for voicemail preference change. 2017-11-06 17:07:31,732-call-DEBUG : Deleting VM Preferences. Executing Query : DELETE FROM voicemail_prefs WHERE username = '12019707887' 2017-11-06 17:07:31,732-txDB-DEBUG : Running query - ("\n DELETE FROM voicemail_prefs\n WHERE username = '12019707887'\n ",) 2017-11-06 17:07:31,732-outbound_socket-DEBUG : Starting IVR for the call <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:31,732-ivr-INFO : Starting IVR .. .. .. 2017-11-06 17:07:31,733-ivr-DEBUG : LRN LookUp: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=19175997687&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25 2017-11-06 17:07:31,733-PT-INFO : Starting factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=19175997687&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:07:31,733-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029ea8> 2017-11-06 17:07:31,733-txDB-DEBUG : Reconnecting MySQL ..... 2017-11-06 17:07:31,736-call-DEBUG : Query Result : () 2017-11-06 17:07:31,988-ivr-DEBUG : LRN Result: {u'CITY': u'FAR ROCKAWAY', u'LEC': u'CELLCO PARTNERSHIP DBA VERIZON WIRELESS - NY', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6959', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'13477520000', u'STATE': u'NY', u'LATA': u'132', u'SPID': u'6006'} 2017-11-06 17:07:31,988-ivr-INFO : Success lookup LRN for call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000>. LRN Result: {u'CITY': u'FAR ROCKAWAY', u'LEC': u'CELLCO PARTNERSHIP DBA VERIZON WIRELESS - NY', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6959', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'13477520000', u'STATE': u'NY', u'LATA': u'132', u'SPID': u'6006'} 2017-11-06 17:07:31,989-Backend-INFO : Getting Contact Info for call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:31,989-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-contact data: {"caller": "19175997687", "callee": "12019707887"} 2017-11-06 17:07:31,989-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x8ffabd8> 2017-11-06 17:07:31,989-PT-INFO : Stopping factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=19175997687&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:07:31,990-Backend-DEBUG : Sent data : {"caller": "19175997687", "callee": "12019707887"} 2017-11-06 17:07:32,018-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-contact 2017-11-06 17:07:32,018-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:07:32,019-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:07:32,019-Backend-DEBUG : Response Received: {u'code': 200, u'substitutes': {}, u'contact_id': u'8nWAw8zN', u's_in_callee': {u'color': u'#66ff99', u'p_type': True, u'id': 390789, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'19175997687', u'is_mobile': True, u'fname': u'Alex', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'9175997687', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'8nWAw8zN', u'notes': u'Dude', u'row_cid': u'937A20AF-5D26-4B98-A353-E57BB94FFE99', u'loc_cid': u'4E7AACE6-9682-406B-A4A1-6A6D5424089B', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'} 2017-11-06 17:07:32,019-ivr-INFO : Contact information received for call {u'code': 200, u'substitutes': {}, u'contact_id': u'8nWAw8zN', u's_in_callee': {u'color': u'#66ff99', u'p_type': True, u'id': 390789, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'19175997687', u'is_mobile': True, u'fname': u'Alex', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'9175997687', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'8nWAw8zN', u'notes': u'Dude', u'row_cid': u'937A20AF-5D26-4B98-A353-E57BB94FFE99', u'loc_cid': u'4E7AACE6-9682-406B-A4A1-6A6D5424089B', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'}: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:32,019-ivr-INFO : Choosing IVR .. .. .. 2017-11-06 17:07:32,019-ivr-DEBUG : Getting LRN of caller: 19175997687 2017-11-06 17:07:32,020-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"called_number": "12019707887", "contact_id": "8nWAw8zN", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509988052.019977, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+19175997687", "diversion": "<sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "fb3af20c-4280-4390-bac1-435dea084c0b", "vm_number": "15012229085", "caller_id_number": "19175997687", "contact_name": "Alex "} 2017-11-06 17:07:32,020-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c5440> 2017-11-06 17:07:32,020-ivr-DEBUG : Check Caller has return relationship or not. 2017-11-06 17:07:32,020-ivr-INFO : Mobile Caller. Starting Mobile IVR 2017-11-06 17:07:32,020-ivr-INFO : Check custom greetings available against caller or not. 2017-11-06 17:07:32,020-ivr-DEBUG : Play Default VM file : pt_sounds/default_vm_greeting.wav 2017-11-06 17:07:32,021-ivr-DEBUG : Playing brand sound on call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:32,021-ivr-INFO : Starting IVR For Mobile(Detection): <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:32,022-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x8ffabd8> 2017-11-06 17:07:32,024-ivr-DEBUG : Successfully executed IVR: PT_MOBILE on Call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:32,026-ivr-INFO : IVR completed on call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:32,026-ivr-DEBUG : HangingUp call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:32,026-Backend-DEBUG : Sent data : {"called_number": "12019707887", "contact_id": "8nWAw8zN", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509988052.019977, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+19175997687", "diversion": "<sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "fb3af20c-4280-4390-bac1-435dea084c0b", "vm_number": "15012229085", "caller_id_number": "19175997687", "contact_name": "Alex "} 2017-11-06 17:07:32,036-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:07:32,037-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:07:32,037-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:07:32,037-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:07:32,037-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c5440> 2017-11-06 17:07:32,049-ivr-INFO : IVR completed on call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:32,050-ivr-DEBUG : HangingUp call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:33,017-ivr-INFO : IVR completed on call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:33,018-ivr-DEBUG : HangingUp call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:42,402-ivr-DEBUG : EVENT EVENT EVENT MENU_ACTION From nobody Mon Nov 6 17:07:42 2017 Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2017-11-06%2017%3A07%3A42 Event-Date-GMT: Mon,%2006%20Nov%202017%2017%3A07%3A42%20GMT Event-Date-Timestamp: 1509988062381545 Event-Calling-File: mod_dptools.c Event-Calling-Function: event_function Event-Calling-Line-Number: 1758 Event-Sequence: 331353 Event-Name: MENU_ACTION action: voicemailSelected Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/%2B19175997687%40108.168.235.227 Unique-ID: fb3af20c-4280-4390-bac1-435dea084c0b Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: fb3af20c-4280-4390-bac1-435dea084c0b 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-Logical-Direction: inbound Caller-Username: %2B19175997687 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B19175997687 Caller-Caller-ID-Number: %2B19175997687 Caller-Orig-Caller-ID-Name: %2B19175997687 Caller-Orig-Caller-ID-Number: %2B19175997687 Caller-Network-Addr: 52.53.248.193 Caller-ANI: %2B19175997687 Caller-Destination-Number: 15012229085 Caller-Unique-ID: fb3af20c-4280-4390-bac1-435dea084c0b Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/%2B19175997687%40108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509988050621535 Caller-Channel-Created-Time: 1509988050621535 Caller-Channel-Answered-Time: 1509988050621535 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509988050621535 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false 2017-11-06 17:07:42,403-ivr-DEBUG : User selected voicemail on call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:42,404-ivr-INFO : IVR completed on call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:07:42,405-ivr-DEBUG : HangingUp call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:08:01,413-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:08:01,414-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:08:01,414-outbound_socket-INFO : Outbound socket connection closed for call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:08:01,414-PySWITCH-INFO : Cleaning up 2017-11-06 17:08:01,510-inbound_socket-INFO : Channel hangup event with uuid fb3af20c-4280-4390-bac1-435dea084c0b 2017-11-06 17:08:01,510-inbound_socket-DEBUG : Popping callobj with uuid fb3af20c-4280-4390-bac1-435dea084c0b 2017-11-06 17:08:01,511-inbound_socket-INFO : Going to process voicemail from inbound socket 2017-11-06 17:08:01,511-ivr-DEBUG : Processing voicemail for call: <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000> 2017-11-06 17:08:01,511-ivr-DEBUG : Requsting voicemail message details with FS API command: vm_fsdb_msg_get JSON default beta.tendant.com 12019707887 fb3af20c-4280-4390-bac1-435dea084c0b 2017-11-06 17:08:01,511-ivr-DEBUG : Outbound_voicemail_processed_status : False and inbound_voicemail_processed_status : True 2017-11-06 17:08:01,513-ivr-INFO : Successfully fetched the voicemail message(vm_fsdb_msg_get) for call <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000>. Result: From nobody Mon Nov 6 17:08:01 2017 Content-Type: api/response Content-Length: 1004 {"Event-Name":"REQUEST_PARAMS","Core-UUID":"3aa590bb-ee6f-4da8-8ef6-1aed409c64ac","FreeSWITCH-Hostname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-Switchname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-IPv4":"172.31.11.59","FreeSWITCH-IPv6":"::1","Event-Date-Local":"2017-11-06 17:08:01","Event-Date-GMT":"Mon, 06 Nov 2017 17:08:01 GMT","Event-Date-Timestamp":"1509988081501529","Event-Calling-File":"mod_voicemail.c","Event-Calling-Function":"vm_fsdb_msg_get_function","Event-Calling-Line-Number":"5955","Event-Sequence":"331392","VM-Message-Received-Epoch":"1509988081","VM-Message-Read-Epoch":"0","VM-Message-UUID":"fb3af20c-4280-4390-bac1-435dea084c0b","VM-Message-Caller-Name":"+19175997687","VM-Message-Caller-Number":"+19175997687","VM-Message-Folder":"inbox","VM-Message-File-Path":"/usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_96ae4e1f-0eeb-461b-9d39-20667531587a.wav","VM-Message-Duration":"11","VM-Message-Read-Flags":"B_NORMAL"} 2017-11-06 17:08:01,513-ivr-INFO : Absolute File path of voicemial store for call <Inbound Call fb3af20c-4280-4390-bac1-435dea084c0b at 151658000>: /usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_96ae4e1f-0eeb-461b-9d39-20667531587a.wav 2017-11-06 17:08:01,658-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9006b48> 2017-11-06 17:08:04,738-ivr-DEBUG : Speech response received. 2017-11-06 17:08:04,739-ivr-INFO : Speech response : {u'results': [{u'alternatives': [{u'confidence': 0.61890894, u'transcript': u'Wi-Fi Wi-Fi web getting ready for December 31st 2018 motherfucker. Call me back.'}]}]} 2017-11-06 17:08:04,739-ivr-DEBUG : Request received for send voicemail event. 2017-11-06 17:08:04,739-Backend-DEBUG : Sending EVENT VOICEMAIL request to backend - {'voicemail_number': '15012229085', 'timestamp': 1509988084.0, 'call_uuid': 'fb3af20c-4280-4390-bac1-435dea084c0b', 'caller_number': '19175997687', 'agent_number': '12019707887', 'caller_name': '+19175997687', 'chat_id': None, 'contact_name': u'Alex ', 'Event-Name': 'VOICEMAIL', 'transcribed_msg': u'Wi-Fi Wi-Fi web getting ready for December 31st 2018 motherfucker. Call me back.', 'contact_id': u'8nWAw8zN', 'is_mobile': True, 'is_international_caller': True, 'vm_file': u'https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_96ae4e1f-0eeb-461b-9d39-20667531587a.wav', 'callee': '12019707887'} 2017-11-06 17:08:04,739-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"voicemail_number": "15012229085", "timestamp": 1509988084.0, "call_uuid": "fb3af20c-4280-4390-bac1-435dea084c0b", "caller_number": "19175997687", "agent_number": "12019707887", "caller_name": "+19175997687", "chat_id": null, "contact_name": "Alex ", "Event-Name": "VOICEMAIL", "transcribed_msg": "Wi-Fi Wi-Fi web getting ready for December 31st 2018 motherfucker. Call me back.", "contact_id": "8nWAw8zN", "is_mobile": true, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_96ae4e1f-0eeb-461b-9d39-20667531587a.wav", "callee": "12019707887"} 2017-11-06 17:08:04,739-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x902bcf8> 2017-11-06 17:08:04,740-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9006b48> 2017-11-06 17:08:04,741-Backend-DEBUG : Sent data : {"voicemail_number": "15012229085", "timestamp": 1509988084.0, "call_uuid": "fb3af20c-4280-4390-bac1-435dea084c0b", "caller_number": "19175997687", "agent_number": "12019707887", "caller_name": "+19175997687", "chat_id": null, "contact_name": "Alex ", "Event-Name": "VOICEMAIL", "transcribed_msg": "Wi-Fi Wi-Fi web getting ready for December 31st 2018 motherfucker. Call me back.", "contact_id": "8nWAw8zN", "is_mobile": true, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_96ae4e1f-0eeb-461b-9d39-20667531587a.wav", "callee": "12019707887"} 2017-11-06 17:08:05,016-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:08:05,016-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:08:05,016-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:08:05,016-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:08:05,017-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x902bcf8> 2017-11-06 17:08:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:09:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:09:56,129-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:09:56,142-outbound_socket-INFO : Successfully new InboundCall [Outbound Socket](connection) created 2017-11-06 17:09:56,142-outbound_socket-INFO : Call Information Outbound Socket: From nobody Mon Nov 6 17:09:56 2017 Event-Name: CHANNEL_DATA Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: ::1 Event-Date-Local: 2017-11-06 17:09:56 Event-Date-GMT: Mon, 06 Nov 2017 17:09:56 GMT Event-Date-Timestamp: 1509988196121545 Event-Calling-File: mod_event_socket.c Event-Calling-Function: parse_command Event-Calling-Line-Number: 1996 Event-Sequence: 331434 Channel-Direction: inbound Channel-Logical-Direction: inbound Channel-Username: +19734628122 Channel-Dialplan: XML Channel-Caller-ID-Name: +19734628122 Channel-Caller-ID-Number: +19734628122 Channel-Orig-Caller-ID-Name: +19734628122 Channel-Orig-Caller-ID-Number: +19734628122 Channel-Network-Addr: 52.53.248.193 Channel-ANI: +19734628122 Channel-Destination-Number: 15012229085 Channel-Unique-ID: 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 Channel-Source: mod_sofia Channel-Context: public Channel-Channel-Name: sofia/external/+19734628122@108.168.235.227 Channel-Profile-Index: 1 Channel-Profile-Created-Time: 1509988195121533 Channel-Channel-Created-Time: 1509988195121533 Channel-Channel-Answered-Time: 1509988195121533 Channel-Channel-Progress-Time: 0 Channel-Channel-Progress-Media-Time: 1509988195121533 Channel-Channel-Hangup-Time: 0 Channel-Channel-Transfer-Time: 0 Channel-Channel-Resurrect-Time: 0 Channel-Channel-Bridged-Time: 0 Channel-Channel-Last-Hold: 0 Channel-Channel-Hold-Accum: 0 Channel-Screen-Bit: true Channel-Privacy-Hide-Name: false Channel-Privacy-Hide-Number: false Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/+19734628122@108.168.235.227 Unique-ID: 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 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-Logical-Direction: inbound Caller-Username: +19734628122 Caller-Dialplan: XML Caller-Caller-ID-Name: +19734628122 Caller-Caller-ID-Number: +19734628122 Caller-Orig-Caller-ID-Name: +19734628122 Caller-Orig-Caller-ID-Number: +19734628122 Caller-Network-Addr: 52.53.248.193 Caller-ANI: +19734628122 Caller-Destination-Number: 15012229085 Caller-Unique-ID: 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/+19734628122@108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509988195121533 Caller-Channel-Created-Time: 1509988195121533 Caller-Channel-Answered-Time: 1509988195121533 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509988195121533 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 variable_session_id: 29 variable_sip_from_user: +19734628122 variable_sip_from_uri: +19734628122@108.168.235.227 variable_sip_from_host: 108.168.235.227 variable_video_media_flow: sendrecv variable_channel_name: sofia/external/+19734628122@108.168.235.227 variable_ep_codec_string: CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b variable_sip_local_network_addr: 54.183.67.223 variable_sip_network_ip: 52.53.248.193 variable_sip_network_port: 5060 variable_sip_received_ip: 52.53.248.193 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_from_user_stripped: 19734628122 variable_sofia_profile_name: external variable_recovery_profile_name: external variable_sip_P-Asserted-Identity: +19734628122 variable_sip_cid_type: pid variable_sip_invite_route_uri: <sip:52.53.248.193;lr;ftag=7vFK6Z937eBZF;did=b0b.341>,<sip:108.168.235.227;lr;ftag=7vFK6Z937eBZF;did=b0b.f5dd51c> variable_sip_invite_record_route: <sip:108.168.235.227;lr;ftag=7vFK6Z937eBZF;did=b0b.f5dd51c>,<sip:52.53.248.193;lr;ftag=7vFK6Z937eBZF;did=b0b.341> variable_sip_allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY variable_sip_req_user: 15012229085 variable_sip_req_uri: 15012229085@52.53.248.193 variable_sip_req_host: 52.53.248.193 variable_sip_to_user: 0015012229085 variable_sip_to_uri: 0015012229085@52.53.248.193 variable_sip_to_host: 52.53.248.193 variable_sip_contact_user: A1SIP variable_sip_contact_port: 5080 variable_sip_contact_uri: A1SIP@108.168.235.227:5080 variable_sip_contact_host: 108.168.235.227 variable_sip_user_agent: A1SIP variable_sip_via_host: 52.53.248.193 variable_sip_via_port: 5060 variable_max_forwards: 62 variable_sip_Privacy: none variable_sip_h_Diversion: <sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off variable_switch_r_sdp: v=0 o=A1SIP 1509964161 1509964162 IN IP4 108.168.235.227 s=A1SIP c=IN IP4 108.168.235.227 t=0 0 m=audio 23962 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 variable_DP_MATCH: ARRAY::15012229085|:15012229085 variable_call_uuid: 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 variable_outside_call: true variable_RFC2822_DATE: Mon, 06 Nov 2017 17:09:55 +0000 variable_export_vars: RFC2822_DATE variable_audio_media_flow: sendrecv variable_rtp_use_codec_string: OPUS,G722,PCMU,PCMA,VP8 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU@8000h@20i@1c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_local_media_ip: 172.31.11.59 variable_local_media_port: 17462 variable_advertised_media_ip: 54.183.67.223 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 0 variable_rtp_use_ssrc: 1241791315 variable_rtp_2833_send_payload: 101 variable_rtp_2833_recv_payload: 101 variable_remote_media_ip: 108.168.235.227 variable_remote_media_port: 23962 variable_rtp_local_sdp_str: v=0 o=FreeSWITCH 1509970733 1509970734 IN IP4 54.183.67.223 s=FreeSWITCH c=IN IP4 54.183.67.223 t=0 0 m=audio 17462 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv variable_endpoint_disposition: ANSWER variable_sip_to_tag: 8HjagK20F7m6c variable_sip_from_tag: 7vFK6Z937eBZF variable_sip_cseq: 114657997 variable_sip_call_id: fbca80c2-3db7-1236-3a82-002590f03f92 variable_sip_full_via: SIP/2.0/UDP 52.53.248.193:5060;branch=z9hG4bK5471.6272225d15567c1502d7bb9f6da4758a.0,SIP/2.0/UDP 108.168.235.227:5060;rport=5060;branch=z9hG4bK5471.eae16ed4.2,SIP/2.0/UDP 108.168.235.227:5080;received=108.168.235.227;rport=5080;branch=z9hG4bKF26tFHUr7mm4j variable_sip_from_display: +19734628122 variable_sip_full_from: "+19734628122" <sip:+19734628122@108.168.235.227>;tag=7vFK6Z937eBZF variable_sip_full_to: <sip:0015012229085@52.53.248.193>;tag=8HjagK20F7m6c variable_current_application_data: 127.0.0.1:8808 async full variable_current_application: socket variable_socket_host: 127.0.0.1 Content-Type: command/reply Reply-Text: +OK Socket-Mode: async Control: full 2017-11-06 17:09:56,145-outbound_socket-DEBUG : UUID of newly created inbound channel 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 2017-11-06 17:09:56,145-outbound_socket-DEBUG : Creating CALLOBJ for InboundCall with uuid: 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 2017-11-06 17:09:56,145-call-DEBUG : Setting channel vars on call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,146-outbound_socket-INFO : CALLOBJ created for new inbound call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,146-Backend-INFO : Getting Susbcriber details for call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,146-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-subscriber data: {"subscriber": "12019707887"} 2017-11-06 17:09:56,146-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9027638> 2017-11-06 17:09:56,149-Backend-DEBUG : Sent data : {"subscriber": "12019707887"} 2017-11-06 17:09:56,175-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-subscriber 2017-11-06 17:09:56,175-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:09:56,175-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:09:56,175-Backend-DEBUG : Response Received: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:09:56,175-outbound_socket-DEBUG : Got subscriber result: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:09:56,175-Backend-INFO : Getting VM Preferences for call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,176-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-vm-preferences data: {"agent_number": "12019707887"} 2017-11-06 17:09:56,176-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029b00> 2017-11-06 17:09:56,176-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9027638> 2017-11-06 17:09:56,177-Backend-DEBUG : Sent data : {"agent_number": "12019707887"} 2017-11-06 17:09:56,186-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-vm-preferences 2017-11-06 17:09:56,186-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:09:56,186-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:09:56,186-Backend-DEBUG : Response Received: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:09:56,187-outbound_socket-INFO : Voicemial preferences received from backend: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:09:56,187-outbound_socket-DEBUG : Starting Process for voicemail preference change. 2017-11-06 17:09:56,187-call-DEBUG : Deleting VM Preferences. Executing Query : DELETE FROM voicemail_prefs WHERE username = '12019707887' 2017-11-06 17:09:56,187-txDB-DEBUG : Running query - ("\n DELETE FROM voicemail_prefs\n WHERE username = '12019707887'\n ",) 2017-11-06 17:09:56,187-outbound_socket-DEBUG : Starting IVR for the call <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,187-ivr-INFO : Starting IVR .. .. .. 2017-11-06 17:09:56,187-ivr-DEBUG : LRN LookUp: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=19734628122&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25 2017-11-06 17:09:56,188-PT-INFO : Starting factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=19734628122&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:09:56,188-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029b00> 2017-11-06 17:09:56,188-txDB-DEBUG : Reconnecting MySQL ..... 2017-11-06 17:09:56,192-call-DEBUG : Query Result : () 2017-11-06 17:09:56,513-ivr-DEBUG : LRN Result: {u'CITY': u'MORRISTOWN', u'LEC': u'OMNIPOINT COMMUNICATIONS, INC. - NJ', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6623', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'19734628122', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:09:56,513-ivr-INFO : Success lookup LRN for call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600>. LRN Result: {u'CITY': u'MORRISTOWN', u'LEC': u'OMNIPOINT COMMUNICATIONS, INC. - NJ', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6623', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'19734628122', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:09:56,513-Backend-INFO : Getting Contact Info for call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,514-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-contact data: {"caller": "19734628122", "callee": "12019707887"} 2017-11-06 17:09:56,514-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9027128> 2017-11-06 17:09:56,514-PT-INFO : Stopping factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=19734628122&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:09:56,515-Backend-DEBUG : Sent data : {"caller": "19734628122", "callee": "12019707887"} 2017-11-06 17:09:56,540-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-contact 2017-11-06 17:09:56,540-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:09:56,540-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:09:56,540-Backend-DEBUG : Response Received: {u'code': 200, u'substitutes': {}, u'contact_id': u'hFMrQuT6', u's_in_callee': {u'color': u'#fecbb6', u'p_type': True, u'id': 391068, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'19734628122', u'is_mobile': True, u'fname': u'Diana', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'9734628122', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'hFMrQuT6', u'notes': u'', u'row_cid': u'2E6CCE27-070F-413C-8B2D-9404E8A83835', u'loc_cid': u'F265FEE8-9C43-4050-B09F-731D831F9CB7', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'} 2017-11-06 17:09:56,541-ivr-INFO : Contact information received for call {u'code': 200, u'substitutes': {}, u'contact_id': u'hFMrQuT6', u's_in_callee': {u'color': u'#fecbb6', u'p_type': True, u'id': 391068, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'19734628122', u'is_mobile': True, u'fname': u'Diana', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'9734628122', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'hFMrQuT6', u'notes': u'', u'row_cid': u'2E6CCE27-070F-413C-8B2D-9404E8A83835', u'loc_cid': u'F265FEE8-9C43-4050-B09F-731D831F9CB7', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'}: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,541-ivr-INFO : Choosing IVR .. .. .. 2017-11-06 17:09:56,541-ivr-DEBUG : Getting LRN of caller: 19734628122 2017-11-06 17:09:56,541-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"called_number": "12019707887", "contact_id": "hFMrQuT6", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509988196.541823, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+19734628122", "diversion": "<sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "54c3c2cd-5bb9-473d-85bb-da6a48670cc7", "vm_number": "15012229085", "caller_id_number": "19734628122", "contact_name": "Diana "} 2017-11-06 17:09:56,542-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90abe60> 2017-11-06 17:09:56,542-ivr-DEBUG : Check Caller has return relationship or not. 2017-11-06 17:09:56,542-ivr-INFO : Mobile Caller. Starting Mobile IVR 2017-11-06 17:09:56,542-ivr-INFO : Check custom greetings available against caller or not. 2017-11-06 17:09:56,542-ivr-DEBUG : Play Default VM file : pt_sounds/default_vm_greeting.wav 2017-11-06 17:09:56,542-ivr-DEBUG : Playing brand sound on call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,543-ivr-INFO : Starting IVR For Mobile(Detection): <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,543-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9027128> 2017-11-06 17:09:56,544-ivr-DEBUG : Successfully executed IVR: PT_MOBILE on Call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,545-Backend-DEBUG : Sent data : {"called_number": "12019707887", "contact_id": "hFMrQuT6", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509988196.541823, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+19734628122", "diversion": "<sip:+12019707887@fl.gg>;reason=user-busy;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "54c3c2cd-5bb9-473d-85bb-da6a48670cc7", "vm_number": "15012229085", "caller_id_number": "19734628122", "contact_name": "Diana "} 2017-11-06 17:09:56,559-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:09:56,559-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:09:56,559-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:09:56,559-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:09:56,560-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90abe60> 2017-11-06 17:09:56,567-ivr-INFO : IVR completed on call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,567-ivr-DEBUG : HangingUp call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,570-ivr-INFO : IVR completed on call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:56,570-ivr-DEBUG : HangingUp call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:57,517-ivr-INFO : IVR completed on call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:57,517-ivr-DEBUG : HangingUp call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:09:59,160-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:09:59,161-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 17:10:07,506-ivr-DEBUG : EVENT EVENT EVENT MENU_ACTION From nobody Mon Nov 6 17:10:07 2017 Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2017-11-06%2017%3A10%3A07 Event-Date-GMT: Mon,%2006%20Nov%202017%2017%3A10%3A07%20GMT Event-Date-Timestamp: 1509988207461532 Event-Calling-File: mod_dptools.c Event-Calling-Function: event_function Event-Calling-Line-Number: 1758 Event-Sequence: 331468 Event-Name: MENU_ACTION action: voicemailSelected Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/%2B19734628122%40108.168.235.227 Unique-ID: 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 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-Logical-Direction: inbound Caller-Username: %2B19734628122 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B19734628122 Caller-Caller-ID-Number: %2B19734628122 Caller-Orig-Caller-ID-Name: %2B19734628122 Caller-Orig-Caller-ID-Number: %2B19734628122 Caller-Network-Addr: 52.53.248.193 Caller-ANI: %2B19734628122 Caller-Destination-Number: 15012229085 Caller-Unique-ID: 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/%2B19734628122%40108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509988195121533 Caller-Channel-Created-Time: 1509988195121533 Caller-Channel-Answered-Time: 1509988195121533 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509988195121533 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false 2017-11-06 17:10:07,507-ivr-DEBUG : User selected voicemail on call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:10:07,509-ivr-INFO : IVR completed on call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:10:07,509-ivr-DEBUG : HangingUp call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:10:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:10:08,715-inbound_socket-DEBUG : Stale Call Check Duraion: 12.0 max_duration: 3600.0 2017-11-06 17:10:19,930-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:10:19,930-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:10:19,930-outbound_socket-INFO : Outbound socket connection closed for call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:10:19,930-PySWITCH-INFO : Cleaning up 2017-11-06 17:10:20,007-inbound_socket-INFO : Channel hangup event with uuid 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 2017-11-06 17:10:20,007-inbound_socket-DEBUG : Popping callobj with uuid 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 2017-11-06 17:10:20,008-inbound_socket-INFO : Going to process voicemail from inbound socket 2017-11-06 17:10:20,008-ivr-DEBUG : Processing voicemail for call: <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600> 2017-11-06 17:10:20,008-ivr-DEBUG : Requsting voicemail message details with FS API command: vm_fsdb_msg_get JSON default beta.tendant.com 12019707887 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 2017-11-06 17:10:20,008-ivr-DEBUG : Outbound_voicemail_processed_status : False and inbound_voicemail_processed_status : True 2017-11-06 17:10:20,010-ivr-INFO : Successfully fetched the voicemail message(vm_fsdb_msg_get) for call <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600>. Result: From nobody Mon Nov 6 17:10:20 2017 Content-Type: api/response Content-Length: 1003 {"Event-Name":"REQUEST_PARAMS","Core-UUID":"3aa590bb-ee6f-4da8-8ef6-1aed409c64ac","FreeSWITCH-Hostname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-Switchname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-IPv4":"172.31.11.59","FreeSWITCH-IPv6":"::1","Event-Date-Local":"2017-11-06 17:10:20","Event-Date-GMT":"Mon, 06 Nov 2017 17:10:20 GMT","Event-Date-Timestamp":"1509988220001524","Event-Calling-File":"mod_voicemail.c","Event-Calling-Function":"vm_fsdb_msg_get_function","Event-Calling-Line-Number":"5955","Event-Sequence":"331505","VM-Message-Received-Epoch":"1509988219","VM-Message-Read-Epoch":"0","VM-Message-UUID":"54c3c2cd-5bb9-473d-85bb-da6a48670cc7","VM-Message-Caller-Name":"+19734628122","VM-Message-Caller-Number":"+19734628122","VM-Message-Folder":"inbox","VM-Message-File-Path":"/usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_ca6025fd-8d9d-4f44-8fd5-55a8adbe1b09.wav","VM-Message-Duration":"4","VM-Message-Read-Flags":"B_NORMAL"} 2017-11-06 17:10:20,010-ivr-INFO : Absolute File path of voicemial store for call <Inbound Call 54c3c2cd-5bb9-473d-85bb-da6a48670cc7 at 150987600>: /usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_ca6025fd-8d9d-4f44-8fd5-55a8adbe1b09.wav 2017-11-06 17:10:20,149-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90afea8> 2017-11-06 17:10:21,234-ivr-DEBUG : Speech response received. 2017-11-06 17:10:21,234-ivr-INFO : Speech response : {u'results': [{u'alternatives': [{u'confidence': 0.7999034, u'transcript': u"I'm leaving you a message. Goodbye."}]}]} 2017-11-06 17:10:21,234-ivr-DEBUG : Request received for send voicemail event. 2017-11-06 17:10:21,234-Backend-DEBUG : Sending EVENT VOICEMAIL request to backend - {'voicemail_number': '15012229085', 'timestamp': 1509988221.0, 'call_uuid': '54c3c2cd-5bb9-473d-85bb-da6a48670cc7', 'caller_number': '19734628122', 'agent_number': '12019707887', 'caller_name': '+19734628122', 'chat_id': None, 'contact_name': u'Diana ', 'Event-Name': 'VOICEMAIL', 'transcribed_msg': u"I'm leaving you a message. Goodbye.", 'contact_id': u'hFMrQuT6', 'is_mobile': True, 'is_international_caller': True, 'vm_file': u'https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_ca6025fd-8d9d-4f44-8fd5-55a8adbe1b09.wav', 'callee': '12019707887'} 2017-11-06 17:10:21,235-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"voicemail_number": "15012229085", "timestamp": 1509988221.0, "call_uuid": "54c3c2cd-5bb9-473d-85bb-da6a48670cc7", "caller_number": "19734628122", "agent_number": "12019707887", "caller_name": "+19734628122", "chat_id": null, "contact_name": "Diana ", "Event-Name": "VOICEMAIL", "transcribed_msg": "I'm leaving you a message. Goodbye.", "contact_id": "hFMrQuT6", "is_mobile": true, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_ca6025fd-8d9d-4f44-8fd5-55a8adbe1b09.wav", "callee": "12019707887"} 2017-11-06 17:10:21,235-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90abe60> 2017-11-06 17:10:21,236-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90afea8> 2017-11-06 17:10:21,236-Backend-DEBUG : Sent data : {"voicemail_number": "15012229085", "timestamp": 1509988221.0, "call_uuid": "54c3c2cd-5bb9-473d-85bb-da6a48670cc7", "caller_number": "19734628122", "agent_number": "12019707887", "caller_name": "+19734628122", "chat_id": null, "contact_name": "Diana ", "Event-Name": "VOICEMAIL", "transcribed_msg": "I'm leaving you a message. Goodbye.", "contact_id": "hFMrQuT6", "is_mobile": true, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_ca6025fd-8d9d-4f44-8fd5-55a8adbe1b09.wav", "callee": "12019707887"} 2017-11-06 17:10:21,745-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:10:21,745-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:10:21,746-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:10:21,746-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:10:21,746-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90abe60> 2017-11-06 17:11:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:12:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:13:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:14:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:14:59,154-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:14:59,155-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 17:15:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:16:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:17:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:18:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:18:36,469-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:18:36,483-outbound_socket-INFO : Successfully new InboundCall [Outbound Socket](connection) created 2017-11-06 17:18:36,483-outbound_socket-INFO : Call Information Outbound Socket: From nobody Mon Nov 6 17:18:36 2017 Event-Name: CHANNEL_DATA Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: ::1 Event-Date-Local: 2017-11-06 17:18:36 Event-Date-GMT: Mon, 06 Nov 2017 17:18:36 GMT Event-Date-Timestamp: 1509988716461541 Event-Calling-File: mod_event_socket.c Event-Calling-Function: parse_command Event-Calling-Line-Number: 1996 Event-Sequence: 331592 Channel-Direction: inbound Channel-Logical-Direction: inbound Channel-Username: +12013421729 Channel-Dialplan: XML Channel-Caller-ID-Name: +12013421729 Channel-Caller-ID-Number: +12013421729 Channel-Orig-Caller-ID-Name: +12013421729 Channel-Orig-Caller-ID-Number: +12013421729 Channel-Network-Addr: 52.53.248.193 Channel-ANI: +12013421729 Channel-Destination-Number: 15012229085 Channel-Unique-ID: e34a3dd9-9e80-4d42-a427-0b1df47f6804 Channel-Source: mod_sofia Channel-Context: public Channel-Channel-Name: sofia/external/+12013421729@108.168.235.227 Channel-Profile-Index: 1 Channel-Profile-Created-Time: 1509988715441534 Channel-Channel-Created-Time: 1509988715441534 Channel-Channel-Answered-Time: 1509988715441534 Channel-Channel-Progress-Time: 0 Channel-Channel-Progress-Media-Time: 1509988715441534 Channel-Channel-Hangup-Time: 0 Channel-Channel-Transfer-Time: 0 Channel-Channel-Resurrect-Time: 0 Channel-Channel-Bridged-Time: 0 Channel-Channel-Last-Hold: 0 Channel-Channel-Hold-Accum: 0 Channel-Screen-Bit: true Channel-Privacy-Hide-Name: false Channel-Privacy-Hide-Number: false Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/+12013421729@108.168.235.227 Unique-ID: e34a3dd9-9e80-4d42-a427-0b1df47f6804 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: e34a3dd9-9e80-4d42-a427-0b1df47f6804 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-Logical-Direction: inbound Caller-Username: +12013421729 Caller-Dialplan: XML Caller-Caller-ID-Name: +12013421729 Caller-Caller-ID-Number: +12013421729 Caller-Orig-Caller-ID-Name: +12013421729 Caller-Orig-Caller-ID-Number: +12013421729 Caller-Network-Addr: 52.53.248.193 Caller-ANI: +12013421729 Caller-Destination-Number: 15012229085 Caller-Unique-ID: e34a3dd9-9e80-4d42-a427-0b1df47f6804 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/+12013421729@108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509988715441534 Caller-Channel-Created-Time: 1509988715441534 Caller-Channel-Answered-Time: 1509988715441534 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509988715441534 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: e34a3dd9-9e80-4d42-a427-0b1df47f6804 variable_session_id: 30 variable_sip_from_user: +12013421729 variable_sip_from_uri: +12013421729@108.168.235.227 variable_sip_from_host: 108.168.235.227 variable_video_media_flow: sendrecv variable_channel_name: sofia/external/+12013421729@108.168.235.227 variable_ep_codec_string: CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b variable_sip_local_network_addr: 54.183.67.223 variable_sip_network_ip: 52.53.248.193 variable_sip_network_port: 5060 variable_sip_received_ip: 52.53.248.193 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_from_user_stripped: 12013421729 variable_sofia_profile_name: external variable_recovery_profile_name: external variable_sip_P-Asserted-Identity: +12013421729 variable_sip_cid_type: pid variable_sip_invite_route_uri: <sip:52.53.248.193;lr;ftag=6N8cp8e2H06rS;did=89.10b2>,<sip:108.168.235.227;lr;ftag=6N8cp8e2H06rS;did=89.016af1f> variable_sip_invite_record_route: <sip:108.168.235.227;lr;ftag=6N8cp8e2H06rS;did=89.016af1f>,<sip:52.53.248.193;lr;ftag=6N8cp8e2H06rS;did=89.10b2> variable_sip_allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY variable_sip_req_user: 15012229085 variable_sip_req_uri: 15012229085@52.53.248.193 variable_sip_req_host: 52.53.248.193 variable_sip_to_user: 0015012229085 variable_sip_to_uri: 0015012229085@52.53.248.193 variable_sip_to_host: 52.53.248.193 variable_sip_contact_user: A1SIP variable_sip_contact_port: 5080 variable_sip_contact_uri: A1SIP@108.168.235.227:5080 variable_sip_contact_host: 108.168.235.227 variable_sip_user_agent: A1SIP variable_sip_via_host: 52.53.248.193 variable_sip_via_port: 5060 variable_max_forwards: 62 variable_sip_Privacy: none variable_sip_h_Diversion: <sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off variable_switch_r_sdp: v=0 o=A1SIP 1509962199 1509962200 IN IP4 108.168.235.227 s=A1SIP c=IN IP4 108.168.235.227 t=0 0 m=audio 26444 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 variable_DP_MATCH: ARRAY::15012229085|:15012229085 variable_call_uuid: e34a3dd9-9e80-4d42-a427-0b1df47f6804 variable_outside_call: true variable_RFC2822_DATE: Mon, 06 Nov 2017 17:18:35 +0000 variable_export_vars: RFC2822_DATE variable_audio_media_flow: sendrecv variable_rtp_use_codec_string: OPUS,G722,PCMU,PCMA,VP8 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU@8000h@20i@1c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_local_media_ip: 172.31.11.59 variable_local_media_port: 21934 variable_advertised_media_ip: 54.183.67.223 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 0 variable_rtp_use_ssrc: 1241746747 variable_rtp_2833_send_payload: 101 variable_rtp_2833_recv_payload: 101 variable_remote_media_ip: 108.168.235.227 variable_remote_media_port: 26444 variable_rtp_local_sdp_str: v=0 o=FreeSWITCH 1509966781 1509966782 IN IP4 54.183.67.223 s=FreeSWITCH c=IN IP4 54.183.67.223 t=0 0 m=audio 21934 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv variable_endpoint_disposition: ANSWER variable_sip_to_tag: 9tB3HeK4cgBSr variable_sip_from_tag: 6N8cp8e2H06rS variable_sip_cseq: 114658257 variable_sip_call_id: 31ecf9b5-3db9-1236-3a82-002590f03f92 variable_sip_full_via: SIP/2.0/UDP 52.53.248.193:5060;branch=z9hG4bKc35d.0ca6004dcdbeed97a8e2f9988086f6fa.0,SIP/2.0/UDP 108.168.235.227:5060;rport=5060;branch=z9hG4bKc35d.cb6ca1d.2,SIP/2.0/UDP 108.168.235.227:5080;received=108.168.235.227;rport=5080;branch=z9hG4bK4ZS3m9v2ag8cp variable_sip_from_display: +12013421729 variable_sip_full_from: "+12013421729" <sip:+12013421729@108.168.235.227>;tag=6N8cp8e2H06rS variable_sip_full_to: <sip:0015012229085@52.53.248.193>;tag=9tB3HeK4cgBSr variable_current_application_data: 127.0.0.1:8808 async full variable_current_application: socket variable_socket_host: 127.0.0.1 Content-Type: command/reply Reply-Text: +OK Socket-Mode: async Control: full 2017-11-06 17:18:36,485-outbound_socket-DEBUG : UUID of newly created inbound channel e34a3dd9-9e80-4d42-a427-0b1df47f6804 2017-11-06 17:18:36,485-outbound_socket-DEBUG : Creating CALLOBJ for InboundCall with uuid: e34a3dd9-9e80-4d42-a427-0b1df47f6804 2017-11-06 17:18:36,486-call-DEBUG : Setting channel vars on call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,486-outbound_socket-INFO : CALLOBJ created for new inbound call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,486-Backend-INFO : Getting Susbcriber details for call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,486-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-subscriber data: {"subscriber": "12019707887"} 2017-11-06 17:18:36,487-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9023830> 2017-11-06 17:18:36,489-Backend-DEBUG : Sent data : {"subscriber": "12019707887"} 2017-11-06 17:18:36,515-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-subscriber 2017-11-06 17:18:36,515-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:18:36,515-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:18:36,515-Backend-DEBUG : Response Received: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:18:36,516-outbound_socket-DEBUG : Got subscriber result: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:18:36,516-Backend-INFO : Getting VM Preferences for call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,516-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-vm-preferences data: {"agent_number": "12019707887"} 2017-11-06 17:18:36,516-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9006908> 2017-11-06 17:18:36,517-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9023830> 2017-11-06 17:18:36,517-Backend-DEBUG : Sent data : {"agent_number": "12019707887"} 2017-11-06 17:18:36,526-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-vm-preferences 2017-11-06 17:18:36,527-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:18:36,527-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:18:36,527-Backend-DEBUG : Response Received: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:18:36,527-outbound_socket-INFO : Voicemial preferences received from backend: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:18:36,527-outbound_socket-DEBUG : Starting Process for voicemail preference change. 2017-11-06 17:18:36,527-call-DEBUG : Deleting VM Preferences. Executing Query : DELETE FROM voicemail_prefs WHERE username = '12019707887' 2017-11-06 17:18:36,527-txDB-DEBUG : Running query - ("\n DELETE FROM voicemail_prefs\n WHERE username = '12019707887'\n ",) 2017-11-06 17:18:36,528-outbound_socket-DEBUG : Starting IVR for the call <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,528-ivr-INFO : Starting IVR .. .. .. 2017-11-06 17:18:36,528-ivr-DEBUG : LRN LookUp: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013421729&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25 2017-11-06 17:18:36,528-PT-INFO : Starting factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013421729&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:18:36,529-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9006908> 2017-11-06 17:18:36,529-txDB-DEBUG : Reconnecting MySQL ..... 2017-11-06 17:18:36,530-call-DEBUG : Query Result : () 2017-11-06 17:18:36,692-ivr-DEBUG : LRN Result: {u'CITY': u'HACKENSACK', u'LEC': u'VERIZON NEW JERSEY, INC.', u'LINETYPE': u'LANDLINE', u'DNC': None, u'OCN': u'9206', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12013421729', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:18:36,692-ivr-INFO : Success lookup LRN for call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768>. LRN Result: {u'CITY': u'HACKENSACK', u'LEC': u'VERIZON NEW JERSEY, INC.', u'LINETYPE': u'LANDLINE', u'DNC': None, u'OCN': u'9206', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12013421729', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:18:36,692-Backend-INFO : Getting Contact Info for call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,692-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-contact data: {"caller": "12013421729", "callee": "12019707887"} 2017-11-06 17:18:36,693-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029cb0> 2017-11-06 17:18:36,693-PT-INFO : Stopping factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013421729&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:18:36,694-Backend-DEBUG : Sent data : {"caller": "12013421729", "callee": "12019707887"} 2017-11-06 17:18:36,719-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-contact 2017-11-06 17:18:36,719-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:18:36,719-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:18:36,719-Backend-DEBUG : Response Received: {u'code': 200, u'substitutes': {}, u'contact_id': u'xJQhXeVG', u's_in_callee': {u'color': u'#cceeff', u'p_type': True, u'id': 391600, u'phone_label': u'home', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'12013421729', u'is_mobile': False, u'fname': u'Office', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'2013421729', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'xJQhXeVG', u'notes': u'', u'row_cid': u'49AF78E1-E398-455D-A037-4A3987A41657', u'loc_cid': u'61AA1372-7A9B-4676-A95A-AD5303589C94', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'} 2017-11-06 17:18:36,719-ivr-INFO : Contact information received for call {u'code': 200, u'substitutes': {}, u'contact_id': u'xJQhXeVG', u's_in_callee': {u'color': u'#cceeff', u'p_type': True, u'id': 391600, u'phone_label': u'home', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'12013421729', u'is_mobile': False, u'fname': u'Office', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'2013421729', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'xJQhXeVG', u'notes': u'', u'row_cid': u'49AF78E1-E398-455D-A037-4A3987A41657', u'loc_cid': u'61AA1372-7A9B-4676-A95A-AD5303589C94', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'}: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,720-ivr-INFO : Choosing IVR .. .. .. 2017-11-06 17:18:36,720-ivr-DEBUG : Getting LRN of caller: 12013421729 2017-11-06 17:18:36,720-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"called_number": "12019707887", "contact_id": "xJQhXeVG", "Line-Type": "LANDLINE", "agent_number": "12019707887", "timestamp": 1509988716.720322, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12013421729", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": false, "chat_id": null, "is_international_caller": true, "call_uuid": "e34a3dd9-9e80-4d42-a427-0b1df47f6804", "vm_number": "15012229085", "caller_id_number": "12013421729", "contact_name": "Office "} 2017-11-06 17:18:36,720-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9099d88> 2017-11-06 17:18:36,720-ivr-DEBUG : Check Caller has return relationship or not. 2017-11-06 17:18:36,720-ivr-INFO : LandLine Caller. Starting LandLine IVR 2017-11-06 17:18:36,721-ivr-INFO : Check custom greetings available against caller or not. 2017-11-06 17:18:36,721-ivr-DEBUG : Play Default VM file : pt_sounds/default_vm_greeting.wav 2017-11-06 17:18:36,721-ivr-DEBUG : Playing brand sound on call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,721-ivr-INFO : Starting LandLine IVR: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,722-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029cb0> 2017-11-06 17:18:36,723-ivr-DEBUG : Successfully executed IVR: PT_LANDLINE on Call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,723-Backend-DEBUG : Sent data : {"called_number": "12019707887", "contact_id": "xJQhXeVG", "Line-Type": "LANDLINE", "agent_number": "12019707887", "timestamp": 1509988716.720322, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12013421729", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": false, "chat_id": null, "is_international_caller": true, "call_uuid": "e34a3dd9-9e80-4d42-a427-0b1df47f6804", "vm_number": "15012229085", "caller_id_number": "12013421729", "contact_name": "Office "} 2017-11-06 17:18:36,735-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:18:36,735-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:18:36,735-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:18:36,735-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:18:36,736-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9099d88> 2017-11-06 17:18:36,745-ivr-INFO : IVR completed on call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,746-ivr-DEBUG : HangingUp call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,748-ivr-INFO : IVR completed on call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:36,748-ivr-DEBUG : HangingUp call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:37,695-ivr-INFO : IVR completed on call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:37,696-ivr-DEBUG : HangingUp call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:39,347-ivr-DEBUG : EVENT EVENT EVENT MENU_ACTION From nobody Mon Nov 6 17:18:39 2017 Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2017-11-06%2017%3A18%3A39 Event-Date-GMT: Mon,%2006%20Nov%202017%2017%3A18%3A39%20GMT Event-Date-Timestamp: 1509988719321540 Event-Calling-File: mod_dptools.c Event-Calling-Function: event_function Event-Calling-Line-Number: 1758 Event-Sequence: 331621 Event-Name: MENU_ACTION action: voicemailSelected Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/%2B12013421729%40108.168.235.227 Unique-ID: e34a3dd9-9e80-4d42-a427-0b1df47f6804 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: e34a3dd9-9e80-4d42-a427-0b1df47f6804 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-Logical-Direction: inbound Caller-Username: %2B12013421729 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B12013421729 Caller-Caller-ID-Number: %2B12013421729 Caller-Orig-Caller-ID-Name: %2B12013421729 Caller-Orig-Caller-ID-Number: %2B12013421729 Caller-Network-Addr: 52.53.248.193 Caller-ANI: %2B12013421729 Caller-Destination-Number: 15012229085 Caller-Unique-ID: e34a3dd9-9e80-4d42-a427-0b1df47f6804 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/%2B12013421729%40108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509988715441534 Caller-Channel-Created-Time: 1509988715441534 Caller-Channel-Answered-Time: 1509988715441534 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509988715441534 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false 2017-11-06 17:18:39,348-ivr-DEBUG : User selected voicemail on call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:39,350-ivr-INFO : IVR completed on call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:39,350-ivr-DEBUG : HangingUp call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,804-inbound_socket-INFO : Channel hangup event with uuid e34a3dd9-9e80-4d42-a427-0b1df47f6804 2017-11-06 17:18:58,804-inbound_socket-DEBUG : Popping callobj with uuid e34a3dd9-9e80-4d42-a427-0b1df47f6804 2017-11-06 17:18:58,804-inbound_socket-INFO : Going to process voicemail from inbound socket 2017-11-06 17:18:58,804-ivr-DEBUG : Processing voicemail for call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,804-ivr-DEBUG : Requsting voicemail message details with FS API command: vm_fsdb_msg_get JSON default beta.tendant.com 12019707887 e34a3dd9-9e80-4d42-a427-0b1df47f6804 2017-11-06 17:18:58,804-ivr-DEBUG : Outbound_voicemail_processed_status : False and inbound_voicemail_processed_status : True 2017-11-06 17:18:58,808-ivr-INFO : IVR completed on call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,809-ivr-DEBUG : HangingUp call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,810-ivr-DEBUG : EVENT EVENT EVENT MENU_ACTION From nobody Mon Nov 6 17:18:58 2017 Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2017-11-06%2017%3A18%3A58 Event-Date-GMT: Mon,%2006%20Nov%202017%2017%3A18%3A58%20GMT Event-Date-Timestamp: 1509988738761543 Event-Calling-File: mod_dptools.c Event-Calling-Function: event_function Event-Calling-Line-Number: 1758 Event-Sequence: 331645 Event-Name: MENU_ACTION action: processVoicemail Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 10 Channel-Name: sofia/external/%2B12013421729%40108.168.235.227 Unique-ID: e34a3dd9-9e80-4d42-a427-0b1df47f6804 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: e34a3dd9-9e80-4d42-a427-0b1df47f6804 Answer-State: hangup Hangup-Cause: NORMAL_CLEARING 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-Logical-Direction: inbound Caller-Username: %2B12013421729 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B12013421729 Caller-Caller-ID-Number: %2B12013421729 Caller-Orig-Caller-ID-Name: %2B12013421729 Caller-Orig-Caller-ID-Number: %2B12013421729 Caller-Network-Addr: 52.53.248.193 Caller-ANI: %2B12013421729 Caller-Destination-Number: 15012229085 Caller-Unique-ID: e34a3dd9-9e80-4d42-a427-0b1df47f6804 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/%2B12013421729%40108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509988715441534 Caller-Channel-Created-Time: 1509988715441534 Caller-Channel-Answered-Time: 1509988715441534 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509988715441534 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false 2017-11-06 17:18:58,811-ivr-DEBUG : Processing voicemail for call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,812-ivr-DEBUG : Requsting voicemail message details with FS API command: vm_fsdb_msg_get JSON default beta.tendant.com 12019707887 e34a3dd9-9e80-4d42-a427-0b1df47f6804 2017-11-06 17:18:58,812-ivr-DEBUG : Outbound_voicemail_processed_status : False and inbound_voicemail_processed_status : False 2017-11-06 17:18:58,812-ivr-DEBUG : Either already voicemail processed or something wrong. 2017-11-06 17:18:58,813-ivr-INFO : IVR completed on call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,813-ivr-DEBUG : HangingUp call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,815-ivr-INFO : IVR completed on call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,815-ivr-DEBUG : HangingUp call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,817-ivr-INFO : IVR completed on call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,817-ivr-DEBUG : HangingUp call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,821-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:18:58,821-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:18:58,821-ivr-INFO : Successfully fetched the voicemail message(vm_fsdb_msg_get) for call <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768>. Result: From nobody Mon Nov 6 17:18:58 2017 Content-Type: api/response Content-Length: 1004 {"Event-Name":"REQUEST_PARAMS","Core-UUID":"3aa590bb-ee6f-4da8-8ef6-1aed409c64ac","FreeSWITCH-Hostname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-Switchname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-IPv4":"172.31.11.59","FreeSWITCH-IPv6":"::1","Event-Date-Local":"2017-11-06 17:18:58","Event-Date-GMT":"Mon, 06 Nov 2017 17:18:58 GMT","Event-Date-Timestamp":"1509988738801491","Event-Calling-File":"mod_voicemail.c","Event-Calling-Function":"vm_fsdb_msg_get_function","Event-Calling-Line-Number":"5955","Event-Sequence":"331663","VM-Message-Received-Epoch":"1509988738","VM-Message-Read-Epoch":"0","VM-Message-UUID":"e34a3dd9-9e80-4d42-a427-0b1df47f6804","VM-Message-Caller-Name":"+12013421729","VM-Message-Caller-Number":"+12013421729","VM-Message-Folder":"inbox","VM-Message-File-Path":"/usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_bbec26e9-49c9-4f0e-9e44-206f72d3064c.wav","VM-Message-Duration":"11","VM-Message-Read-Flags":"B_NORMAL"} 2017-11-06 17:18:58,822-ivr-INFO : Absolute File path of voicemial store for call <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768>: /usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_bbec26e9-49c9-4f0e-9e44-206f72d3064c.wav 2017-11-06 17:18:58,979-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x901b9e0> 2017-11-06 17:18:58,979-outbound_socket-INFO : Outbound socket connection closed for call: <Inbound Call e34a3dd9-9e80-4d42-a427-0b1df47f6804 at 151786768> 2017-11-06 17:18:58,979-PySWITCH-INFO : Cleaning up 2017-11-06 17:19:01,431-ivr-DEBUG : Speech response received. 2017-11-06 17:19:01,431-ivr-INFO : Speech response : {u'results': [{u'alternatives': [{u'confidence': 0.7524993, u'transcript': u'yo, yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo, yo'}]}]} 2017-11-06 17:19:01,431-ivr-DEBUG : Request received for send voicemail event. 2017-11-06 17:19:01,431-Backend-DEBUG : Sending EVENT VOICEMAIL request to backend - {'voicemail_number': '15012229085', 'timestamp': 1509988741.0, 'call_uuid': 'e34a3dd9-9e80-4d42-a427-0b1df47f6804', 'caller_number': '12013421729', 'agent_number': '12019707887', 'caller_name': '+12013421729', 'chat_id': None, 'contact_name': u'Office ', 'Event-Name': 'VOICEMAIL', 'transcribed_msg': u'yo, yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo, yo', 'contact_id': u'xJQhXeVG', 'is_mobile': False, 'is_international_caller': True, 'vm_file': u'https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_bbec26e9-49c9-4f0e-9e44-206f72d3064c.wav', 'callee': '12019707887'} 2017-11-06 17:19:01,431-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"voicemail_number": "15012229085", "timestamp": 1509988741.0, "call_uuid": "e34a3dd9-9e80-4d42-a427-0b1df47f6804", "caller_number": "12013421729", "agent_number": "12019707887", "caller_name": "+12013421729", "chat_id": null, "contact_name": "Office ", "Event-Name": "VOICEMAIL", "transcribed_msg": "yo, yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo, yo", "contact_id": "xJQhXeVG", "is_mobile": false, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_bbec26e9-49c9-4f0e-9e44-206f72d3064c.wav", "callee": "12019707887"} 2017-11-06 17:19:01,432-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c5a70> 2017-11-06 17:19:01,433-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x901b9e0> 2017-11-06 17:19:01,433-Backend-DEBUG : Sent data : {"voicemail_number": "15012229085", "timestamp": 1509988741.0, "call_uuid": "e34a3dd9-9e80-4d42-a427-0b1df47f6804", "caller_number": "12013421729", "agent_number": "12019707887", "caller_name": "+12013421729", "chat_id": null, "contact_name": "Office ", "Event-Name": "VOICEMAIL", "transcribed_msg": "yo, yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo yo, yo", "contact_id": "xJQhXeVG", "is_mobile": false, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_bbec26e9-49c9-4f0e-9e44-206f72d3064c.wav", "callee": "12019707887"} 2017-11-06 17:19:01,479-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:19:01,479-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:19:01,479-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:19:01,480-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:19:01,480-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c5a70> 2017-11-06 17:19:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:19:59,163-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:19:59,165-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 17:20:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:21:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:22:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:22:45,826-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:22:45,839-outbound_socket-INFO : Successfully new InboundCall [Outbound Socket](connection) created 2017-11-06 17:22:45,840-outbound_socket-INFO : Call Information Outbound Socket: From nobody Mon Nov 6 17:22:45 2017 Event-Name: CHANNEL_DATA Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: ::1 Event-Date-Local: 2017-11-06 17:22:45 Event-Date-GMT: Mon, 06 Nov 2017 17:22:45 GMT Event-Date-Timestamp: 1509988965821529 Event-Calling-File: mod_event_socket.c Event-Calling-Function: parse_command Event-Calling-Line-Number: 1996 Event-Sequence: 331717 Channel-Direction: inbound Channel-Logical-Direction: inbound Channel-Username: +12013203747 Channel-Dialplan: XML Channel-Caller-ID-Name: +12013203747 Channel-Caller-ID-Number: +12013203747 Channel-Orig-Caller-ID-Name: +12013203747 Channel-Orig-Caller-ID-Number: +12013203747 Channel-Network-Addr: 52.53.248.193 Channel-ANI: +12013203747 Channel-Destination-Number: 15012229085 Channel-Unique-ID: ba91e204-64ae-47fe-a548-c148897d5d2d Channel-Source: mod_sofia Channel-Context: public Channel-Channel-Name: sofia/external/+12013203747@108.168.235.227 Channel-Profile-Index: 1 Channel-Profile-Created-Time: 1509988964801540 Channel-Channel-Created-Time: 1509988964801540 Channel-Channel-Answered-Time: 1509988964801540 Channel-Channel-Progress-Time: 0 Channel-Channel-Progress-Media-Time: 1509988964801540 Channel-Channel-Hangup-Time: 0 Channel-Channel-Transfer-Time: 0 Channel-Channel-Resurrect-Time: 0 Channel-Channel-Bridged-Time: 0 Channel-Channel-Last-Hold: 0 Channel-Channel-Hold-Accum: 0 Channel-Screen-Bit: true Channel-Privacy-Hide-Name: false Channel-Privacy-Hide-Number: false Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/+12013203747@108.168.235.227 Unique-ID: ba91e204-64ae-47fe-a548-c148897d5d2d Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: ba91e204-64ae-47fe-a548-c148897d5d2d 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-Logical-Direction: inbound Caller-Username: +12013203747 Caller-Dialplan: XML Caller-Caller-ID-Name: +12013203747 Caller-Caller-ID-Number: +12013203747 Caller-Orig-Caller-ID-Name: +12013203747 Caller-Orig-Caller-ID-Number: +12013203747 Caller-Network-Addr: 52.53.248.193 Caller-ANI: +12013203747 Caller-Destination-Number: 15012229085 Caller-Unique-ID: ba91e204-64ae-47fe-a548-c148897d5d2d Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/+12013203747@108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509988964801540 Caller-Channel-Created-Time: 1509988964801540 Caller-Channel-Answered-Time: 1509988964801540 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509988964801540 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: ba91e204-64ae-47fe-a548-c148897d5d2d variable_session_id: 31 variable_sip_from_user: +12013203747 variable_sip_from_uri: +12013203747@108.168.235.227 variable_sip_from_host: 108.168.235.227 variable_video_media_flow: sendrecv variable_channel_name: sofia/external/+12013203747@108.168.235.227 variable_ep_codec_string: CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b variable_sip_local_network_addr: 54.183.67.223 variable_sip_network_ip: 52.53.248.193 variable_sip_network_port: 5060 variable_sip_received_ip: 52.53.248.193 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_from_user_stripped: 12013203747 variable_sofia_profile_name: external variable_recovery_profile_name: external variable_sip_P-Asserted-Identity: +12013203747 variable_sip_cid_type: pid variable_sip_invite_route_uri: <sip:52.53.248.193;lr;ftag=UKUNU0gcNUt1c;did=e91.9e42>,<sip:108.168.235.227;lr;ftag=UKUNU0gcNUt1c;did=e91.50f01156> variable_sip_invite_record_route: <sip:108.168.235.227;lr;ftag=UKUNU0gcNUt1c;did=e91.50f01156>,<sip:52.53.248.193;lr;ftag=UKUNU0gcNUt1c;did=e91.9e42> variable_sip_allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY variable_sip_req_user: 15012229085 variable_sip_req_uri: 15012229085@52.53.248.193 variable_sip_req_host: 52.53.248.193 variable_sip_to_user: 0015012229085 variable_sip_to_uri: 0015012229085@52.53.248.193 variable_sip_to_host: 52.53.248.193 variable_sip_contact_user: A1SIP variable_sip_contact_port: 5080 variable_sip_contact_uri: A1SIP@108.168.235.227:5080 variable_sip_contact_host: 108.168.235.227 variable_sip_user_agent: A1SIP variable_sip_via_host: 52.53.248.193 variable_sip_via_port: 5060 variable_max_forwards: 62 variable_sip_Privacy: none variable_sip_h_Diversion: <sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off variable_switch_r_sdp: v=0 o=A1SIP 1509972482 1509972483 IN IP4 108.168.235.227 s=A1SIP c=IN IP4 108.168.235.227 t=0 0 m=audio 16410 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 variable_DP_MATCH: ARRAY::15012229085|:15012229085 variable_call_uuid: ba91e204-64ae-47fe-a548-c148897d5d2d variable_outside_call: true variable_RFC2822_DATE: Mon, 06 Nov 2017 17:22:44 +0000 variable_export_vars: RFC2822_DATE variable_audio_media_flow: sendrecv variable_rtp_use_codec_string: OPUS,G722,PCMU,PCMA,VP8 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU@8000h@20i@1c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_local_media_ip: 172.31.11.59 variable_local_media_port: 23256 variable_advertised_media_ip: 54.183.67.223 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 0 variable_rtp_use_ssrc: 1241792084 variable_rtp_2833_send_payload: 101 variable_rtp_2833_recv_payload: 101 variable_remote_media_ip: 108.168.235.227 variable_remote_media_port: 16410 variable_rtp_local_sdp_str: v=0 o=FreeSWITCH 1509965708 1509965709 IN IP4 54.183.67.223 s=FreeSWITCH c=IN IP4 54.183.67.223 t=0 0 m=audio 23256 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv variable_endpoint_disposition: ANSWER variable_sip_to_tag: a44UK9379r1Bm variable_sip_from_tag: UKUNU0gcNUt1c variable_sip_cseq: 114658382 variable_sip_call_id: c68d958a-3db9-1236-3a82-002590f03f92 variable_sip_full_via: SIP/2.0/UDP 52.53.248.193:5060;branch=z9hG4bK337e.df5135df04334db6c0cc3c98383e5134.0,SIP/2.0/UDP 108.168.235.227:5060;rport=5060;branch=z9hG4bK337e.28d13b.2,SIP/2.0/UDP 108.168.235.227:5080;received=108.168.235.227;rport=5080;branch=z9hG4bKDHX24vm2g0gNe variable_sip_from_display: +12013203747 variable_sip_full_from: "+12013203747" <sip:+12013203747@108.168.235.227>;tag=UKUNU0gcNUt1c variable_sip_full_to: <sip:0015012229085@52.53.248.193>;tag=a44UK9379r1Bm variable_current_application_data: 127.0.0.1:8808 async full variable_current_application: socket variable_socket_host: 127.0.0.1 Content-Type: command/reply Reply-Text: +OK Socket-Mode: async Control: full 2017-11-06 17:22:45,842-outbound_socket-DEBUG : UUID of newly created inbound channel ba91e204-64ae-47fe-a548-c148897d5d2d 2017-11-06 17:22:45,842-outbound_socket-DEBUG : Creating CALLOBJ for InboundCall with uuid: ba91e204-64ae-47fe-a548-c148897d5d2d 2017-11-06 17:22:45,843-call-DEBUG : Setting channel vars on call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:45,843-outbound_socket-INFO : CALLOBJ created for new inbound call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:45,843-Backend-INFO : Getting Susbcriber details for call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:45,843-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-subscriber data: {"subscriber": "12019707887"} 2017-11-06 17:22:45,843-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9002368> 2017-11-06 17:22:45,846-Backend-DEBUG : Sent data : {"subscriber": "12019707887"} 2017-11-06 17:22:45,863-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-subscriber 2017-11-06 17:22:45,863-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:22:45,863-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:22:45,863-Backend-DEBUG : Response Received: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:22:45,864-outbound_socket-DEBUG : Got subscriber result: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:22:45,864-Backend-INFO : Getting VM Preferences for call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:45,864-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-vm-preferences data: {"agent_number": "12019707887"} 2017-11-06 17:22:45,864-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029f38> 2017-11-06 17:22:45,866-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9002368> 2017-11-06 17:22:45,872-Backend-DEBUG : Sent data : {"agent_number": "12019707887"} 2017-11-06 17:22:45,882-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-vm-preferences 2017-11-06 17:22:45,882-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:22:45,882-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:22:45,882-Backend-DEBUG : Response Received: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:22:45,882-outbound_socket-INFO : Voicemial preferences received from backend: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:22:45,882-outbound_socket-DEBUG : Starting Process for voicemail preference change. 2017-11-06 17:22:45,882-call-DEBUG : Deleting VM Preferences. Executing Query : DELETE FROM voicemail_prefs WHERE username = '12019707887' 2017-11-06 17:22:45,882-txDB-DEBUG : Running query - ("\n DELETE FROM voicemail_prefs\n WHERE username = '12019707887'\n ",) 2017-11-06 17:22:45,883-outbound_socket-DEBUG : Starting IVR for the call <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:45,883-ivr-INFO : Starting IVR .. .. .. 2017-11-06 17:22:45,883-ivr-DEBUG : LRN LookUp: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013203747&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25 2017-11-06 17:22:45,883-PT-INFO : Starting factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013203747&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:22:45,884-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029f38> 2017-11-06 17:22:45,884-txDB-DEBUG : Reconnecting MySQL ..... 2017-11-06 17:22:45,885-call-DEBUG : Query Result : () 2017-11-06 17:22:46,137-ivr-DEBUG : LRN Result: {u'CITY': u'JERSEY CITY', u'LEC': u'CELLCO PARTNERSHIP DBA VERIZON WIRELESS - NJ', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6391', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12013203747', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:22:46,137-ivr-INFO : Success lookup LRN for call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152>. LRN Result: {u'CITY': u'JERSEY CITY', u'LEC': u'CELLCO PARTNERSHIP DBA VERIZON WIRELESS - NJ', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6391', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12013203747', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:22:46,137-Backend-INFO : Getting Contact Info for call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:46,137-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-contact data: {"caller": "12013203747", "callee": "12019707887"} 2017-11-06 17:22:46,137-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9099f38> 2017-11-06 17:22:46,138-PT-INFO : Stopping factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013203747&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:22:46,138-Backend-DEBUG : Sent data : {"caller": "12013203747", "callee": "12019707887"} 2017-11-06 17:22:46,163-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-contact 2017-11-06 17:22:46,163-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:22:46,164-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:22:46,164-Backend-DEBUG : Response Received: {u'code': 200, u'substitutes': {}, u'contact_id': u'pmFhMdRj', u's_in_callee': {u'color': u'#00008B', u'p_type': True, u'id': 391234, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'Catalano', u'int_num': u'12013203747', u'is_mobile': True, u'fname': u'Jay', u'email': u'jaycat2002@yahoo.com', u'img_local_path': None, u'e_is_register': False, u'phone': u'2013203747', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': u'home', u'cid': u'pmFhMdRj', u'notes': u'268 Kipp St Apt H1\nHackensack NJ 07601', u'row_cid': u'F7B41173-B04A-4902-A8FB-6DFE195BF7CF', u'loc_cid': u'31E7D202-D1A6-4652-9D75-A2BCE020940B', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'} 2017-11-06 17:22:46,164-ivr-INFO : Contact information received for call {u'code': 200, u'substitutes': {}, u'contact_id': u'pmFhMdRj', u's_in_callee': {u'color': u'#00008B', u'p_type': True, u'id': 391234, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'Catalano', u'int_num': u'12013203747', u'is_mobile': True, u'fname': u'Jay', u'email': u'jaycat2002@yahoo.com', u'img_local_path': None, u'e_is_register': False, u'phone': u'2013203747', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': u'home', u'cid': u'pmFhMdRj', u'notes': u'268 Kipp St Apt H1\nHackensack NJ 07601', u'row_cid': u'F7B41173-B04A-4902-A8FB-6DFE195BF7CF', u'loc_cid': u'31E7D202-D1A6-4652-9D75-A2BCE020940B', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'}: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:46,164-ivr-INFO : Choosing IVR .. .. .. 2017-11-06 17:22:46,164-ivr-DEBUG : Getting LRN of caller: 12013203747 2017-11-06 17:22:46,165-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"called_number": "12019707887", "contact_id": "pmFhMdRj", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509988966.165025, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12013203747", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "ba91e204-64ae-47fe-a548-c148897d5d2d", "vm_number": "15012229085", "caller_id_number": "12013203747", "contact_name": "Jay Catalano"} 2017-11-06 17:22:46,165-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9016950> 2017-11-06 17:22:46,165-ivr-DEBUG : Check Caller has return relationship or not. 2017-11-06 17:22:46,165-ivr-INFO : Mobile Caller. Starting Mobile IVR 2017-11-06 17:22:46,165-ivr-INFO : Check custom greetings available against caller or not. 2017-11-06 17:22:46,165-ivr-DEBUG : Play Default VM file : pt_sounds/default_vm_greeting.wav 2017-11-06 17:22:46,166-ivr-DEBUG : Playing brand sound on call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:46,166-ivr-INFO : Starting IVR For Mobile(Detection): <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:46,167-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9099f38> 2017-11-06 17:22:46,168-ivr-DEBUG : Successfully executed IVR: PT_MOBILE on Call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:46,168-Backend-DEBUG : Sent data : {"called_number": "12019707887", "contact_id": "pmFhMdRj", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509988966.165025, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12013203747", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "ba91e204-64ae-47fe-a548-c148897d5d2d", "vm_number": "15012229085", "caller_id_number": "12013203747", "contact_name": "Jay Catalano"} 2017-11-06 17:22:46,178-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:22:46,178-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:22:46,178-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:22:46,178-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:22:46,178-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9016950> 2017-11-06 17:22:46,190-ivr-INFO : IVR completed on call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:46,190-ivr-DEBUG : HangingUp call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:46,193-ivr-INFO : IVR completed on call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:46,193-ivr-DEBUG : HangingUp call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:47,161-ivr-INFO : IVR completed on call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:47,161-ivr-DEBUG : HangingUp call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:56,165-ivr-DEBUG : EVENT EVENT EVENT MENU_ACTION From nobody Mon Nov 6 17:22:56 2017 Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2017-11-06%2017%3A22%3A56 Event-Date-GMT: Mon,%2006%20Nov%202017%2017%3A22%3A56%20GMT Event-Date-Timestamp: 1509988976121544 Event-Calling-File: mod_dptools.c Event-Calling-Function: event_function Event-Calling-Line-Number: 1758 Event-Sequence: 331750 Event-Name: MENU_ACTION action: voicemailSelected Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/%2B12013203747%40108.168.235.227 Unique-ID: ba91e204-64ae-47fe-a548-c148897d5d2d Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: ba91e204-64ae-47fe-a548-c148897d5d2d 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-Logical-Direction: inbound Caller-Username: %2B12013203747 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B12013203747 Caller-Caller-ID-Number: %2B12013203747 Caller-Orig-Caller-ID-Name: %2B12013203747 Caller-Orig-Caller-ID-Number: %2B12013203747 Caller-Network-Addr: 52.53.248.193 Caller-ANI: %2B12013203747 Caller-Destination-Number: 15012229085 Caller-Unique-ID: ba91e204-64ae-47fe-a548-c148897d5d2d Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/%2B12013203747%40108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509988964801540 Caller-Channel-Created-Time: 1509988964801540 Caller-Channel-Answered-Time: 1509988964801540 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509988964801540 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false 2017-11-06 17:22:56,166-ivr-DEBUG : User selected voicemail on call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:56,167-ivr-INFO : IVR completed on call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:22:56,167-ivr-DEBUG : HangingUp call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:23:07,864-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:23:07,864-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:23:07,864-outbound_socket-INFO : Outbound socket connection closed for call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:23:07,864-PySWITCH-INFO : Cleaning up 2017-11-06 17:23:07,941-inbound_socket-INFO : Channel hangup event with uuid ba91e204-64ae-47fe-a548-c148897d5d2d 2017-11-06 17:23:07,942-inbound_socket-DEBUG : Popping callobj with uuid ba91e204-64ae-47fe-a548-c148897d5d2d 2017-11-06 17:23:07,942-inbound_socket-INFO : Going to process voicemail from inbound socket 2017-11-06 17:23:07,942-ivr-DEBUG : Processing voicemail for call: <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152> 2017-11-06 17:23:07,942-ivr-DEBUG : Requsting voicemail message details with FS API command: vm_fsdb_msg_get JSON default beta.tendant.com 12019707887 ba91e204-64ae-47fe-a548-c148897d5d2d 2017-11-06 17:23:07,942-ivr-DEBUG : Outbound_voicemail_processed_status : False and inbound_voicemail_processed_status : True 2017-11-06 17:23:07,944-ivr-INFO : Successfully fetched the voicemail message(vm_fsdb_msg_get) for call <Inbound Call ba91e204-64ae-47fe-a548-c148897d5d2d at 151115152>. Result: From nobody Mon Nov 6 17:23:07 2017 Content-Type: api/response Content-Length: 559 {"Event-Name":"REQUEST_PARAMS","Core-UUID":"3aa590bb-ee6f-4da8-8ef6-1aed409c64ac","FreeSWITCH-Hostname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-Switchname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-IPv4":"172.31.11.59","FreeSWITCH-IPv6":"::1","Event-Date-Local":"2017-11-06 17:23:07","Event-Date-GMT":"Mon, 06 Nov 2017 17:23:07 GMT","Event-Date-Timestamp":"1509988987941496","Event-Calling-File":"mod_voicemail.c","Event-Calling-Function":"vm_fsdb_msg_get_function","Event-Calling-Line-Number":"5955","Event-Sequence":"331786"} 2017-11-06 17:23:07,944-ivr-ERROR : No VM-Message-File-Path in vm message 2017-11-06 17:23:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:24:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:24:59,149-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:24:59,150-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 17:25:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:26:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:27:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:28:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:29:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:29:59,155-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:29:59,156-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 17:30:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:30:46,021-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:30:46,035-outbound_socket-INFO : Successfully new InboundCall [Outbound Socket](connection) created 2017-11-06 17:30:46,035-outbound_socket-INFO : Call Information Outbound Socket: From nobody Mon Nov 6 17:30:46 2017 Event-Name: CHANNEL_DATA Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: ::1 Event-Date-Local: 2017-11-06 17:30:46 Event-Date-GMT: Mon, 06 Nov 2017 17:30:46 GMT Event-Date-Timestamp: 1509989446001538 Event-Calling-File: mod_event_socket.c Event-Calling-Function: parse_command Event-Calling-Line-Number: 1996 Event-Sequence: 331865 Channel-Direction: inbound Channel-Logical-Direction: inbound Channel-Username: +12013421729 Channel-Dialplan: XML Channel-Caller-ID-Name: +12013421729 Channel-Caller-ID-Number: +12013421729 Channel-Orig-Caller-ID-Name: +12013421729 Channel-Orig-Caller-ID-Number: +12013421729 Channel-Network-Addr: 52.53.248.193 Channel-ANI: +12013421729 Channel-Destination-Number: 15012229085 Channel-Unique-ID: 59723d9c-6aa2-48c2-b877-9e6a4c4effde Channel-Source: mod_sofia Channel-Context: public Channel-Channel-Name: sofia/external/+12013421729@108.168.235.227 Channel-Profile-Index: 1 Channel-Profile-Created-Time: 1509989444981536 Channel-Channel-Created-Time: 1509989444981536 Channel-Channel-Answered-Time: 1509989445001524 Channel-Channel-Progress-Time: 0 Channel-Channel-Progress-Media-Time: 1509989445001524 Channel-Channel-Hangup-Time: 0 Channel-Channel-Transfer-Time: 0 Channel-Channel-Resurrect-Time: 0 Channel-Channel-Bridged-Time: 0 Channel-Channel-Last-Hold: 0 Channel-Channel-Hold-Accum: 0 Channel-Screen-Bit: true Channel-Privacy-Hide-Name: false Channel-Privacy-Hide-Number: false Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/+12013421729@108.168.235.227 Unique-ID: 59723d9c-6aa2-48c2-b877-9e6a4c4effde Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: 59723d9c-6aa2-48c2-b877-9e6a4c4effde 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-Logical-Direction: inbound Caller-Username: +12013421729 Caller-Dialplan: XML Caller-Caller-ID-Name: +12013421729 Caller-Caller-ID-Number: +12013421729 Caller-Orig-Caller-ID-Name: +12013421729 Caller-Orig-Caller-ID-Number: +12013421729 Caller-Network-Addr: 52.53.248.193 Caller-ANI: +12013421729 Caller-Destination-Number: 15012229085 Caller-Unique-ID: 59723d9c-6aa2-48c2-b877-9e6a4c4effde Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/+12013421729@108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509989444981536 Caller-Channel-Created-Time: 1509989444981536 Caller-Channel-Answered-Time: 1509989445001524 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509989445001524 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: 59723d9c-6aa2-48c2-b877-9e6a4c4effde variable_session_id: 32 variable_sip_from_user: +12013421729 variable_sip_from_uri: +12013421729@108.168.235.227 variable_sip_from_host: 108.168.235.227 variable_video_media_flow: sendrecv variable_channel_name: sofia/external/+12013421729@108.168.235.227 variable_ep_codec_string: CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b variable_sip_local_network_addr: 54.183.67.223 variable_sip_network_ip: 52.53.248.193 variable_sip_network_port: 5060 variable_sip_received_ip: 52.53.248.193 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_from_user_stripped: 12013421729 variable_sofia_profile_name: external variable_recovery_profile_name: external variable_sip_P-Asserted-Identity: +12013421729 variable_sip_cid_type: pid variable_sip_invite_route_uri: <sip:52.53.248.193;lr;ftag=rt1X7jm34t9NF;did=482.e3b2>,<sip:108.168.235.227;lr;ftag=rt1X7jm34t9NF;did=482.23043414> variable_sip_invite_record_route: <sip:108.168.235.227;lr;ftag=rt1X7jm34t9NF;did=482.23043414>,<sip:52.53.248.193;lr;ftag=rt1X7jm34t9NF;did=482.e3b2> variable_sip_allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY variable_sip_req_user: 15012229085 variable_sip_req_uri: 15012229085@52.53.248.193 variable_sip_req_host: 52.53.248.193 variable_sip_to_user: 0015012229085 variable_sip_to_uri: 0015012229085@52.53.248.193 variable_sip_to_host: 52.53.248.193 variable_sip_contact_user: A1SIP variable_sip_contact_port: 5080 variable_sip_contact_uri: A1SIP@108.168.235.227:5080 variable_sip_contact_host: 108.168.235.227 variable_sip_user_agent: A1SIP variable_sip_via_host: 52.53.248.193 variable_sip_via_port: 5060 variable_max_forwards: 62 variable_sip_Privacy: none variable_sip_h_Diversion: <sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off variable_switch_r_sdp: v=0 o=A1SIP 1509963850 1509963851 IN IP4 108.168.235.227 s=A1SIP c=IN IP4 108.168.235.227 t=0 0 m=audio 25522 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 variable_DP_MATCH: ARRAY::15012229085|:15012229085 variable_call_uuid: 59723d9c-6aa2-48c2-b877-9e6a4c4effde variable_outside_call: true variable_RFC2822_DATE: Mon, 06 Nov 2017 17:30:44 +0000 variable_export_vars: RFC2822_DATE variable_audio_media_flow: sendrecv variable_rtp_use_codec_string: OPUS,G722,PCMU,PCMA,VP8 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU@8000h@20i@1c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_local_media_ip: 172.31.11.59 variable_local_media_port: 18252 variable_advertised_media_ip: 54.183.67.223 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 0 variable_rtp_use_ssrc: 1241792564 variable_rtp_2833_send_payload: 101 variable_rtp_2833_recv_payload: 101 variable_remote_media_ip: 108.168.235.227 variable_remote_media_port: 25522 variable_rtp_local_sdp_str: v=0 o=FreeSWITCH 1509971193 1509971194 IN IP4 54.183.67.223 s=FreeSWITCH c=IN IP4 54.183.67.223 t=0 0 m=audio 18252 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv variable_endpoint_disposition: ANSWER variable_sip_to_tag: BDymN4mB71QyF variable_sip_from_tag: rt1X7jm34t9NF variable_sip_cseq: 114658622 variable_sip_call_id: e4c57b46-3dba-1236-3a82-002590f03f92 variable_sip_full_via: SIP/2.0/UDP 52.53.248.193:5060;branch=z9hG4bKda32.37ae485c1beb352212f63ba073a670ef.0,SIP/2.0/UDP 108.168.235.227:5060;rport=5060;branch=z9hG4bKda32.5b769146.2,SIP/2.0/UDP 108.168.235.227:5080;received=108.168.235.227;rport=5080;branch=z9hG4bKX1HF1D2t2eN0Q variable_sip_from_display: +12013421729 variable_sip_full_from: "+12013421729" <sip:+12013421729@108.168.235.227>;tag=rt1X7jm34t9NF variable_sip_full_to: <sip:0015012229085@52.53.248.193>;tag=BDymN4mB71QyF variable_current_application_data: 127.0.0.1:8808 async full variable_current_application: socket variable_socket_host: 127.0.0.1 Content-Type: command/reply Reply-Text: +OK Socket-Mode: async Control: full 2017-11-06 17:30:46,037-outbound_socket-DEBUG : UUID of newly created inbound channel 59723d9c-6aa2-48c2-b877-9e6a4c4effde 2017-11-06 17:30:46,038-outbound_socket-DEBUG : Creating CALLOBJ for InboundCall with uuid: 59723d9c-6aa2-48c2-b877-9e6a4c4effde 2017-11-06 17:30:46,038-call-DEBUG : Setting channel vars on call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,038-outbound_socket-INFO : CALLOBJ created for new inbound call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,038-Backend-INFO : Getting Susbcriber details for call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,039-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-subscriber data: {"subscriber": "12019707887"} 2017-11-06 17:30:46,039-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c6d40> 2017-11-06 17:30:46,042-Backend-DEBUG : Sent data : {"subscriber": "12019707887"} 2017-11-06 17:30:46,101-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-subscriber 2017-11-06 17:30:46,101-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:30:46,101-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:30:46,102-Backend-DEBUG : Response Received: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:30:46,102-outbound_socket-DEBUG : Got subscriber result: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:30:46,102-Backend-INFO : Getting VM Preferences for call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,102-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-vm-preferences data: {"agent_number": "12019707887"} 2017-11-06 17:30:46,102-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bd5a8> 2017-11-06 17:30:46,103-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c6d40> 2017-11-06 17:30:46,103-Backend-DEBUG : Sent data : {"agent_number": "12019707887"} 2017-11-06 17:30:46,113-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-vm-preferences 2017-11-06 17:30:46,113-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:30:46,114-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:30:46,114-Backend-DEBUG : Response Received: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:30:46,114-outbound_socket-INFO : Voicemial preferences received from backend: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:30:46,114-outbound_socket-DEBUG : Starting Process for voicemail preference change. 2017-11-06 17:30:46,114-call-DEBUG : Deleting VM Preferences. Executing Query : DELETE FROM voicemail_prefs WHERE username = '12019707887' 2017-11-06 17:30:46,114-txDB-DEBUG : Running query - ("\n DELETE FROM voicemail_prefs\n WHERE username = '12019707887'\n ",) 2017-11-06 17:30:46,115-outbound_socket-DEBUG : Starting IVR for the call <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,115-ivr-INFO : Starting IVR .. .. .. 2017-11-06 17:30:46,115-ivr-DEBUG : LRN LookUp: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013421729&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25 2017-11-06 17:30:46,115-PT-INFO : Starting factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013421729&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:30:46,115-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bd5a8> 2017-11-06 17:30:46,116-txDB-DEBUG : Reconnecting MySQL ..... 2017-11-06 17:30:46,117-call-DEBUG : Query Result : () 2017-11-06 17:30:46,453-ivr-DEBUG : LRN Result: {u'CITY': u'HACKENSACK', u'LEC': u'VERIZON NEW JERSEY, INC.', u'LINETYPE': u'LANDLINE', u'DNC': None, u'OCN': u'9206', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12013421729', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:30:46,453-ivr-INFO : Success lookup LRN for call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024>. LRN Result: {u'CITY': u'HACKENSACK', u'LEC': u'VERIZON NEW JERSEY, INC.', u'LINETYPE': u'LANDLINE', u'DNC': None, u'OCN': u'9206', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12013421729', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:30:46,453-Backend-INFO : Getting Contact Info for call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,453-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-contact data: {"caller": "12013421729", "callee": "12019707887"} 2017-11-06 17:30:46,453-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x909ed40> 2017-11-06 17:30:46,454-PT-INFO : Stopping factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12013421729&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:30:46,454-Backend-DEBUG : Sent data : {"caller": "12013421729", "callee": "12019707887"} 2017-11-06 17:30:46,479-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-contact 2017-11-06 17:30:46,480-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:30:46,480-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:30:46,480-Backend-DEBUG : Response Received: {u'code': 200, u'substitutes': {}, u'contact_id': u'xJQhXeVG', u's_in_callee': {u'color': u'#cceeff', u'p_type': True, u'id': 391600, u'phone_label': u'home', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'12013421729', u'is_mobile': False, u'fname': u'Office', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'2013421729', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'xJQhXeVG', u'notes': u'', u'row_cid': u'49AF78E1-E398-455D-A037-4A3987A41657', u'loc_cid': u'61AA1372-7A9B-4676-A95A-AD5303589C94', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'} 2017-11-06 17:30:46,480-ivr-INFO : Contact information received for call {u'code': 200, u'substitutes': {}, u'contact_id': u'xJQhXeVG', u's_in_callee': {u'color': u'#cceeff', u'p_type': True, u'id': 391600, u'phone_label': u'home', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'12013421729', u'is_mobile': False, u'fname': u'Office', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'2013421729', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'xJQhXeVG', u'notes': u'', u'row_cid': u'49AF78E1-E398-455D-A037-4A3987A41657', u'loc_cid': u'61AA1372-7A9B-4676-A95A-AD5303589C94', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'}: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,481-ivr-INFO : Choosing IVR .. .. .. 2017-11-06 17:30:46,481-ivr-DEBUG : Getting LRN of caller: 12013421729 2017-11-06 17:30:46,481-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"called_number": "12019707887", "contact_id": "xJQhXeVG", "Line-Type": "LANDLINE", "agent_number": "12019707887", "timestamp": 1509989446.481581, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12013421729", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": false, "chat_id": null, "is_international_caller": true, "call_uuid": "59723d9c-6aa2-48c2-b877-9e6a4c4effde", "vm_number": "15012229085", "caller_id_number": "12013421729", "contact_name": "Office "} 2017-11-06 17:30:46,481-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029f38> 2017-11-06 17:30:46,482-ivr-DEBUG : Check Caller has return relationship or not. 2017-11-06 17:30:46,482-ivr-INFO : LandLine Caller. Starting LandLine IVR 2017-11-06 17:30:46,482-ivr-INFO : Check custom greetings available against caller or not. 2017-11-06 17:30:46,482-ivr-DEBUG : Play Default VM file : pt_sounds/default_vm_greeting.wav 2017-11-06 17:30:46,482-ivr-DEBUG : Playing brand sound on call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,483-ivr-INFO : Starting LandLine IVR: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,483-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x909ed40> 2017-11-06 17:30:46,484-ivr-DEBUG : Successfully executed IVR: PT_LANDLINE on Call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,484-Backend-DEBUG : Sent data : {"called_number": "12019707887", "contact_id": "xJQhXeVG", "Line-Type": "LANDLINE", "agent_number": "12019707887", "timestamp": 1509989446.481581, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12013421729", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": false, "chat_id": null, "is_international_caller": true, "call_uuid": "59723d9c-6aa2-48c2-b877-9e6a4c4effde", "vm_number": "15012229085", "caller_id_number": "12013421729", "contact_name": "Office "} 2017-11-06 17:30:46,499-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:30:46,499-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:30:46,499-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:30:46,499-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:30:46,500-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x9029f38> 2017-11-06 17:30:46,507-ivr-INFO : IVR completed on call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,507-ivr-DEBUG : HangingUp call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,509-ivr-INFO : IVR completed on call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:46,509-ivr-DEBUG : HangingUp call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:47,477-ivr-INFO : IVR completed on call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:47,477-ivr-DEBUG : HangingUp call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:50,479-ivr-DEBUG : EVENT EVENT EVENT MENU_ACTION From nobody Mon Nov 6 17:30:50 2017 Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2017-11-06%2017%3A30%3A50 Event-Date-GMT: Mon,%2006%20Nov%202017%2017%3A30%3A50%20GMT Event-Date-Timestamp: 1509989450441534 Event-Calling-File: mod_dptools.c Event-Calling-Function: event_function Event-Calling-Line-Number: 1758 Event-Sequence: 331896 Event-Name: MENU_ACTION action: voicemailSelected Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/%2B12013421729%40108.168.235.227 Unique-ID: 59723d9c-6aa2-48c2-b877-9e6a4c4effde Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: 59723d9c-6aa2-48c2-b877-9e6a4c4effde 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-Logical-Direction: inbound Caller-Username: %2B12013421729 Caller-Dialplan: XML Caller-Caller-ID-Name: %2B12013421729 Caller-Caller-ID-Number: %2B12013421729 Caller-Orig-Caller-ID-Name: %2B12013421729 Caller-Orig-Caller-ID-Number: %2B12013421729 Caller-Network-Addr: 52.53.248.193 Caller-ANI: %2B12013421729 Caller-Destination-Number: 15012229085 Caller-Unique-ID: 59723d9c-6aa2-48c2-b877-9e6a4c4effde Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/%2B12013421729%40108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509989444981536 Caller-Channel-Created-Time: 1509989444981536 Caller-Channel-Answered-Time: 1509989445001524 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509989445001524 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false 2017-11-06 17:30:50,480-ivr-DEBUG : User selected voicemail on call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:50,482-ivr-INFO : IVR completed on call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:30:50,482-ivr-DEBUG : HangingUp call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:31:03,545-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:31:03,546-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:31:03,546-outbound_socket-INFO : Outbound socket connection closed for call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:31:03,546-PySWITCH-INFO : Cleaning up 2017-11-06 17:31:03,622-inbound_socket-INFO : Channel hangup event with uuid 59723d9c-6aa2-48c2-b877-9e6a4c4effde 2017-11-06 17:31:03,623-inbound_socket-DEBUG : Popping callobj with uuid 59723d9c-6aa2-48c2-b877-9e6a4c4effde 2017-11-06 17:31:03,623-inbound_socket-INFO : Going to process voicemail from inbound socket 2017-11-06 17:31:03,623-ivr-DEBUG : Processing voicemail for call: <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024> 2017-11-06 17:31:03,623-ivr-DEBUG : Requsting voicemail message details with FS API command: vm_fsdb_msg_get JSON default beta.tendant.com 12019707887 59723d9c-6aa2-48c2-b877-9e6a4c4effde 2017-11-06 17:31:03,623-ivr-DEBUG : Outbound_voicemail_processed_status : False and inbound_voicemail_processed_status : True 2017-11-06 17:31:03,625-ivr-INFO : Successfully fetched the voicemail message(vm_fsdb_msg_get) for call <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024>. Result: From nobody Mon Nov 6 17:31:03 2017 Content-Type: api/response Content-Length: 1003 {"Event-Name":"REQUEST_PARAMS","Core-UUID":"3aa590bb-ee6f-4da8-8ef6-1aed409c64ac","FreeSWITCH-Hostname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-Switchname":"ip-172-31-11-59.us-west-1.compute.internal","FreeSWITCH-IPv4":"172.31.11.59","FreeSWITCH-IPv6":"::1","Event-Date-Local":"2017-11-06 17:31:03","Event-Date-GMT":"Mon, 06 Nov 2017 17:31:03 GMT","Event-Date-Timestamp":"1509989463621497","Event-Calling-File":"mod_voicemail.c","Event-Calling-Function":"vm_fsdb_msg_get_function","Event-Calling-Line-Number":"5955","Event-Sequence":"331933","VM-Message-Received-Epoch":"1509989463","VM-Message-Read-Epoch":"0","VM-Message-UUID":"59723d9c-6aa2-48c2-b877-9e6a4c4effde","VM-Message-Caller-Name":"+12013421729","VM-Message-Caller-Number":"+12013421729","VM-Message-Folder":"inbox","VM-Message-File-Path":"/usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_e9d88a67-ff70-4816-96d8-5fc59cb2df19.wav","VM-Message-Duration":"5","VM-Message-Read-Flags":"B_NORMAL"} 2017-11-06 17:31:03,626-ivr-INFO : Absolute File path of voicemial store for call <Inbound Call 59723d9c-6aa2-48c2-b877-9e6a4c4effde at 151147024>: /usr/local/freeswitch/storage/voicemail/default/beta.tendant.com/12019707887/msg_e9d88a67-ff70-4816-96d8-5fc59cb2df19.wav 2017-11-06 17:31:03,764-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x8ffa950> 2017-11-06 17:31:05,005-ivr-DEBUG : Speech response received. 2017-11-06 17:31:05,005-ivr-INFO : Speech response : {u'results': [{u'alternatives': [{u'confidence': 0.74657387, u'transcript': u"Hey, what's going on man? How are you goodbye?"}]}]} 2017-11-06 17:31:05,005-ivr-DEBUG : Request received for send voicemail event. 2017-11-06 17:31:05,006-Backend-DEBUG : Sending EVENT VOICEMAIL request to backend - {'voicemail_number': '15012229085', 'timestamp': 1509989465.0, 'call_uuid': '59723d9c-6aa2-48c2-b877-9e6a4c4effde', 'caller_number': '12013421729', 'agent_number': '12019707887', 'caller_name': '+12013421729', 'chat_id': None, 'contact_name': u'Office ', 'Event-Name': 'VOICEMAIL', 'transcribed_msg': u"Hey, what's going on man? How are you goodbye?", 'contact_id': u'xJQhXeVG', 'is_mobile': False, 'is_international_caller': True, 'vm_file': u'https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_e9d88a67-ff70-4816-96d8-5fc59cb2df19.wav', 'callee': '12019707887'} 2017-11-06 17:31:05,006-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"voicemail_number": "15012229085", "timestamp": 1509989465.0, "call_uuid": "59723d9c-6aa2-48c2-b877-9e6a4c4effde", "caller_number": "12013421729", "agent_number": "12019707887", "caller_name": "+12013421729", "chat_id": null, "contact_name": "Office ", "Event-Name": "VOICEMAIL", "transcribed_msg": "Hey, what's going on man? How are you goodbye?", "contact_id": "xJQhXeVG", "is_mobile": false, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_e9d88a67-ff70-4816-96d8-5fc59cb2df19.wav", "callee": "12019707887"} 2017-11-06 17:31:05,006-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c55a8> 2017-11-06 17:31:05,007-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x8ffa950> 2017-11-06 17:31:05,007-Backend-DEBUG : Sent data : {"voicemail_number": "15012229085", "timestamp": 1509989465.0, "call_uuid": "59723d9c-6aa2-48c2-b877-9e6a4c4effde", "caller_number": "12013421729", "agent_number": "12019707887", "caller_name": "+12013421729", "chat_id": null, "contact_name": "Office ", "Event-Name": "VOICEMAIL", "transcribed_msg": "Hey, what's going on man? How are you goodbye?", "contact_id": "xJQhXeVG", "is_mobile": false, "is_international_caller": true, "vm_file": "https://s3-us-west-1.amazonaws.com/pt-voicemail/beta.tendant.com/12019707887/msg_e9d88a67-ff70-4816-96d8-5fc59cb2df19.wav", "callee": "12019707887"} 2017-11-06 17:31:05,049-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:31:05,049-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:31:05,050-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:31:05,050-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:31:05,050-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c55a8> 2017-11-06 17:31:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:32:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:33:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:34:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:34:43,020-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:34:43,033-outbound_socket-INFO : Successfully new InboundCall [Outbound Socket](connection) created 2017-11-06 17:34:43,033-outbound_socket-INFO : Call Information Outbound Socket: From nobody Mon Nov 6 17:34:43 2017 Event-Name: CHANNEL_DATA Core-UUID: 3aa590bb-ee6f-4da8-8ef6-1aed409c64ac FreeSWITCH-Hostname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-Switchname: ip-172-31-11-59.us-west-1.compute.internal FreeSWITCH-IPv4: 172.31.11.59 FreeSWITCH-IPv6: ::1 Event-Date-Local: 2017-11-06 17:34:43 Event-Date-GMT: Mon, 06 Nov 2017 17:34:43 GMT Event-Date-Timestamp: 1509989683001560 Event-Calling-File: mod_event_socket.c Event-Calling-Function: parse_command Event-Calling-Line-Number: 1996 Event-Sequence: 331988 Channel-Direction: inbound Channel-Logical-Direction: inbound Channel-Username: +12017410274 Channel-Dialplan: XML Channel-Caller-ID-Name: +12017410274 Channel-Caller-ID-Number: +12017410274 Channel-Orig-Caller-ID-Name: +12017410274 Channel-Orig-Caller-ID-Number: +12017410274 Channel-Network-Addr: 52.53.248.193 Channel-ANI: +12017410274 Channel-Destination-Number: 15012229085 Channel-Unique-ID: f61bf52d-0800-4c1f-a751-90914307f7e6 Channel-Source: mod_sofia Channel-Context: public Channel-Channel-Name: sofia/external/+12017410274@108.168.235.227 Channel-Profile-Index: 1 Channel-Profile-Created-Time: 1509989681981567 Channel-Channel-Created-Time: 1509989681981567 Channel-Channel-Answered-Time: 1509989681981567 Channel-Channel-Progress-Time: 0 Channel-Channel-Progress-Media-Time: 1509989681981567 Channel-Channel-Hangup-Time: 0 Channel-Channel-Transfer-Time: 0 Channel-Channel-Resurrect-Time: 0 Channel-Channel-Bridged-Time: 0 Channel-Channel-Last-Hold: 0 Channel-Channel-Hold-Accum: 0 Channel-Screen-Bit: true Channel-Privacy-Hide-Name: false Channel-Privacy-Hide-Number: false Channel-State: CS_EXECUTE Channel-Call-State: ACTIVE Channel-State-Number: 4 Channel-Name: sofia/external/+12017410274@108.168.235.227 Unique-ID: f61bf52d-0800-4c1f-a751-90914307f7e6 Call-Direction: inbound Presence-Call-Direction: inbound Channel-HIT-Dialplan: true Channel-Call-UUID: f61bf52d-0800-4c1f-a751-90914307f7e6 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-Logical-Direction: inbound Caller-Username: +12017410274 Caller-Dialplan: XML Caller-Caller-ID-Name: +12017410274 Caller-Caller-ID-Number: +12017410274 Caller-Orig-Caller-ID-Name: +12017410274 Caller-Orig-Caller-ID-Number: +12017410274 Caller-Network-Addr: 52.53.248.193 Caller-ANI: +12017410274 Caller-Destination-Number: 15012229085 Caller-Unique-ID: f61bf52d-0800-4c1f-a751-90914307f7e6 Caller-Source: mod_sofia Caller-Context: public Caller-Channel-Name: sofia/external/+12017410274@108.168.235.227 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1509989681981567 Caller-Channel-Created-Time: 1509989681981567 Caller-Channel-Answered-Time: 1509989681981567 Caller-Channel-Progress-Time: 0 Caller-Channel-Progress-Media-Time: 1509989681981567 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 0 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false variable_direction: inbound variable_uuid: f61bf52d-0800-4c1f-a751-90914307f7e6 variable_session_id: 33 variable_sip_from_user: +12017410274 variable_sip_from_uri: +12017410274@108.168.235.227 variable_sip_from_host: 108.168.235.227 variable_video_media_flow: sendrecv variable_channel_name: sofia/external/+12017410274@108.168.235.227 variable_ep_codec_string: CORE_PCM_MODULE.PCMU@8000h@20i@64000b,CORE_PCM_MODULE.PCMA@8000h@20i@64000b variable_sip_local_network_addr: 54.183.67.223 variable_sip_network_ip: 52.53.248.193 variable_sip_network_port: 5060 variable_sip_received_ip: 52.53.248.193 variable_sip_received_port: 5060 variable_sip_via_protocol: udp variable_sip_from_user_stripped: 12017410274 variable_sofia_profile_name: external variable_recovery_profile_name: external variable_sip_P-Asserted-Identity: +12017410274 variable_sip_cid_type: pid variable_sip_invite_route_uri: <sip:52.53.248.193;lr;ftag=1cepg86Ke8tma;did=e7.4fd2>,<sip:108.168.235.227;lr;ftag=1cepg86Ke8tma;did=e7.ba2a8f7> variable_sip_invite_record_route: <sip:108.168.235.227;lr;ftag=1cepg86Ke8tma;did=e7.ba2a8f7>,<sip:52.53.248.193;lr;ftag=1cepg86Ke8tma;did=e7.4fd2> variable_sip_allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY variable_sip_req_user: 15012229085 variable_sip_req_uri: 15012229085@52.53.248.193 variable_sip_req_host: 52.53.248.193 variable_sip_to_user: 0015012229085 variable_sip_to_uri: 0015012229085@52.53.248.193 variable_sip_to_host: 52.53.248.193 variable_sip_contact_user: A1SIP variable_sip_contact_port: 5080 variable_sip_contact_uri: A1SIP@108.168.235.227:5080 variable_sip_contact_host: 108.168.235.227 variable_sip_user_agent: A1SIP variable_sip_via_host: 52.53.248.193 variable_sip_via_port: 5060 variable_max_forwards: 62 variable_sip_Privacy: none variable_sip_h_Diversion: <sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off variable_switch_r_sdp: v=0 o=A1SIP 1509969357 1509969358 IN IP4 108.168.235.227 s=A1SIP c=IN IP4 108.168.235.227 t=0 0 m=audio 20252 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 variable_DP_MATCH: ARRAY::15012229085|:15012229085 variable_call_uuid: f61bf52d-0800-4c1f-a751-90914307f7e6 variable_outside_call: true variable_RFC2822_DATE: Mon, 06 Nov 2017 17:34:41 +0000 variable_export_vars: RFC2822_DATE variable_audio_media_flow: sendrecv variable_rtp_use_codec_string: OPUS,G722,PCMU,PCMA,VP8 variable_rtp_audio_recv_pt: 0 variable_rtp_use_codec_name: PCMU variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMU@8000h@20i@1c variable_read_codec: PCMU variable_original_read_codec: PCMU variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMU variable_write_rate: 8000 variable_dtmf_type: rfc2833 variable_local_media_ip: 172.31.11.59 variable_local_media_port: 16682 variable_advertised_media_ip: 54.183.67.223 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 0 variable_rtp_use_ssrc: 1241986241 variable_rtp_2833_send_payload: 101 variable_rtp_2833_recv_payload: 101 variable_remote_media_ip: 108.168.235.227 variable_remote_media_port: 20252 variable_rtp_local_sdp_str: v=0 o=FreeSWITCH 1509972999 1509973000 IN IP4 54.183.67.223 s=FreeSWITCH c=IN IP4 54.183.67.223 t=0 0 m=audio 16682 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv variable_endpoint_disposition: ANSWER variable_sip_to_tag: cpQDQZ5e4aeHB variable_sip_from_tag: 1cepg86Ke8tma variable_sip_cseq: 114658740 variable_sip_call_id: 72086269-3dbb-1236-3a82-002590f03f92 variable_sip_full_via: SIP/2.0/UDP 52.53.248.193:5060;branch=z9hG4bK5821.ea629a1320fe692ee73255e4875879ce.0,SIP/2.0/UDP 108.168.235.227:5060;rport=5060;branch=z9hG4bK5821.d6285fe7.2,SIP/2.0/UDP 108.168.235.227:5080;received=108.168.235.227;rport=5080;branch=z9hG4bK9D1rpjc5ZS00j variable_sip_from_display: +12017410274 variable_sip_full_from: "+12017410274" <sip:+12017410274@108.168.235.227>;tag=1cepg86Ke8tma variable_sip_full_to: <sip:0015012229085@52.53.248.193>;tag=cpQDQZ5e4aeHB variable_current_application_data: 127.0.0.1:8808 async full variable_current_application: socket variable_socket_host: 127.0.0.1 Content-Type: command/reply Reply-Text: +OK Socket-Mode: async Control: full 2017-11-06 17:34:43,035-outbound_socket-DEBUG : UUID of newly created inbound channel f61bf52d-0800-4c1f-a751-90914307f7e6 2017-11-06 17:34:43,036-outbound_socket-DEBUG : Creating CALLOBJ for InboundCall with uuid: f61bf52d-0800-4c1f-a751-90914307f7e6 2017-11-06 17:34:43,036-call-DEBUG : Setting channel vars on call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,036-outbound_socket-INFO : CALLOBJ created for new inbound call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,036-Backend-INFO : Getting Susbcriber details for call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,037-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-subscriber data: {"subscriber": "12019707887"} 2017-11-06 17:34:43,037-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90169e0> 2017-11-06 17:34:43,040-Backend-DEBUG : Sent data : {"subscriber": "12019707887"} 2017-11-06 17:34:43,054-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-subscriber 2017-11-06 17:34:43,055-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:34:43,055-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:34:43,055-Backend-DEBUG : Response Received: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:34:43,055-outbound_socket-DEBUG : Got subscriber result: {u'registered': True, u'code': 200, u'type': u'+OK', u'message': u'Operation Successful', u'subscribed': True} 2017-11-06 17:34:43,055-Backend-INFO : Getting VM Preferences for call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,055-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-vm-preferences data: {"agent_number": "12019707887"} 2017-11-06 17:34:43,056-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bf248> 2017-11-06 17:34:43,056-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90169e0> 2017-11-06 17:34:43,057-Backend-DEBUG : Sent data : {"agent_number": "12019707887"} 2017-11-06 17:34:43,066-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-vm-preferences 2017-11-06 17:34:43,067-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:34:43,067-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:34:43,067-Backend-DEBUG : Response Received: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:34:43,067-outbound_socket-INFO : Voicemial preferences received from backend: {u'is_custom_msg': False, u'greeting_msg': u'default', u'num_id': 239, u'is_custom_name': False, u'greeting_name': u'default', u'id': 239} 2017-11-06 17:34:43,067-outbound_socket-DEBUG : Starting Process for voicemail preference change. 2017-11-06 17:34:43,067-call-DEBUG : Deleting VM Preferences. Executing Query : DELETE FROM voicemail_prefs WHERE username = '12019707887' 2017-11-06 17:34:43,068-txDB-DEBUG : Running query - ("\n DELETE FROM voicemail_prefs\n WHERE username = '12019707887'\n ",) 2017-11-06 17:34:43,068-outbound_socket-DEBUG : Starting IVR for the call <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,068-ivr-INFO : Starting IVR .. .. .. 2017-11-06 17:34:43,068-ivr-DEBUG : LRN LookUp: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12017410274&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25 2017-11-06 17:34:43,068-PT-INFO : Starting factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12017410274&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:34:43,069-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bf248> 2017-11-06 17:34:43,069-txDB-DEBUG : Reconnecting MySQL ..... 2017-11-06 17:34:43,071-call-DEBUG : Query Result : () 2017-11-06 17:34:43,326-ivr-DEBUG : LRN Result: {u'CITY': u'HACKENSACK', u'LEC': u'CELLCO PARTNERSHIP DBA VERIZON WIRELESS - NJ', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6391', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12017410274', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:34:43,326-ivr-INFO : Success lookup LRN for call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904>. LRN Result: {u'CITY': u'HACKENSACK', u'LEC': u'CELLCO PARTNERSHIP DBA VERIZON WIRELESS - NJ', u'LINETYPE': u'WIRELESS', u'DNC': None, u'OCN': u'6391', u'JURISDICTION': u'INDETERMINATE', u'LRN': u'12017410274', u'STATE': u'NJ', u'LATA': u'224', u'SPID': None} 2017-11-06 17:34:43,326-Backend-INFO : Getting Contact Info for call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,327-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/get-contact data: {"caller": "12017410274", "callee": "12019707887"} 2017-11-06 17:34:43,327-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c6488> 2017-11-06 17:34:43,327-PT-INFO : Stopping factory <HTTPClientFactory: http://api.east.alcazarnetworks.com/api/2.2/lrn?tn=12017410274&output=json&extended=true&key=d81c4171-94ca-45f1-9498-282ef337fb25> 2017-11-06 17:34:43,331-Backend-DEBUG : Sent data : {"caller": "12017410274", "callee": "12019707887"} 2017-11-06 17:34:43,356-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/get-contact 2017-11-06 17:34:43,356-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:34:43,357-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:34:43,357-Backend-DEBUG : Response Received: {u'code': 200, u'substitutes': {}, u'contact_id': u'vTbvRRvt', u's_in_callee': {u'color': u'#89aec0', u'p_type': True, u'id': 391001, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'12017410274', u'is_mobile': True, u'fname': u'Dad', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'2017410274', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'vTbvRRvt', u'notes': u'', u'row_cid': u'0F1F0279-2560-4A66-ADD0-4B84E73DF2D8', u'loc_cid': u'2D52A3AF-A505-4E23-96B6-D6BB06ACE5D5', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'} 2017-11-06 17:34:43,357-ivr-INFO : Contact information received for call {u'code': 200, u'substitutes': {}, u'contact_id': u'vTbvRRvt', u's_in_callee': {u'color': u'#89aec0', u'p_type': True, u'id': 391001, u'phone_label': u'mobile', u'ver_num': 1, u'p_is_register': False, u'lname': u'', u'int_num': u'12017410274', u'is_mobile': True, u'fname': u'Dad', u'email': u'', u'img_local_path': None, u'e_is_register': False, u'phone': u'2017410274', u'agent_id': 1340, u'address': u'', u'is_deleted': False, u'device_id': u'06D55240-2172-4B97-96CA-0EEE813595AC', u'email_label': None, u'cid': u'vTbvRRvt', u'notes': u'', u'row_cid': u'0F1F0279-2560-4A66-ADD0-4B84E73DF2D8', u'loc_cid': u'2D52A3AF-A505-4E23-96B6-D6BB06ACE5D5', u'cname': u'', u'chat_id': None}, u'chat_id': None, u'is_registered': False, u's_in_caller': {}, u'message': u'Operation Successful', u'type': u'+OK'}: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,357-ivr-INFO : Choosing IVR .. .. .. 2017-11-06 17:34:43,357-ivr-DEBUG : Getting LRN of caller: 12017410274 2017-11-06 17:34:43,357-Backend-DEBUG : Sending out the backend request URL: http://172.31.11.73:8092/pt/event data: {"called_number": "12019707887", "contact_id": "vTbvRRvt", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509989683.357868, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12017410274", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "f61bf52d-0800-4c1f-a751-90914307f7e6", "vm_number": "15012229085", "caller_id_number": "12017410274", "contact_name": "Dad "} 2017-11-06 17:34:43,358-PT-INFO : Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bf6c8> 2017-11-06 17:34:43,358-ivr-DEBUG : Check Caller has return relationship or not. 2017-11-06 17:34:43,358-ivr-INFO : Mobile Caller. Starting Mobile IVR 2017-11-06 17:34:43,358-ivr-INFO : Check custom greetings available against caller or not. 2017-11-06 17:34:43,358-ivr-DEBUG : Play Default VM file : pt_sounds/default_vm_greeting.wav 2017-11-06 17:34:43,359-ivr-DEBUG : Playing brand sound on call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,359-ivr-INFO : Starting IVR For Mobile(Detection): <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,359-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90c6488> 2017-11-06 17:34:43,360-ivr-DEBUG : Successfully executed IVR: PT_MOBILE on Call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,361-Backend-DEBUG : Sent data : {"called_number": "12019707887", "contact_id": "vTbvRRvt", "Line-Type": "WIRELESS", "agent_number": "12019707887", "timestamp": 1509989683.357868, "destination_number": "15012229085", "Event-Name": "NEW_CALL", "caller_id_name": "+12017410274", "diversion": "<sip:+12019707887@fl.gg>;reason=no-answer;screen=yes;privacy=off", "is_mobile": true, "chat_id": null, "is_international_caller": true, "call_uuid": "f61bf52d-0800-4c1f-a751-90914307f7e6", "vm_number": "15012229085", "caller_id_number": "12017410274", "contact_name": "Dad "} 2017-11-06 17:34:43,375-Backend-INFO : Successfully sent request to http://172.31.11.73:8092/pt/event 2017-11-06 17:34:43,375-Backend-INFO : Response - Version ('HTTP', 1, 1) Code 200 Phrase OK 2017-11-06 17:34:43,375-Backend-DEBUG : Finished receiving body:Response body fully received 2017-11-06 17:34:43,375-Backend-DEBUG : Response Received: {u'message': u'Operation Successful', u'code': 200, u'type': u'+OK'} 2017-11-06 17:34:43,376-PT-INFO : Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x90bf6c8> 2017-11-06 17:34:43,383-ivr-INFO : IVR completed on call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,383-ivr-DEBUG : HangingUp call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,385-ivr-INFO : IVR completed on call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:43,386-ivr-DEBUG : HangingUp call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:44,353-ivr-INFO : IVR completed on call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:44,354-ivr-DEBUG : HangingUp call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:49,415-inbound_socket-INFO : Channel hangup event with uuid f61bf52d-0800-4c1f-a751-90914307f7e6 2017-11-06 17:34:49,415-inbound_socket-DEBUG : Popping callobj with uuid f61bf52d-0800-4c1f-a751-90914307f7e6 2017-11-06 17:34:49,421-ivr-INFO : IVR completed on call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:49,421-ivr-DEBUG : HangingUp call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:49,423-ivr-INFO : IVR completed on call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:49,423-ivr-DEBUG : HangingUp call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:49,427-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:34:49,427-PySWITCH-INFO : Enter raw mode to read disconnect notice 2017-11-06 17:34:49,427-outbound_socket-INFO : Outbound socket connection closed for call: <Inbound Call f61bf52d-0800-4c1f-a751-90914307f7e6 at 151789904> 2017-11-06 17:34:49,427-PySWITCH-INFO : Cleaning up 2017-11-06 17:34:59,161-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:34:59,163-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' A2017-11-06 17:35:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:36:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:37:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:38:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:39:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:39:59,157-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:39:59,158-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 17:40:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:41:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:42:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:43:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:44:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:44:59,159-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:44:59,160-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 17:45:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:46:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:47:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:48:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:49:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:49:59,150-PySWITCH-INFO : Connected to FreeSWITCH 2017-11-06 17:49:59,151-PT-ERROR : Unhandled Error Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/application/app.py", line 316, in runReactorWithLogging reactor.run() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1192, in run self.mainLoop() File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 1204, in mainLoop self.doIteration(t) File "/usr/lib64/python2.7/site-packages/twisted/internet/epollreactor.py", line 396, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib64/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext return func(*args,**kw) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib64/python2.7/site-packages/twisted/internet/posixbase.py", line 260, in _disconnectSelectable selectable.connectionLost(f) File "/usr/lib64/python2.7/site-packages/twisted/internet/tcp.py", line 299, in connectionLost protocol.connectionLost(reason) File "/opt/PhoneThingee/core/outbound_socket.py", line 170, in connectionLost log.info("Outbound socket connection closed for call: %s", self.callobj) exceptions.AttributeError: InboundCallProtocol instance has no attribute 'callobj' 2017-11-06 17:50:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:51:08,713-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:52:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... .... 2017-11-06 17:53:08,714-inbound_socket-DEBUG : Checking Stale Calls .... .... .... ....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement