------------------------------------------------------------------------
2018-03-14 18:54:13.333653 [INFO] mod_sms.c:368 Processing text message safarov->+12134237681 in context e911
Chatplan: +12134237681 parsing [e911->sms2im-integration-test] continue=false
Chatplan: +12134237681@node1.nga911.com Regex (PASS) [sms2im-integration-test] destination_number() =~ /^(.*)$/ break=on-false
Chatplan: +12134237681@node1.nga911.com Action set(sip_profile=external)
send 610 bytes to udp/[10.0.9.52]:5060 at 18:54:13.343662:
------------------------------------------------------------------------
Chatplan: +12134237681@node1.nga911.com Action python(psap_recipient_resolve)
SIP/2.0 202 Accepted
Via: SIP/2.0/UDP 10.0.9.52;branch=z9hG4bKc742.cd99d72c2220ce5b24fabd971d097e1a.0;i=1
Via: SIP/2.0/TCP 10.68.33.170:45324;received=94.25.168.95;branch=z9hG4bK.IzPIhSbuU;rport=43408
Chatplan: +12134237681@node1.nga911.com Action send()
From: <sip:safarov@node1.nga911.com>;tag=Sqepjy96F
Chatplan: +12134237681@node1.nga911.com Action set(sip_profile=null)
To: <sip:+12134237681@node1.nga911.com>;tag=7B43mKpc1BS9a
Call-ID: RMl~R8kF77
CSeq: 20 MESSAGE
Contact: <sip:10.0.9.50: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-03-14 18:54:13.333653 [NOTICE] mod_python.c:212 Invoking py module: psap_recipient_resolve
2018-03-14 18:54:13.343828 [DEBUG] mod_python.c:283 Call python script
2018-03-14 18:54:13.343828 [WARNING] switch_cpp.cpp:1365 PSAP URL: https://csp.nga911.com/routablePsapForTextOrInstantMessage?message_body=sergey+here&caller=safarov&esinetEntryRoutePhoneNumber=12134237681
2018-03-14 18:54:14.943634 [DEBUG] mod_python.c:286 Finished calling python script
2018-03-14 18:54:14.943634 [ERR] mod_python.c:295 Error calling python script
2018-03-14 18:54:14.943634 [ERR] mod_python.c:164 Python Error by calling script "psap_recipient_resolve": <class 'urllib2.HTTPError'>
Message: HTTP Error 500: Internal Server Error
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/urllib2.py", line 154, in urlopen
File: "/usr/lib/python2.7/urllib2.py", line 437, in open
File: "/usr/lib/python2.7/urllib2.py", line 550, in http_response
File: "/usr/lib/python2.7/urllib2.py", line 475, in error
File: "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
File: "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
2018-03-14 18:54:14.943634 [ERR] sofia_presence.c:200 Chat proto [sip]
from [safarov@node1.nga911.com]
to [+12134237681@node1.nga911.com]
sergey here
Invalid Profile null
2018-03-14 18:54:14.943634 [DEBUG] sofia_presence.c:225 Can't find registered user +12134237681@node1.nga911.com
send 670 bytes to udp/[52.42.195.203]:5060 at 18:54:14.998377:
------------------------------------------------------------------------