From Sexy Zebra, 6 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and sms2im 2
  1. Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: REQUEST: ('10.0.9.38', 5060) OrderedDict([('via', ['SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK7b0e.83ce3caeb592d1cc9603d4bc9e892adf.0', 'SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK7b0e.d6da7a83000000000000000000000000.0']), ('to', ['<sip:+12139054794@sms2im.kazoo:31313>']), ('from', ['<sip:+12132841480>;tag=e07dab104889b44a6b7f947f6395b290-945f']), ('cseq', ['10 MESSAGE']), ('call-id', ['ca57e56e91233ec03aef7cf7d440aef3']), ('max-forwards', ['50']), ('content-length', ['203']), ('x-kazoo-aor', ['sip:+12139054794@sms2im.kazoo:31313']), ('content-type', ['text/plain'])])
  2. Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: sending >>> sip:10.0.9.38:5060
  3. Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: SIP/2.0 100 Trying
  4. Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK7b0e.83ce3caeb592d1cc9603d4bc9e892adf.0
  5. Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK7b0e.d6da7a83000000000000000000000000.0
  6. Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: To: <sip:+12139054794@sms2im.kazoo:31313>
  7. Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: From: <sip:+12132841480>;tag=e07dab104889b44a6b7f947f6395b290-945f
  8. Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: Call-ID: ca57e56e91233ec03aef7cf7d440aef3
  9. Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: CSeq: 10 MESSAGE
  10. Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: sending to telnyx https://sms.telnyx.com:443/send {'body': '', 'to': '+12139054794', 'from': '+12132841480>;tag=e07dab104889b44a6b7f947f6395b290-945f'} Headers({'content-type': ['application/json'], 'x-profile-secret': ['xNp8SOnKll6HRzeZIuPxyBB0'], 'accept': ['application/json']})
  11. Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: response while sending sms Headers({'date': ['Mon, 22 Jan 2018 12:42:33 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": 400, "message": "The from number must be supplied in e164 format"}
  12. Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: ---ERROR--- [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'sms_id'
  13. Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /usr/lib/python2.7/site-packages/twisted/web/_newclient.py:1220:_bodyDataFinished_CONNECTED
  14. Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /etc/sms2im/utils.py:33:connectionLost
  15. Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
  16. Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
  17. Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: --- <exception caught here> ---
  18. Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
  19. Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /etc/sms2im/sms_bridge.py:186:on_result2
  20. Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: ]
  21.