From Scorching Rhinoceros, 6 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and sms2im 4
  1. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: REQUEST: ('10.0.9.38', 5060) OrderedDict([('via', ['SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKda2e.d51ab7440411058d623ea41325c0ea94.0', 'SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKda2e.992626c4000000000000000000000000.0']), ('to', ['<sip:+12139054794@sms2im.kazoo:31313;transport=udp>']), ('from', ['<sip:+12134237682>;tag=e07dab104889b44a6b7f947f6395b290-879c']), ('cseq', ['10 MESSAGE']), ('call-id', ['d9e0d846e667302356915eb329e4057a']), ('max-forwards', ['50']), ('content-length', ['6']), ('x-kazoo-aor', ['sip:+12139054794@sms2im.kazoo:31313;transport=udp']), ('content-type', ['text/plain'])])
  2. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: sending >>> sip:10.0.9.38:5060
  3. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: SIP/2.0 100 Trying
  4. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKda2e.d51ab7440411058d623ea41325c0ea94.0
  5. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKda2e.992626c4000000000000000000000000.0
  6. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: To: <sip:+12139054794@sms2im.kazoo:31313;transport=udp>
  7. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: From: <sip:+12134237682>;tag=e07dab104889b44a6b7f947f6395b290-879c
  8. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: Call-ID: d9e0d846e667302356915eb329e4057a
  9. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: CSeq: 10 MESSAGE
  10. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: sending to telnyx https://sms.telnyx.com:443/send {'body': 'qwerty', 'to': '+12139054794', 'from': '+12134237682'} Headers({'content-type': ['application/json'], 'x-profile-secret': ['xNp8SOnKll6HRzeZIuPxyBB0'], 'accept': ['application/json']})
  11. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: response while sending sms Headers({'date': ['Thu, 01 Feb 2018 06:45:13 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 '+12134237682' is invalid. Please use a number that is associated with the specified messaging profile"}
  12. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: ---ERROR--- [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'sms_id'
  13. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /usr/lib/python2.7/site-packages/twisted/web/_newclient.py:1220:_bodyDataFinished_CONNECTED
  14. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /etc/sms2im/utils.py:33:connectionLost
  15. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
  16. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
  17. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: --- <exception caught here> ---
  18. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
  19. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /etc/sms2im/sms_bridge.py:194:on_result2
  20. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: ]
  21. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: ---ERROR--- [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'sms_id'
  22. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /usr/lib/python2.7/site-packages/twisted/web/_newclient.py:1220:_bodyDataFinished_CONNECTED
  23. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /etc/sms2im/utils.py:33:connectionLost
  24. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
  25. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
  26. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: --- <exception caught here> ---
  27. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
  28. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: /etc/sms2im/sms_bridge.py:194:on_result2
  29. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: ]
  30. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: sending >>> sip:10.0.9.38:5060
  31. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: SIP/2.0 503 Service Unavailable
  32. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKda2e.d51ab7440411058d623ea41325c0ea94.0
  33. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bKda2e.992626c4000000000000000000000000.0
  34. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: To: <sip:+12139054794@sms2im.kazoo:31313;transport=udp>
  35. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: From: <sip:+12134237682>;tag=e07dab104889b44a6b7f947f6395b290-879c
  36. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: Call-ID: d9e0d846e667302356915eb329e4057a
  37. Feb 01 06:45:13 node11.docker.nga911.com sh[21741]: CSeq: 10 MESSAGE
  38.