freeswitch@media2a-pre.kazoo> recv 706 bytes from udp/[10.0.9.54]:5060 at 22:38:13.635522: ------------------------------------------------------------------------ MESSAGE sip:+12134237680@gw.nga911.com:15060;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 10.0.9.54;branch=z9hG4bKa746.4ba6cc4abacc42d737a54a0c5b8dcdbd.0 Via: SIP/2.0/UDP 192.168.2.46:46852;received=91.224.133.8;branch=z9hG4bK-524287-1---0efa431c5a1b56ec;rport=46852 Max-Forwards: 50 To: From: ;tag=3410c241 Call-ID: lcl5qj9V1EJMr_LAZEGfVQ.. CSeq: 3 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: 9 X-AUTH-IP: 91.224.133.8 X-AUTH-PORT: 46852 Ffgghhjjj ------------------------------------------------------------------------ 2018-01-11 22:38:13.621708 [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 22:38:13.621708 [NOTICE] mod_python.c:212 Invoking py module: psap_recipient_resolve send 667 bytes to udp/[10.0.9.54]:5060 at 22:38:13.637416: ------------------------------------------------------------------------ SIP/2.0 202 Accepted Via: SIP/2.0/UDP 10.0.9.54;branch=z9hG4bKa746.4ba6cc4abacc42d737a54a0c5b8dcdbd.0 Via: SIP/2.0/UDP 192.168.2.46:46852;received=91.224.133.8;branch=z9hG4bK-524287-1---0efa431c5a1b56ec;rport=46852 From: ;tag=3410c241 To: ;tag=NaptX9gUXXm6g Call-ID: lcl5qj9V1EJMr_LAZEGfVQ.. CSeq: 3 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 22:38:13.861727 [DEBUG] mod_python.c:283 Call python script 2018-01-11 22:38:13.861727 [WARNING] switch_cpp.cpp:1365 PSAP URL: https://csp.nga911.com/routablePsapForTextOrInstantMessage?latitude=34.18&longitude=-118.46&esinetEntryRoutePhoneNumber=12134237680 freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> freeswitch@media2a-pre.kazoo> 2018-01-11 22:38:14.521712 [DEBUG] switch_cpp.cpp:1365 'alertId' 2018-01-11 22:38:14.521712 [WARNING] switch_cpp.cpp:1365 PSAP Route: UNKNOWN 2018-01-11 22:38:14.521712 [DEBUG] mod_python.c:286 Finished calling python script 2018-01-11 22:38:14.521712 [ERR] mod_python.c:295 Error calling python script 2018-01-11 22:38:14.521712 [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 22:38:14.521712 [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> freeswitch@media2a-pre.kazoo>