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'])])
Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: sending >>> sip:10.0.9.38:5060
Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: SIP/2.0 100 Trying
Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK7b0e.83ce3caeb592d1cc9603d4bc9e892adf.0
Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK7b0e.d6da7a83000000000000000000000000.0
Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: To: <sip:+12139054794@sms2im.kazoo:31313>
Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: From: <sip:+12132841480>;tag=e07dab104889b44a6b7f947f6395b290-945f
Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: Call-ID: ca57e56e91233ec03aef7cf7d440aef3
Jan 22 12:42:32 node12.docker.nga911.com sh[23791]: CSeq: 10 MESSAGE
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']})
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"}
Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: ---ERROR--- [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'sms_id'
Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /usr/lib/python2.7/site-packages/twisted/web/_newclient.py:1220:_bodyDataFinished_CONNECTED
Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /etc/sms2im/utils.py:33:connectionLost
Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: --- <exception caught here> ---
Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: /etc/sms2im/sms_bridge.py:186:on_result2
Jan 22 12:42:33 node12.docker.nga911.com sh[23791]: ]
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}