- Jan 22 09:42:46 node12.docker.nga911.com sh[23725]: starting reactor
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: REQUEST: ('10.0.9.38', 5060) OrderedDict([('via', ['SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK4a1e.44434ed9af0eba4d72d3a12ac9142cf2.0', 'SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK4a1e.141e91d2000000000000000000000000.0']), ('to', ['<sip:+12139054794@sms2im.kazoo:31313>']), ('from', ['<sip:+12132841480>;tag=e07dab104889b44a6b7f947f6395b290-3709']), ('cseq', ['10 MESSAGE']), ('call-id', ['3c9774167aba1adda4b7b3c4e0198e92']), ('max-forwards', ['50']), ('content-length', ['202']), ('x-kazoo-aor', ['sip:+12139054794@sms2im.kazoo:31313']), ('content-type', ['text/plain'])])
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: sending >>> sip:10.0.9.38:5060
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: SIP/2.0 100 Trying
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK4a1e.44434ed9af0eba4d72d3a12ac9142cf2.0
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK4a1e.141e91d2000000000000000000000000.0
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: To: <sip:+12139054794@sms2im.kazoo:31313>
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: From: <sip:+12132841480>;tag=e07dab104889b44a6b7f947f6395b290-3709
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: Call-ID: 3c9774167aba1adda4b7b3c4e0198e92
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: CSeq: 10 MESSAGE
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: sending to telnyx https://sms.telnyx.com:443/send {'body': 'From: <im:barb@office.nga911.com>\r\nTo: <im:+12139054794@office.nga911.com>\r\nDateTime: 2018-01-22T09:43:01Z\r\nNS: imdn <urn:ietf:params:imdn>\r\nimdn.Message-ID: XBzY-ynu-\r\n\r\nContent-Type: text/plain\r\n\r\nfgg', 'to': '+12139054794', 'from': '+12132841480>;tag=e07dab104889b44a6b7f947f6395b290-3709'} Headers({'content-type': ['application/json'], 'x-profile-secret': ['xNp8SOnKll6HRzeZIuPxyBB0'], 'accept': ['application/json']})
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: response while sending sms Headers({'date': ['Mon, 22 Jan 2018 09:42:55 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 09:42:55 node12.docker.nga911.com sh[23725]: ---ERROR--- [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'sms_id'
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /usr/lib/python2.7/site-packages/twisted/web/_newclient.py:1220:_bodyDataFinished_CONNECTED
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /etc/sms2im/utils.py:33:connectionLost
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: --- <exception caught here> ---
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /etc/sms2im/sms_bridge.py:186:on_result2
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: ]
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: ---ERROR--- [Failure instance: Traceback: <type 'exceptions.KeyError'>: 'sms_id'
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /usr/lib/python2.7/site-packages/twisted/web/_newclient.py:1220:_bodyDataFinished_CONNECTED
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /etc/sms2im/utils.py:33:connectionLost
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: --- <exception caught here> ---
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /usr/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: /etc/sms2im/sms_bridge.py:186:on_result2
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: ]
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: sending >>> sip:10.0.9.38:5060
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: SIP/2.0 503 Service Unavailable
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK4a1e.44434ed9af0eba4d72d3a12ac9142cf2.0
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: Via: SIP/2.0/UDP 10.0.9.38;branch=z9hG4bK4a1e.141e91d2000000000000000000000000.0
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: To: <sip:+12139054794@sms2im.kazoo:31313>
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: From: <sip:+12132841480>;tag=e07dab104889b44a6b7f947f6395b290-3709
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: Call-ID: 3c9774167aba1adda4b7b3c4e0198e92
- Jan 22 09:42:55 node12.docker.nga911.com sh[23725]: CSeq: 10 MESSAGE