{"action":"closed","issue":{"url":"https://api.github.com/repos/OpenSIPS/opensips/issues/504","labels_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/504/comments","events_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/504/events","html_url":"https://github.com/OpenSIPS/opensips/issues/504","id":74643530,"number":504,"title":"EventRoute blocking sip listening","user":{"login":"danbogos","id":1607526,"avatar_url":"https://avatars.githubusercontent.com/u/1607526?v=3","gravatar_id":"","url":"https://api.github.com/users/danbogos","html_url":"https://github.com/danbogos","followers_url":"https://api.github.com/users/danbogos/followers","following_url":"https://api.github.com/users/danbogos/following{/other_user}","gists_url":"https://api.github.com/users/danbogos/gists{/gist_id}","starred_url":"https://api.github.com/users/danbogos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbogos/subscriptions","organizations_url":"https://api.github.com/users/danbogos/orgs","repos_url":"https://api.github.com/users/danbogos/repos","events_url":"https://api.github.com/users/danbogos/events{/privacy}","received_events_url":"https://api.github.com/users/danbogos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenSIPS/opensips/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"razvancrainea","id":1511224,"avatar_url":"https://avatars.githubusercontent.com/u/1511224?v=3","gravatar_id":"","url":"https://api.github.com/users/razvancrainea","html_url":"https://github.com/razvancrainea","followers_url":"https://api.github.com/users/razvancrainea/followers","following_url":"https://api.github.com/users/razvancrainea/following{/other_user}","gists_url":"https://api.github.com/users/razvancrainea/gists{/gist_id}","starred_url":"https://api.github.com/users/razvancrainea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razvancrainea/subscriptions","organizations_url":"https://api.github.com/users/razvancrainea/orgs","repos_url":"https://api.github.com/users/razvancrainea/repos","events_url":"https://api.github.com/users/razvancrainea/events{/privacy}","received_events_url":"https://api.github.com/users/razvancrainea/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/OpenSIPS/opensips/milestones/8","html_url":"https://github.com/OpenSIPS/opensips/milestones/2.1","labels_url":"https://api.github.com/repos/OpenSIPS/opensips/milestones/8/labels","id":648967,"number":8,"title":"2.1","description":"","creator":{"login":"razvancrainea","id":1511224,"avatar_url":"https://avatars.githubusercontent.com/u/1511224?v=3","gravatar_id":"","url":"https://api.github.com/users/razvancrainea","html_url":"https://github.com/razvancrainea","followers_url":"https://api.github.com/users/razvancrainea/followers","following_url":"https://api.github.com/users/razvancrainea/following{/other_user}","gists_url":"https://api.github.com/users/razvancrainea/gists{/gist_id}","starred_url":"https://api.github.com/users/razvancrainea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razvancrainea/subscriptions","organizations_url":"https://api.github.com/users/razvancrainea/orgs","repos_url":"https://api.github.com/users/razvancrainea/repos","events_url":"https://api.github.com/users/razvancrainea/events{/privacy}","received_events_url":"https://api.github.com/users/razvancrainea/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":45,"state":"open","created_at":"2014-05-05T10:03:22Z","updated_at":"2015-05-18T09:58:55Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-05-09T10:29:46Z","updated_at":"2015-05-18T09:58:55Z","closed_at":"2015-05-18T09:58:55Z","body":"Hey Guys,\r\n\r\nNot really an emergency but for the record, when using the dialog variable in event route, it will get opensips server unresponsive.\r\n\r\nFollowing route will reproduce it:\r\n```\r\nevent_route[E_DLG_STATE_CHANGED] {\r\n\tfetch_event_params(\"new_state=$var(new_state)\");\r\n\tif $var(new_state) == 3 {\r\n\t\t$avp(dialog_start) = \"cgr_reqtype\";\r\n\t\t$avp(dialog_start) = $avp(cgr_reqtype);\r\n\t\t$avp(dialog_start) = \"callid\";\r\n\t\t$avp(dialog_start) = $ci;\r\n\t\t$avp(dialog_start) = \"from_tag\";\r\n\t\t$avp(dialog_start) = $ft;\r\n\t\t$avp(dialog_start) = \"cgr_account\";\r\n\t\t$avp(dialog_start) = $avp(cgr_account);\r\n\t\t$avp(dialog_start) = \"cgr_subject\";\r\n\t\t$avp(dialog_start) = $avp(cgr_subject);\r\n\t\t$avp(dialog_start) = \"cgr_destination\";\r\n\t\t$avp(dialog_start) = $avp(cgr_destination);\r\n\t\t$avp(dialog_start) = \"created\";\r\n\t\t$avp(dialog_start) = $Ts;\r\n\t\t$avp(dialog_start) = \"dialog_id\";\r\n\t\t$avp(dialog_start) =  $DLG_did;\r\n\t\traise_event(\"E_CGR_DIALOG_START\", $avp(auth_keys), $avp(auth_vals));\r\n\t}\r\n}\r\n```"}}