{"action":"created","issue":{"url":"https://api.github.com/repos/chan-sccp/chan-sccp/issues/324","repository_url":"https://api.github.com/repos/chan-sccp/chan-sccp","labels_url":"https://api.github.com/repos/chan-sccp/chan-sccp/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/chan-sccp/chan-sccp/issues/324/comments","events_url":"https://api.github.com/repos/chan-sccp/chan-sccp/issues/324/events","html_url":"https://github.com/chan-sccp/chan-sccp/issues/324","id":171085435,"number":324,"title":"DND sometimes shows as \"on a call\"","user":{"login":"dandrzejewski","id":181952,"avatar_url":"https://avatars.githubusercontent.com/u/181952?v=3","gravatar_id":"","url":"https://api.github.com/users/dandrzejewski","html_url":"https://github.com/dandrzejewski","followers_url":"https://api.github.com/users/dandrzejewski/followers","following_url":"https://api.github.com/users/dandrzejewski/following{/other_user}","gists_url":"https://api.github.com/users/dandrzejewski/gists{/gist_id}","starred_url":"https://api.github.com/users/dandrzejewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dandrzejewski/subscriptions","organizations_url":"https://api.github.com/users/dandrzejewski/orgs","repos_url":"https://api.github.com/users/dandrzejewski/repos","events_url":"https://api.github.com/users/dandrzejewski/events{/privacy}","received_events_url":"https://api.github.com/users/dandrzejewski/received_events","type":"User","site_admin":false},"labels":[{"id":363306332,"url":"https://api.github.com/repos/chan-sccp/chan-sccp/labels/branch_development","name":"branch_development","color":"fbca04","default":false},{"id":24659346,"url":"https://api.github.com/repos/chan-sccp/chan-sccp/labels/bug","name":"bug","color":"fc2929","default":true},{"id":484366208,"url":"https://api.github.com/repos/chan-sccp/chan-sccp/labels/hint","name":"hint","color":"c5def5","default":false},{"id":171263626,"url":"https://api.github.com/repos/chan-sccp/chan-sccp/labels/in%20progress","name":"in progress","color":"0e8a16","default":false},{"id":25197903,"url":"https://api.github.com/repos/chan-sccp/chan-sccp/labels/prio%203","name":"prio 3","color":"e99695","default":false},{"id":32828552,"url":"https://api.github.com/repos/chan-sccp/chan-sccp/labels/waiting_for_reply","name":"waiting_for_reply","color":"e99695","default":false}],"state":"open","locked":false,"assignee":{"login":"marcelloceschia","id":203448,"avatar_url":"https://avatars.githubusercontent.com/u/203448?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelloceschia","html_url":"https://github.com/marcelloceschia","followers_url":"https://api.github.com/users/marcelloceschia/followers","following_url":"https://api.github.com/users/marcelloceschia/following{/other_user}","gists_url":"https://api.github.com/users/marcelloceschia/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelloceschia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelloceschia/subscriptions","organizations_url":"https://api.github.com/users/marcelloceschia/orgs","repos_url":"https://api.github.com/users/marcelloceschia/repos","events_url":"https://api.github.com/users/marcelloceschia/events{/privacy}","received_events_url":"https://api.github.com/users/marcelloceschia/received_events","type":"User","site_admin":false},"assignees":[{"login":"marcelloceschia","id":203448,"avatar_url":"https://avatars.githubusercontent.com/u/203448?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelloceschia","html_url":"https://github.com/marcelloceschia","followers_url":"https://api.github.com/users/marcelloceschia/followers","following_url":"https://api.github.com/users/marcelloceschia/following{/other_user}","gists_url":"https://api.github.com/users/marcelloceschia/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelloceschia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelloceschia/subscriptions","organizations_url":"https://api.github.com/users/marcelloceschia/orgs","repos_url":"https://api.github.com/users/marcelloceschia/repos","events_url":"https://api.github.com/users/marcelloceschia/events{/privacy}","received_events_url":"https://api.github.com/users/marcelloceschia/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/chan-sccp/chan-sccp/milestones/4","html_url":"https://github.com/chan-sccp/chan-sccp/milestone/4","labels_url":"https://api.github.com/repos/chan-sccp/chan-sccp/milestones/4/labels","id":550570,"number":4,"title":"v4.3","description":"","creator":{"login":"dkgroot","id":1935794,"avatar_url":"https://avatars.githubusercontent.com/u/1935794?v=3","gravatar_id":"","url":"https://api.github.com/users/dkgroot","html_url":"https://github.com/dkgroot","followers_url":"https://api.github.com/users/dkgroot/followers","following_url":"https://api.github.com/users/dkgroot/following{/other_user}","gists_url":"https://api.github.com/users/dkgroot/gists{/gist_id}","starred_url":"https://api.github.com/users/dkgroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkgroot/subscriptions","organizations_url":"https://api.github.com/users/dkgroot/orgs","repos_url":"https://api.github.com/users/dkgroot/repos","events_url":"https://api.github.com/users/dkgroot/events{/privacy}","received_events_url":"https://api.github.com/users/dkgroot/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":44,"state":"open","created_at":"2014-01-28T16:45:45Z","updated_at":"2016-12-10T22:32:43Z","due_on":"2017-02-28T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-08-14T23:16:55Z","updated_at":"2016-12-11T07:33:08Z","closed_at":null,"body":"When I reboot the PBX or reload the module, a phone that is on DND will sometimes show on other phones as \"on the phone\" rather than DND.\n\n**Reproduction Steps:**\n# Set DND on a phone\n# Restart the pbx or reload the module\n\n**Expected behavior:**\n\nPhone should show up on other phones hints as DND every single time.\n\n**Observed behavior:**\n\nPhone will sometimes show as \"on the phone\" instead.\n\n**Screenshots**\n\n![screenshot 1 copy](https://cloud.githubusercontent.com/assets/181952/17652749/571ff92e-6253-11e6-803e-2963f41529da.png)\n\nThis is how it shows when it's doing the wrong thing.\n\n**chan-sccp version:** \nVersion is current develop branch as of today:\nSkinny Client Control Protocol (SCCP). Release: 4.3.0 develop - 575aa22M (built by 'root' on '2016-08-14 22:36:39 UTC')\n\n**asterisk version:** \n13.7.2\n\n**Addition / Optional Information:**\n\nI can attach logs if needed, but I don't have any kind of debugging enabled currently. Please let me know if you need them.\n\nThis did happen on a previous development revision from a few months ago (unfortunately I don't still have that around to know the exact revision).\n"},"comment":{"url":"https://api.github.com/repos/chan-sccp/chan-sccp/issues/comments/266267980","html_url":"https://github.com/chan-sccp/chan-sccp/issues/324#issuecomment-266267980","issue_url":"https://api.github.com/repos/chan-sccp/chan-sccp/issues/324","id":266267980,"user":{"login":"ErmakovDmitriy","id":6040215,"avatar_url":"https://avatars.githubusercontent.com/u/6040215?v=3","gravatar_id":"","url":"https://api.github.com/users/ErmakovDmitriy","html_url":"https://github.com/ErmakovDmitriy","followers_url":"https://api.github.com/users/ErmakovDmitriy/followers","following_url":"https://api.github.com/users/ErmakovDmitriy/following{/other_user}","gists_url":"https://api.github.com/users/ErmakovDmitriy/gists{/gist_id}","starred_url":"https://api.github.com/users/ErmakovDmitriy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErmakovDmitriy/subscriptions","organizations_url":"https://api.github.com/users/ErmakovDmitriy/orgs","repos_url":"https://api.github.com/users/ErmakovDmitriy/repos","events_url":"https://api.github.com/users/ErmakovDmitriy/events{/privacy}","received_events_url":"https://api.github.com/users/ErmakovDmitriy/received_events","type":"User","site_admin":false},"created_at":"2016-12-11T07:33:08Z","updated_at":"2016-12-11T07:33:08Z","body":"Thank You!\r\nI checked branch issues/324.\r\n\r\nWith Your fix (as I can see without long testing), all works as expected.\r\nHere is DND switch logs.\r\nI checked calls with this algorithm:\r\n1) Set DND=off, make inbound (to line 8649 - SCCP phone) call - all correct, normal call\r\n2) Set DND=silent, make inbound call - all correct, silent call (core show hint 8649 \"SCCP/8649&Custom:DND  State:Idle\")\r\n3) Set DND=reject, make inbound call - status busy, call rejected (core show hint 8649 \"SCCP/8649&Custom:DND  State:Busy\")\r\n4) Set DND=off (completing the DND cycle) - all correct, normal call (core show hint 8649 \"SCCP/8649&Custom:DND  State:Idle\").\r\n\r\nIn attachement You can see DND switch log from my asterisk.\r\n\r\n[issues_324_DND_switch.txt](https://github.com/chan-sccp/chan-sccp/files/644303/issues_324_DND_switch.txt)"}}
{"actor":{"display_login":"ErmakovDmitriy"}}