{"action":"created","issue":{"url":"https://api.github.com/repos/irontec/ivozprovider/issues/503","repository_url":"https://api.github.com/repos/irontec/ivozprovider","labels_url":"https://api.github.com/repos/irontec/ivozprovider/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/irontec/ivozprovider/issues/503/comments","events_url":"https://api.github.com/repos/irontec/ivozprovider/issues/503/events","html_url":"https://github.com/irontec/ivozprovider/issues/503","id":326837098,"number":503,"title":"bleeding call forward error","user":{"login":"manfer","id":458420,"avatar_url":"https://avatars3.githubusercontent.com/u/458420?v=4","gravatar_id":"","url":"https://api.github.com/users/manfer","html_url":"https://github.com/manfer","followers_url":"https://api.github.com/users/manfer/followers","following_url":"https://api.github.com/users/manfer/following{/other_user}","gists_url":"https://api.github.com/users/manfer/gists{/gist_id}","starred_url":"https://api.github.com/users/manfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manfer/subscriptions","organizations_url":"https://api.github.com/users/manfer/orgs","repos_url":"https://api.github.com/users/manfer/repos","events_url":"https://api.github.com/users/manfer/events{/privacy}","received_events_url":"https://api.github.com/users/manfer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-27T18:12:54Z","updated_at":"2018-05-27T21:47:50Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I'm testing bleeding standalone installation.\r\n\r\nWhen I configure a call forward inconditional on a user it works fine when he receives a call from another user. But if the user is the target of a DDI and I make an incomming call to that DDI then the call fails.\r\n\r\nThe only debug message I have been able to gather is from asterisk in verbose mode:\r\n\r\n> ERROR[1688][C-0000000e]: utils.c:1441 ast_carefulwrite: write() returned error: Connection reset by peer\r\n\r\nThis comes just after agi funcions in CallForwardAction had set some values:\r\n\r\n>  [b2a69ae2] [CallForwardAction.php:145] AGI SetVar(\"PJSIP/proxytrunks-00000015\", \"REDIRECTING(from-num,i) = +34XXXXXXXXX\")\r\n>        > [b2a69ae2] [CallForwardAction.php:146] AGI SetVar(\"PJSIP/proxytrunks-00000015\", \"REDIRECTING(from-tag,i) = 13\")\r\n>        > [b2a69ae2] [CallForwardAction.php:147] AGI SetVar(\"PJSIP/proxytrunks-00000015\", \"REDIRECTING(from-name) = John Doe\")\r\n"},"comment":{"url":"https://api.github.com/repos/irontec/ivozprovider/issues/comments/392379429","html_url":"https://github.com/irontec/ivozprovider/issues/503#issuecomment-392379429","issue_url":"https://api.github.com/repos/irontec/ivozprovider/issues/503","id":392379429,"user":{"login":"manfer","id":458420,"avatar_url":"https://avatars3.githubusercontent.com/u/458420?v=4","gravatar_id":"","url":"https://api.github.com/users/manfer","html_url":"https://github.com/manfer","followers_url":"https://api.github.com/users/manfer/followers","following_url":"https://api.github.com/users/manfer/following{/other_user}","gists_url":"https://api.github.com/users/manfer/gists{/gist_id}","starred_url":"https://api.github.com/users/manfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manfer/subscriptions","organizations_url":"https://api.github.com/users/manfer/orgs","repos_url":"https://api.github.com/users/manfer/repos","events_url":"https://api.github.com/users/manfer/events{/privacy}","received_events_url":"https://api.github.com/users/manfer/received_events","type":"User","site_admin":false},"created_at":"2018-05-27T21:47:50Z","updated_at":"2018-05-27T21:47:50Z","author_association":"CONTRIBUTOR","body":"I have enabled agi debug\r\n\r\n```\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << SET VARIABLE REDIRECTING(from-num,i) \"+34XXXXXXXXX\" CallForwardAction.php:145\r\n       > [7974fe33] [CallForwardAction.php:145] AGI SetVar(\"PJSIP/proxytrunks-0000001b\", \"REDIRECTING(from-num,i) = +34XXXXXXXXX\")\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 200 result=1\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << SET VARIABLE REDIRECTING(from-tag,i) \"13\" CallForwardAction.php:146\r\n       > [7974fe33] [CallForwardAction.php:146] AGI SetVar(\"PJSIP/proxytrunks-0000001b\", \"REDIRECTING(from-tag,i) = 13\")\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 200 result=1\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << SET VARIABLE REDIRECTING(from-name) \"John Doe\" CallForwardAction.php:147\r\n       > [7974fe33] [CallForwardAction.php:147] AGI SetVar(\"PJSIP/proxytrunks-0000001b\", \"REDIRECTING(from-name) = John Doe\")\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 200 result=1\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << GET VARIABLE CALLER\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 200 result=1 (User#3)\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << GET VARIABLE ORIGIN\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 200 result=0\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << PHP Fatal error:  Uncaught Symfony\\Component\\Debug\\Exception\\ContextErrorException: Notice: Undefined offset: 1 in /opt/irontec/ivozprovider/asterisk/agi/src/Agi/ChannelInfo.php:139\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 510 Invalid or unknown command\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << Stack trace:\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 510 Invalid or unknown command\r\n[May 27 23:40:25] ERROR[3194][C-00000012]: utils.c:1441 ast_carefulwrite: write() returned error: Connection reset by peer\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << #0 /opt/irontec/ivozprovider/asterisk/agi/src/Agi/ChannelInfo.php(126): Agi\\ChannelInfo->getChannelData('ORIGIN')\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 510 Invalid or unknown command\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << #1 /opt/irontec/ivozprovider/asterisk/agi/src/Agi/Action/ExternalUserCallAction.php(72): Agi\\ChannelInfo->getChannelOrigin()\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 510 Invalid or unknown command\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << #2 /opt/irontec/ivozprovider/asterisk/agi/src/Agi/Action/RouterAction.php(398): Agi\\Action\\ExternalUserCallAction->process()\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 510 Invalid or unknown command\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << #3 /opt/irontec/ivozprovider/asterisk/agi/src/Agi/Action/RouterAction.php(339): Agi\\Action\\RouterAction->routeToExternal()\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 510 Invalid or unknown command\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << #4 /opt/irontec/ivozprovider/asterisk/agi/src/Agi/Action/CallForwardAction.php(155): Agi\\Action\\RouterAction->route()\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 510 Invalid or unknown command\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << #5 /opt/irontec/ivozprovider/asterisk/agi/src/Agi/Action/UserStatusAction.php(137): Agi\\Action\\CallForwardAction->process()\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 510 Invalid or unknown command\r\n<PJSIP/proxytrunks-0000001b>AGI Rx << #6 /opt/irontec/ivozprovider/asterisk/agi/src/Agi/Action/UserStatusAction.php(102): Agi\\Action\\UserStatusAction->proce in /opt/irontec/ivozprovider/asterisk/agi/src/Agi/ChannelInfo.php on line 139\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> 510 Invalid or unknown command\r\n    -- <PJSIP/proxytrunks-0000001b>AGI Script agi://127.0.0.1:4573/fastagi-runner.php?command=dialplan/trunks completed, returning 0\r\n<PJSIP/proxytrunks-0000001b>AGI Tx >> HANGUP\r\n    -- Auto fallthrough, channel 'PJSIP/proxytrunks-0000001b' status is 'UNKNOWN'\r\n```\r\n"}}
{"actor":{"display_login":"manfer"}}