{"action":"created","issue":{"url":"https://api.github.com/repos/kamailio/kamailio/issues/1349","repository_url":"https://api.github.com/repos/kamailio/kamailio","labels_url":"https://api.github.com/repos/kamailio/kamailio/issues/1349/labels{/name}","comments_url":"https://api.github.com/repos/kamailio/kamailio/issues/1349/comments","events_url":"https://api.github.com/repos/kamailio/kamailio/issues/1349/events","html_url":"https://github.com/kamailio/kamailio/issues/1349","id":278730561,"number":1349,"title":"sequence breaking DMQ bus","user":{"login":"jchavanton","id":3736014,"avatar_url":"https://avatars0.githubusercontent.com/u/3736014?v=4","gravatar_id":"","url":"https://api.github.com/users/jchavanton","html_url":"https://github.com/jchavanton","followers_url":"https://api.github.com/users/jchavanton/followers","following_url":"https://api.github.com/users/jchavanton/following{/other_user}","gists_url":"https://api.github.com/users/jchavanton/gists{/gist_id}","starred_url":"https://api.github.com/users/jchavanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchavanton/subscriptions","organizations_url":"https://api.github.com/users/jchavanton/orgs","repos_url":"https://api.github.com/users/jchavanton/repos","events_url":"https://api.github.com/users/jchavanton/events{/privacy}","received_events_url":"https://api.github.com/users/jchavanton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-12-03T00:17:05Z","updated_at":"2018-02-16T08:11:02Z","closed_at":"2018-02-16T08:11:02Z","author_association":"CONTRIBUTOR","body":"I reproduced in a lab with 3 Kamailio servers\r\n\r\n```\r\nkamailio_first  127.0.0.101\r\nmodparam(\"dmq\", \"server_address\", \"sip:127.0.0.101:5060\")\r\nmodparam(\"dmq\", \"notification_address\", \"sip:127.0.0.103:5060\")\r\nmodparam(\"dmq\", \"multi_notify\", 1)\r\nmodparam(\"dmq\", \"num_workers\", 2)\r\nmodparam(\"dmq\", \"ping_interval\", 15)\r\n\r\nkamailio_second 127.0.0.102 notification_peer: 127.0.0.103\r\nmodparam(\"dmq\", \"server_address\", \"sip:127.0.0.102:5060\")\r\nmodparam(\"dmq\", \"notification_address\", \"sip:127.0.0.103:5060\")\r\nmodparam(\"dmq\", \"multi_notify\", 1)\r\nmodparam(\"dmq\", \"num_workers\", 2)\r\nmodparam(\"dmq\", \"ping_interval\", 15)\r\n\r\nkamailio_third  127.0.0.103 notification_peer: 127.0.0.101\r\nmodparam(\"dmq\", \"server_address\", \"sip:127.0.0.103:5060\")\r\nmodparam(\"dmq\", \"notification_address\", \"sip:127.0.0.101:5060\")\r\nmodparam(\"dmq\", \"multi_notify\", 1)\r\nmodparam(\"dmq\", \"num_workers\", 2)\r\nmodparam(\"dmq\", \"ping_interval\", 15)\r\n```\r\n\r\n` kamcmd -s /var/run/kamailio_$1/kamailio_ctl dmq.list_nodes | grep -e host -e status -e last -e local | tr '\\n' ' ' | sed -e 's/host/\\n&/g'`\r\n\r\n\r\n```\r\nshow dmq bus: first\t\r\nhost: 127.0.0.102 \tstatus: 2 \tlast_notification: 0 \tlocal: 0 \t\r\nhost: 127.0.0.103 \tstatus: 2 \tlast_notification: 0 \tlocal: 0 \t\r\nhost: 127.0.0.101 \tstatus: 2 \tlast_notification: 0 \tlocal: 1 \r\nshow dmq bus: second\t\r\nhost: 127.0.0.101 \tstatus: 2 \tlast_notification: 0 \tlocal: 0 \t\r\nhost: 127.0.0.103 \tstatus: 2 \tlast_notification: 0 \tlocal: 0 \t\r\nhost: 127.0.0.102 \tstatus: 2 \tlast_notification: 0 \tlocal: 1 \r\nshow dmq bus: third\t\r\nhost: 127.0.0.102 \tstatus: 2 \tlast_notification: 0 \tlocal: 0 \t\r\nhost: 127.0.0.101 \tstatus: 2 \tlast_notification: 0 \tlocal: 0 \t\r\nhost: 127.0.0.103 \tstatus: 2 \tlast_notification: 0 \tlocal: 1 \r\n```\r\n```\r\n/etc/init.d/kamailio_first stop\r\n/etc/init.d/kamailio_third stop\r\n\r\n/etc/init.d/kamailio_third start\r\n/etc/init.d/kamailio_first start\r\n```\r\n\r\n` kamcmd -s /var/run/kamailio_$1/kamailio_ctl dmq.list_nodes | grep -e host -e status -e last -e local | tr '\\n' ' ' | sed -e 's/host/\\n&/g'`\r\n```\r\nshow dmq bus: first\t\r\nhost: 127.0.0.103 \tstatus: 2 \tlast_notification: 0 \tlocal: 0 \t\r\nhost: 127.0.0.101 \tstatus: 2 \tlast_notification: 0 \tlocal: 1 \r\nshow dmq bus: second\t\r\nhost: 127.0.0.101 \tstatus: 8 \tlast_notification: 0 \tlocal: 0 \t\r\nhost: 127.0.0.103 \tstatus: 8 \tlast_notification: 0 \tlocal: 0 \t\r\nhost: 127.0.0.102 \tstatus: 2 \tlast_notification: 0 \tlocal: 1 \r\nshow dmq bus: third\t\r\nhost: 127.0.0.101 \tstatus: 2 \tlast_notification: 0 \tlocal: 0 \t\r\nhost: 127.0.0.103 \tstatus: 2 \tlast_notification: 0 \tlocal: 1 \r\n```\r\nThe bus will remain broken, I think there is a second scenario that can break.\r\n"},"comment":{"url":"https://api.github.com/repos/kamailio/kamailio/issues/comments/366169243","html_url":"https://github.com/kamailio/kamailio/issues/1349#issuecomment-366169243","issue_url":"https://api.github.com/repos/kamailio/kamailio/issues/1349","id":366169243,"user":{"login":"miconda","id":184809,"avatar_url":"https://avatars1.githubusercontent.com/u/184809?v=4","gravatar_id":"","url":"https://api.github.com/users/miconda","html_url":"https://github.com/miconda","followers_url":"https://api.github.com/users/miconda/followers","following_url":"https://api.github.com/users/miconda/following{/other_user}","gists_url":"https://api.github.com/users/miconda/gists{/gist_id}","starred_url":"https://api.github.com/users/miconda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miconda/subscriptions","organizations_url":"https://api.github.com/users/miconda/orgs","repos_url":"https://api.github.com/users/miconda/repos","events_url":"https://api.github.com/users/miconda/events{/privacy}","received_events_url":"https://api.github.com/users/miconda/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T08:11:02Z","updated_at":"2018-02-16T08:11:02Z","author_association":"OWNER","body":"Closing this one, following the patch referenced above. If still an issue, reopen or create a new issue as the module got new code inside it."}}
{"actor":{"display_login":"miconda"}}