From Harmless Cockroach, 6 Years ago, written in Plain Text.
- view diff
Embed
  1. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: REQUEST: ('10.0.9.38', 5060) OrderedDict([('via', ['SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKaf7e.c883f90a3ef7597dcaff12561273eb12.0', 'SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKaf7e.478bb5d5000000000000000000000000.0']), ('to', ['<sip:+12139054794@sms2im.kazoo:31313>']), ('from', ['<sip:+12132841480>;tag=e07dab104889b44a6b7f947f6395b290-c23c']), ('cseq', ['10 MESSAGE']), ('call-id', ['396c4928654929d4669cb76964e0290c']), ('max-forwards', ['50']), ('content-length', ['205']), ('x-kazoo-aor', ['sip:+12139054794@sms2im.kazoo:31313']), ('content-type', ['text/plain'])])
  2. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: sending >>> sip:10.0.9.38:5060
  3. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: SIP/2.0 100 Trying
  4. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKaf7e.c883f90a3ef7597dcaff12561273eb12.0
  5. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKaf7e.478bb5d5000000000000000000000000.0
  6. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: To: <sip:+12139054794@sms2im.kazoo:31313>
  7. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: From: <sip:+12132841480>;tag=e07dab104889b44a6b7f947f6395b290-c23c
  8. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: Call-ID: 396c4928654929d4669cb76964e0290c
  9. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: CSeq: 10 MESSAGE
  10. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: sending to telnyx https://sms.telnyx.com:443/send {'body': 'Content-Type: text/plain\n\ndddddd', 'to': '+12139054794', 'from': '+12132841480'} Headers({'content-type': ['application/json'], 'x-profile-secret': ['xNp8SOnKll6HRzeZIuPxyBB0'], 'accept': ['application/json']})
  11.  
  12.  
  13.  
  14. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: response while sending sms Headers({'date': ['Wed, 24 Jan 2018 09:16:47 GMT'], 'strict-transport-security': ['max-age=15552000'], 'content-type': ['application/json; charset=utf-8'], 'server': ['Python/3.6 aiohttp/2.3.2']}) {"success": false, "status": 409, "message": "The specified from number '+12132841480' is invalid. Please use a number that is associated with the specified messaging profile"}
  15. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: ---ERROR--- [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'sms_id'
  16. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /usr/lib/python2.7/site-packages/twisted/web/_newclient.py:1220:_bodyDataFinished_CONNECTED
  17. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /etc/sms2im/utils.py:33:connectionLost
  18. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
  19. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
  20. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: --- <exception caught here> ---
  21. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
  22. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /etc/sms2im/sms_bridge.py:186:on_result2
  23. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: ]
  24. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: ---ERROR--- [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'sms_id'
  25. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /usr/lib/python2.7/site-packages/twisted/web/_newclient.py:1220:_bodyDataFinished_CONNECTED
  26. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /etc/sms2im/utils.py:33:connectionLost
  27. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
  28. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
  29. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: --- <exception caught here> ---
  30. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
  31. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: /etc/sms2im/sms_bridge.py:186:on_result2
  32. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: ]
  33. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: sending >>> sip:10.0.9.38:5060
  34. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: SIP/2.0 503 Service Unavailable
  35. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKaf7e.c883f90a3ef7597dcaff12561273eb12.0
  36. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKaf7e.478bb5d5000000000000000000000000.0
  37. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: To: <sip:+12139054794@sms2im.kazoo:31313>
  38. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: From: <sip:+12132841480>;tag=e07dab104889b44a6b7f947f6395b290-c23c
  39. Jan 24 09:16:47 node12.docker.nga911.com sh[5354]: Call-ID: 396c4928654929d4669cb76964e0290c