From Paltry Hog, 6 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Untitled
  1.  
  2.    ------------------------------------------------------------------------
  3. 2018-03-14 18:54:13.333653 [INFO] mod_sms.c:368 Processing text message safarov->+12134237681 in context e911
  4. Chatplan: +12134237681 parsing [e911->sms2im-integration-test] continue=false
  5. Chatplan: +12134237681@node1.nga911.com Regex (PASS) [sms2im-integration-test] destination_number() =~ /^(.*)$/ break=on-false
  6. Chatplan: +12134237681@node1.nga911.com Action set(sip_profile=external)
  7. send 610 bytes to udp/[10.0.9.52]:5060 at 18:54:13.343662:
  8.    ------------------------------------------------------------------------
  9. Chatplan: +12134237681@node1.nga911.com Action python(psap_recipient_resolve)
  10.    SIP/2.0 202 Accepted
  11.    Via: SIP/2.0/UDP 10.0.9.52;branch=z9hG4bKc742.cd99d72c2220ce5b24fabd971d097e1a.0;i=1
  12.    Via: SIP/2.0/TCP 10.68.33.170:45324;received=94.25.168.95;branch=z9hG4bK.IzPIhSbuU;rport=43408
  13. Chatplan: +12134237681@node1.nga911.com Action send()
  14.    From: <sip:safarov@node1.nga911.com>;tag=Sqepjy96F
  15. Chatplan: +12134237681@node1.nga911.com Action set(sip_profile=null)
  16.    To: <sip:+12134237681@node1.nga911.com>;tag=7B43mKpc1BS9a
  17.    Call-ID: RMl~R8kF77
  18.    CSeq: 20 MESSAGE
  19.    Contact: <sip:10.0.9.50:12000>
  20.    User-Agent: FreeSWITCH-mod_sofia/1.6.19+git-20171224T074649Z~f858a27ad1~64bit
  21.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  22.    Supported: timer, path, replaces
  23.    Content-Length: 0
  24.    
  25.    ------------------------------------------------------------------------
  26. 2018-03-14 18:54:13.333653 [NOTICE] mod_python.c:212 Invoking py module: psap_recipient_resolve
  27. 2018-03-14 18:54:13.343828 [DEBUG] mod_python.c:283 Call python script
  28. 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
  29. 2018-03-14 18:54:14.943634 [DEBUG] mod_python.c:286 Finished calling python script
  30. 2018-03-14 18:54:14.943634 [ERR] mod_python.c:295 Error calling python script
  31. 2018-03-14 18:54:14.943634 [ERR] mod_python.c:164 Python Error by calling script "psap_recipient_resolve": <class 'urllib2.HTTPError'>
  32. Message: HTTP Error 500: Internal Server Error
  33. Exception: None
  34.  
  35. Traceback (most recent call last)
  36.         File: "/usr/lib/python2.7/dist-packages/psap_recipient_resolve.py", line 57, in chat
  37.         File: "/usr/lib/python2.7/dist-packages/psap_recipient_resolve.py", line 21, in get_receiver
  38.         File: "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
  39.         File: "/usr/lib/python2.7/urllib2.py", line 437, in open
  40.         File: "/usr/lib/python2.7/urllib2.py", line 550, in http_response
  41.         File: "/usr/lib/python2.7/urllib2.py", line 475, in error
  42.         File: "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
  43.         File: "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
  44. 2018-03-14 18:54:14.943634 [ERR] sofia_presence.c:200 Chat proto [sip]
  45. from [safarov@node1.nga911.com]
  46. to [+12134237681@node1.nga911.com]
  47. sergey here
  48. Invalid Profile null
  49. 2018-03-14 18:54:14.943634 [DEBUG] sofia_presence.c:225 Can't find registered user +12134237681@node1.nga911.com
  50. send 670 bytes to udp/[52.42.195.203]:5060 at 18:54:14.998377:
  51.    ------------------------------------------------------------------------