freeswitch@media2a-pre.kazoo> recv 703 bytes from udp/[10.0.9.54]:5060 at 19:19:08.546166: ------------------------------------------------------------------------ MESSAGE sip:+12134237680@gw.nga911.com:15060;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.0.9.54;branch=z9hG4bK9746.88ab0fd201f6768669d79baab4123a65.0 Via: SIP/2.0/UDP 192.168.2.46:46852;received=91.224.133.8;branch=z9hG4bK-524287-1---9b0af2398a2e081e;rport=46852 Max-Forwards: 50 To: From: ;tag=3410c241 Call-ID: lcl5qj9V1EJMr_LAZEGfVQ.. CSeq: 2 MESSAGE Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE Content-Type: text/plain User-Agent: Zoiper rd82a609 Allow-Events: presence, kpml, talk Content-Length: 6 X-AUTH-IP: 91.224.133.8 X-AUTH-PORT: 46852 Llllll ------------------------------------------------------------------------ 2018-01-11 19:19:08.532701 [INFO] mod_sms.c:368 Processing text message 1002->+12134237680 in context e911 Chatplan: +12134237680 parsing [e911->sms2im-integration-test] continue=false Chatplan: +12134237680@gw.nga911.com Regex (PASS) [sms2im-integration-test] destination_number() =~ /^(.*)$/ break=on-false Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Account-ID=30ec2ee9ad51c5d8b43c45eafd4e113e) Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Authorizing-Type=device) Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Authorizing-ID=56e0be7ac06b6db19c4707aefe3526bf) Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Username=sms2im) Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Realm=office.nga911.com) Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Account-Realm=office.nga911.com) Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Account-Name=office.nga911.com) Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Presence-ID=sms2im@office.nga911.com) Chatplan: +12134237680@gw.nga911.com Action set(sip_profile=external) Chatplan: +12134237680@gw.nga911.com Action python(psap_recipient_resolve) 2018-01-11 19:19:08.532701 [NOTICE] mod_python.c:212 Invoking py module: psap_recipient_resolve 2018-01-11 19:19:08.532701 [DEBUG] mod_python.c:283 Call python script 2018-01-11 19:19:08.532701 [WARNING] switch_cpp.cpp:1365 PSAP URL: https://csp.nga911.com/routablePsapForTextOrInstantMessage?entryRouteId=12134237680&latitude=34.18&longitude=-118.46 send 667 bytes to udp/[10.0.9.54]:5060 at 19:19:08.548830: ------------------------------------------------------------------------ SIP/2.0 202 Accepted Via: SIP/2.0/UDP 10.0.9.54;branch=z9hG4bK9746.88ab0fd201f6768669d79baab4123a65.0 Via: SIP/2.0/UDP 192.168.2.46:46852;received=91.224.133.8;branch=z9hG4bK-524287-1---9b0af2398a2e081e;rport=46852 From: ;tag=3410c241 To: ;tag=SF5B7arKHByyj Call-ID: lcl5qj9V1EJMr_LAZEGfVQ.. CSeq: 2 MESSAGE Contact: 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 ------------------------------------------------------------------------ freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> 2018-01-11 19:19:08.772740 [DEBUG] switch_cpp.cpp:1365 No JSON object could be decoded 2018-01-11 19:19:08.772740 [WARNING] switch_cpp.cpp:1365 PSAP Route: UNKNOWN 2018-01-11 19:19:08.772740 [DEBUG] mod_python.c:286 Finished calling python script 2018-01-11 19:19:08.772740 [ERR] mod_python.c:295 Error calling python script 2018-01-11 19:19:08.772740 [ERR] mod_python.c:164 Python Error by calling script "psap_recipient_resolve": Message: need more than 1 value to unpack Exception: None Traceback (most recent call last) File: "/usr/lib/python2.7/dist-packages/psap_recipient_resolve.py", line 64, in chat File: "/usr/lib/python2.7/dist-packages/psap_recipient_resolve.py", line 52, in update_old 2018-01-11 19:19:08.772740 [ERR] sofia_presence.c:155 Missing To: header. freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo>