{"action":"closed","issue":{"url":"https://api.github.com/repos/bg111/asterisk-chan-dongle/issues/215","labels_url":"https://api.github.com/repos/bg111/asterisk-chan-dongle/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/bg111/asterisk-chan-dongle/issues/215/comments","events_url":"https://api.github.com/repos/bg111/asterisk-chan-dongle/issues/215/events","html_url":"https://github.com/bg111/asterisk-chan-dongle/issues/215","id":104745732,"number":215,"title":"Second-try dropped calls while dialing or shortly after call is picked up","user":{"login":"rfrht","id":3044503,"avatar_url":"https://avatars.githubusercontent.com/u/3044503?v=3","gravatar_id":"","url":"https://api.github.com/users/rfrht","html_url":"https://github.com/rfrht","followers_url":"https://api.github.com/users/rfrht/followers","following_url":"https://api.github.com/users/rfrht/following{/other_user}","gists_url":"https://api.github.com/users/rfrht/gists{/gist_id}","starred_url":"https://api.github.com/users/rfrht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfrht/subscriptions","organizations_url":"https://api.github.com/users/rfrht/orgs","repos_url":"https://api.github.com/users/rfrht/repos","events_url":"https://api.github.com/users/rfrht/events{/privacy}","received_events_url":"https://api.github.com/users/rfrht/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-03T17:33:43Z","updated_at":"2015-11-23T22:07:39Z","closed_at":"2015-11-23T22:07:38Z","body":"See the [log snippet](http://pastebin.com/2FNva6VX):\r\n\r\nCheck line 181, where a `AT` is sent. We get this `AT` return in line 187. And then, in line 189 it barfs with `Ignoring unknown result: ''` and finally, failing miserably in line 191 `timedout while waiting 'OK' in response to 'AT'`.\r\n\r\n---\r\n\r\nWell, what's the problem here: An AT ping is being sent while we already have a thread **reading and waiting** for the dial command.\r\n\r\nThen, this AT breaks the dial command and fails the dialling process.\r\n\r\nInterestingly, this doesn't happen on the 1st call (after chan_dongle is loaded). It happens only on subsequent calls."}}