------------------------------------------------------------------------ recv 302 bytes from udp/[10.0.9.56]:31313 at 16:03:54.582164: ------------------------------------------------------------------------ MESSAGE sip:+12134237680@office.nga911.com SIP/2.0 Via: SIP/2.0/UDP 10.0.9.56:31313 From: To: CSeq: 12 MESSAGE Content-Type: text/plain Content-Length: 17 Call-ID: 0dc45511-a216-4061-b57d-bf8eb2de2256 Hello Don! Sergey ------------------------------------------------------------------------ 2018-01-12 16:03:54.574491 [INFO] mod_sms.c:368 Processing text message +12139054794->+12134237680 in context e911 Chatplan: +12134237680 parsing [e911->sms2im-integration-test] continue=false Chatplan: +12134237680@office.nga911.com Regex (PASS) [sms2im-integration-test] destination_number() =~ /^(.*)$/ break=on-false Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Account-ID=30ec2ee9ad51c5d8b43c45eafd4e113e) Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Authorizing-Type=device) Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Authorizing-ID=56e0be7ac06b6db19c4707aefe3526bf) Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Username=sms2im) Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Realm=office.nga911.com) Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Account-Realm=office.nga911.com) Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Account-Name=office.nga911.com) Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Presence-ID=sms2im@office.nga911.com) Chatplan: +12134237680@office.nga911.com Action set(sip_profile=external) Chatplan: +12134237680@office.nga911.com Action python(psap_recipient_resolve) 2018-01-12 16:03:54.574491 [NOTICE] mod_python.c:212 Invoking py module: psap_recipient_resolve send 481 bytes to udp/[10.0.9.56]:31313 at 16:03:54.583977: ------------------------------------------------------------------------ SIP/2.0 202 Accepted Via: SIP/2.0/UDP 10.0.9.56:31313 From: To: ;tag=ZZHDt2aQ1y70a Call-ID: 0dc45511-a216-4061-b57d-bf8eb2de2256 CSeq: 12 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 ------------------------------------------------------------------------ 2018-01-12 16:03:54.834477 [DEBUG] mod_python.c:283 Call python script 2018-01-12 16:03:54.834477 [WARNING] switch_cpp.cpp:1365 PSAP URL: https://csp.nga911.com/routablePsapForTextOrInstantMessage?latitude=34.18&longitude=-118.46&esinetEntryRoutePhoneNumber=%2B12139054794 2018-01-12 16:03:55.354487 [DEBUG] switch_cpp.cpp:1365 No JSON object could be decoded 2018-01-12 16:03:55.354487 [WARNING] switch_cpp.cpp:1365 PSAP Route: UNKNOWN 2018-01-12 16:03:55.354487 [DEBUG] mod_python.c:286 Finished calling python script 2018-01-12 16:03:55.354487 [ERR] mod_python.c:295 Error calling python script 2018-01-12 16:03:55.354487 [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-12 16:03:55.354487 [ERR] sofia_presence.c:155 Missing To: header.