freeswitch@media1a-pre.kazoo>
freeswitch@media1a-pre.kazoo>
freeswitch@media1a-pre.kazoo>
recv 304 bytes from udp/[10.0.9.59]:31313 at 16:49:20.679980:
------------------------------------------------------------------------
MESSAGE sip:+16466321311@office.nga911.com SIP/2.0
Via: SIP/2.0/UDP 10.0.9.59:31313
From: <sip:+12139054794@office.nga911.com>
To: <sip:+16466321311@office.nga911.com>
CSeq: 1033 MESSAGE
Content-Type: text/plain
Content-Length: 17
Call-ID: c3df2ccd-b8d7-4eb3-bfde-b9bd0a55e6b9
Hello Don! Sergey
------------------------------------------------------------------------
2018-04-25 16:49:20.670875 [INFO] mod_sms.c:368 Processing text message +12139054794->+16466321311 in context e911
Chatplan: +16466321311 parsing [e911->pass_message_directly_to_kazoo] continue=false
Chatplan: +16466321311@office.nga911.com Regex (FAIL) [pass_message_directly_to_kazoo] ${from_user}(+12139054794) =~ /^\+?(19282482284|12132050526)$/ break=on-false
Chatplan: +16466321311 parsing [e911->sms2im-integration-test] continue=false
Chatplan: +16466321311@office.nga911.com Regex (PASS) [sms2im-integration-test] destination_number() =~ /^(.*)$/ break=on-false
Chatplan: +16466321311@office.nga911.com Action info()
Chatplan: +16466321311@office.nga911.com Action set(sip_profile=external)
Chatplan: +16466321311@office.nga911.com Action unset(sip_h_X-AUTH-IP)
Chatplan: +16466321311@office.nga911.com Action unset(sip_h_X-AUTH-PORT)
Chatplan: +16466321311@office.nga911.com Action python(psap_recipient_resolve)
Chatplan: +16466321311@office.nga911.com Action send()
Chatplan: +16466321311@office.nga911.com Action set(sip_profile=null)
2018-04-25 16:49:20.670875 [INFO] mod_sms.c:495 CHANNEL_DATA:
Event-Name: [MESSAGE]
Core-UUID: [569624d4-bafd-4abd-949d-14f093874c4b]
FreeSWITCH-Hostname: [media1a-pre.kazoo]
FreeSWITCH-Switchname: [media1a-pre.kazoo]
FreeSWITCH-IPv4: [172.18.0.12]
FreeSWITCH-IPv6: [::1]
Event-Date-Local: [2018-04-25 16:49:20]
Event-Date-GMT: [Wed, 25 Apr 2018 16:49:20 GMT]
Event-Date-Timestamp: [1524674960670875]
Event-Calling-File: [sofia_presence.c]
Event-Calling-Function: [sofia_presence_handle_sip_i_message]
Event-Calling-Line-Number: [4893]
Event-Sequence: [308956]
login: [sip:mod_sofia@10.0.9.48:12000]
proto: [sip]
to_proto: [sip]
from: [+12139054794@office.nga911.com]
from_user: [+12139054794]
from_host: [office.nga911.com]
to_user: [+16466321311]
to_host: [office.nga911.com]
from_sip_ip: [10.0.9.59]
from_sip_port: [31313]
to: [+16466321311@office.nga911.com]
subject: [SIMPLE MESSAGE]
context: [e911]
type: [text/plain]
from_full: [<sip:+12139054794@office.nga911.com>]
sip_profile: [external-kamailio]
dest_proto: [sip]
max_forwards: [70]
Content-Length: 17
Hello Don! Sergey
2018-04-25 16:49:20.670875 [NOTICE] mod_python.c:212 Invoking py module: psap_recipient_resolve
2018-04-25 16:49:20.670875 [DEBUG] mod_python.c:283 Call python script
2018-04-25 16:49:20.670875 [WARNING] switch_cpp.cpp:1365 PSAP URL: https://csp.nga911.com/routablePsapForTextOrInstantMessage?message_body=Hello+Don%21+Sergey&caller=12139054794&esinetEntryRoutePhoneNumber=16466321311
send 483 bytes to udp/[10.0.9.59]:31313 at 16:49:20.681402:
------------------------------------------------------------------------
SIP/2.0 202 Accepted
Via: SIP/2.0/UDP 10.0.9.59:31313
From: <sip:+12139054794@office.nga911.com>
To: <sip:+16466321311@office.nga911.com>;tag=7pHNBp4BU5Bmc
Call-ID: c3df2ccd-b8d7-4eb3-bfde-b9bd0a55e6b9
CSeq: 1033 MESSAGE
Contact: <sip:10.0.9.48:12000>
User-Agent: FreeSWITCH-mod_sofia/1.6.19+git-20171224T074649Z~f858a27ad1~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Content-Length: 0
------------------------------------------------------------------------
2018-04-25 16:49:20.950879 [DEBUG] mod_python.c:286 Finished calling python script
2018-04-25 16:49:20.950879 [ERR] mod_python.c:295 Error calling python script
2018-04-25 16:49:20.950879 [ERR] mod_python.c:164 Python Error by calling script "psap_recipient_resolve": <type 'exceptions.ValueError'>
Message: No JSON object could be decoded
Exception: None
Traceback (most recent call last)
File: "/usr/lib/python2.7/dist-packages/psap_recipient_resolve.py", line 57, in chat
File: "/usr/lib/python2.7/dist-packages/psap_recipient_resolve.py", line 21, in get_receiver
File: "/usr/lib/python2.7/json/__init__.py", line 338, in loads
File: "/usr/lib/python2.7/json/decoder.py", line 366, in decode
File: "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
2018-04-25 16:49:20.950879 [ERR] sofia_presence.c:200 Chat proto [sip]
from [+12139054794@office.nga911.com]
to [+16466321311@office.nga911.com]
Hello Don! Sergey
Invalid Profile null
2018-04-25 16:49:20.950879 [DEBUG] sofia_presence.c:225 Can't find registered user +16466321311@office.nga911.com
send 643 bytes to udp/[52.42.195.203]:5060 at 16:49:21.029695:
------------------------------------------------------------------------
MESSAGE sip:+16466321311@office.nga911.com SIP/2.0
Via: SIP/2.0/UDP 52.24.72.57:5080;rport;branch=z9hG4bKX1yFmmt86BvUr
Max-Forwards: 70
From: <sip:+12139054794@office.nga911.com>;tag=gr8g6FHt6Z5vg
To: <sip:+16466321311@office.nga911.com>
Call-ID: 6ae6e7f4-0a01-42e1-affe-ab8c4c78836c
CSeq: 121723294 MESSAGE
User-Agent: FreeSWITCH-mod_sofia/1.6.19+git-20171224T074649Z~f858a27ad1~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Content-Type: text/plain
Content-Length: 17
X-FS-Sending-Message: 569624d4-bafd-4abd-949d-14f093874c4b
Hello Don! Sergey
------------------------------------------------------------------------
recv 534 bytes from udp/[52.42.195.203]:5060 at 16:49:21.062707:
------------------------------------------------------------------------
SIP/2.0 202 Accepted
Via: SIP/2.0/UDP 52.24.72.57:5080;received=35.165.141.141;rport=5080;branch=z9hG4bKX1yFmmt86BvUr
From: <sip:+12139054794@office.nga911.com>;tag=gr8g6FHt6Z5vg
To: <sip:+16466321311@office.nga911.com>;tag=D3F9taB34rDpB
Call-ID: 6ae6e7f4-0a01-42e1-affe-ab8c4c78836c
CSeq: 121723294 MESSAGE
Contact: <sip:10.0.9.34:11000>
User-Agent: proxy.ackone.com
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: path, replaces
Content-Length: 0
------------------------------------------------------------------------
freeswitch@media1a-pre.kazoo>