{"action":"created","issue":{"url":"https://api.github.com/repos/twilio/twilio-php/issues/174","repository_url":"https://api.github.com/repos/twilio/twilio-php","labels_url":"https://api.github.com/repos/twilio/twilio-php/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/twilio/twilio-php/issues/174/comments","events_url":"https://api.github.com/repos/twilio/twilio-php/issues/174/events","html_url":"https://github.com/twilio/twilio-php/issues/174","id":30910503,"number":174,"title":"Outbound SIP does not Authenticate","user":{"login":"troykelly","id":4564803,"avatar_url":"https://avatars.githubusercontent.com/u/4564803?v=3","gravatar_id":"","url":"https://api.github.com/users/troykelly","html_url":"https://github.com/troykelly","followers_url":"https://api.github.com/users/troykelly/followers","following_url":"https://api.github.com/users/troykelly/following{/other_user}","gists_url":"https://api.github.com/users/troykelly/gists{/gist_id}","starred_url":"https://api.github.com/users/troykelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/troykelly/subscriptions","organizations_url":"https://api.github.com/users/troykelly/orgs","repos_url":"https://api.github.com/users/troykelly/repos","events_url":"https://api.github.com/users/troykelly/events{/privacy}","received_events_url":"https://api.github.com/users/troykelly/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2014-04-05T07:25:26Z","updated_at":"2016-08-16T04:34:16Z","closed_at":"2016-08-16T04:34:16Z","body":"As per issue 147 which was prematurely closed.\r\n\r\nInstantiating an outbound call does not pass authentication data. Twilio is asked for it -but never provides it.\r\n\r\nPacket capture:\r\n```\r\n07:19:55.509733 IP (tos 0x0, ttl 40, id 0, offset 0, flags [DF], proto UDP (17), length 1183)\r\n    ec2-107-21-222-153.compute-1.amazonaws.com.sip > voip001.mmcc: SIP, length: 1155\r\n\tINVITE sip:1111@[[SERVERNAME]]:5050 SIP/2.0\r\n\tRecord-Route: <sip:107.21.222.153:5060;lr;ftag=68910732_6772d868_088877ee-8762-4b3f-9c26-70d5fd016b75>\r\n\tFrom: \"bob\" <sip:bob@sip.twilio.com>;tag=68910732_6772d868_088877ee-8762-4b3f-9c26-70d5fd016b75\r\n\tTo: <sip:1111@[[SERVERNAME]]:5050>\r\n\tCSeq: 102 INVITE\r\n\tMax-Forwards: 68\r\n\tDate: Sat, 05 Apr 2014 07:19:54 GMT\r\n\tCall-ID: [[REDACTED]]@0.0.0.0\r\n\tVia: SIP/2.0/UDP 107.21.222.153:5060;branch=z9hG4bKe0ff.69bd5681.0\r\n\tVia: SIP/2.0/UDP 10.192.119.159:5060;branch=z9hG4bK088877ee-8762-4b3f-9c26-70d5fd016b75_6772d868_299742368376608\r\n\tContact: \"bob\" <sip:bob@10.192.119.159:5060;transport=udp>\r\n\tAllow: INVITE,ACK,CANCEL,OPTIONS,BYE\r\n\tUser-Agent: Twilio Gateway\r\n\tX-Twilio-ApiVersion: 2010-04-01\r\n\tX-Twilio-AccountSid: [[REDACTED]]\r\n\tContent-Type: application/sdp\r\n\tX-Twilio-CallSid: [[REDACTED]]\r\n\tContent-Length: 243\r\n\t\r\n\tv=0\r\n\to=- 462057515 462057515 IN IP4 54.82.68.12\r\n\ts=session\r\n\tc=IN IP4 54.82.68.12\r\n\tt=0 0\r\n\tm=audio 19460 RTP/AVP 0 101\r\n\ta=rtpmap:0 PCMU/8000\r\n\ta=rtpmap:101 telephone-event/8000\r\n\ta=fmtp:101 0-16\r\n\ta=silenceSupp:off - - - -\r\n\ta=ptime:20\r\n\ta=sendrecv\r\n\t\r\n07:19:55.511631 IP (tos 0x0, ttl 64, id 22349, offset 0, flags [none], proto UDP (17), length 715)\r\n    voip001.mmcc > ec2-107-21-222-153.compute-1.amazonaws.com.sip: SIP, length: 687\r\n\tSIP/2.0 401 Unauthorized\r\n\tVia: SIP/2.0/UDP 107.21.222.153:5060;branch=z9hG4bKe0ff.69bd5681.0;received=107.21.222.153;rport=5060\r\n\tVia: SIP/2.0/UDP 10.192.119.159:5060;branch=z9hG4bK088877ee-8762-4b3f-9c26-70d5fd016b75_6772d868_299742368376608\r\n\tFrom: \"bob\" <sip:bob@sip.twilio.com>;tag=68910732_6772d868_088877ee-8762-4b3f-9c26-70d5fd016b75\r\n\tTo: <sip:1111@[[SERVERNAME]]:5050>;tag=as028abc15\r\n\tCall-ID: 0412dd6597a34280d90686247c9718c2@0.0.0.0\r\n\tCSeq: 102 INVITE\r\n\tServer: Aperim PBX\r\n\tAllow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH\r\n\tSupported: replaces, timer\r\n\tWWW-Authenticate: Digest algorithm=MD5, realm=\"voipnow\", nonce=\"886wbkax\"\r\n\tContent-Length: 0\r\n\t\r\n\t\r\n07:19:55.746115 IP (tos 0x0, ttl 40, id 0, offset 0, flags [DF], proto UDP (17), length 419)\r\n    ec2-107-21-222-153.compute-1.amazonaws.com.sip > voip001.mmcc: SIP, length: 391\r\n\tACK sip:1111@[[SERVERNAME]]:5050 SIP/2.0\r\n\tVia: SIP/2.0/UDP 107.21.222.153:5060;branch=z9hG4bKe0ff.69bd5681.0\r\n\tFrom: \"bob\" <sip:bob@sip.twilio.com>;tag=68910732_6772d868_088877ee-8762-4b3f-9c26-70d5fd016b75\r\n\tCall-ID: 0412dd6597a34280d90686247c9718c2@0.0.0.0\r\n\tTo: <sip:1111@[[SERVERNAME]]:5050>;tag=as028abc15\r\n\tCSeq: 102 ACK\r\n\tMax-Forwards: 70\r\n\tUser-Agent: Twilio Gateway\r\n\tContent-Length: 0\r\n```"},"comment":{"url":"https://api.github.com/repos/twilio/twilio-php/issues/comments/239998883","html_url":"https://github.com/twilio/twilio-php/issues/174#issuecomment-239998883","issue_url":"https://api.github.com/repos/twilio/twilio-php/issues/174","id":239998883,"user":{"login":"ihumanable","id":122636,"avatar_url":"https://avatars.githubusercontent.com/u/122636?v=3","gravatar_id":"","url":"https://api.github.com/users/ihumanable","html_url":"https://github.com/ihumanable","followers_url":"https://api.github.com/users/ihumanable/followers","following_url":"https://api.github.com/users/ihumanable/following{/other_user}","gists_url":"https://api.github.com/users/ihumanable/gists{/gist_id}","starred_url":"https://api.github.com/users/ihumanable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihumanable/subscriptions","organizations_url":"https://api.github.com/users/ihumanable/orgs","repos_url":"https://api.github.com/users/ihumanable/repos","events_url":"https://api.github.com/users/ihumanable/events{/privacy}","received_events_url":"https://api.github.com/users/ihumanable/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T04:34:16Z","updated_at":"2016-08-16T04:34:16Z","body":"This does not appear to relate to the `twilio-php` helper library, please open a support case with help@twilio.com for more general help."}}
{"actor":{"display_login":"ihumanable"}}