[asterisk-bugs] [JIRA] (ASTERISK-29958) app_dial: Hangup cause disappears if progress received

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Mar 8 05:45:07 CST 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-29958:
-------------------------------------

    Assignee: Asterisk Team  (was: N A)
      Status: Triage  (was: Waiting for Feedback)

> app_dial: Hangup cause disappears if progress received
> ------------------------------------------------------
>
>                 Key: ASTERISK-29958
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29958
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_dial
>    Affects Versions: 18.9.0
>            Reporter: N A
>            Assignee: Asterisk Team
>         Attachments: ASTERISK-29958.txt
>
>
> There seems to be a bug whereby if Progress is received during the call, then the hang up cause disappears when the Dial returns. This makes it impossible to determine the actual disposition of the call, and whether it succeeded or not, since the hangup cause code has disappeared.
> Hanging up manually with cause code 3 BEFORE Progress works correctly, and AFTER Progress, does not work correctly anymore.
> {noformat}
> GOOD CALL:
> [2022-03-08 11:21:45]     -- Executing [WATSRC at wats:1] Goto("Local/WATSRC at wats-000000c2;2", "out-pjsip,REDACTED,1") in new stack
> [2022-03-08 11:21:45]     -- Goto (out-pjsip,REDACTED,1)
> [2022-03-08 11:21:45]     -- Executing [REDACTED at out-pjsip:1] Hangup("Local/WATSRC at wats-000000c2;2", "3") in new stack
> [2022-03-08 11:21:45]   == Spawn extension (out-pjsip, REDACTED, 1) exited non-zero on 'Local/WATSRC at wats-000000c2;2'
> [2022-03-08 11:21:45]   == Everyone is busy/congested at this time (1:0/0/1)
> [2022-03-08 11:21:45]     -- Executing [WATSRC at trunk-access:10] NoOp("Local/wats at REDACTED-originate-local-000000c1;2", "3: CHANUNAVAIL") in new stack
> [2022-03-08 11:21:45]     -- Executing [WATSRC at trunk-access:11] Set("Local/wats at REDACTED-originate-local-000000c1;2", "CALLERID(name)=InterLinked") in new stack
> [2022-03-08 11:21:45]     -- Executing [WATSRC at trunk-access:12] Goto("Local/wats at REDACTED-originate-local-000000c1;2", "done,1") in new stack
> [out-pjsip] ; EXTEN = peer name
> exten => _[A-Za-z].,1,Set(CDR_PROP(disable)=1)
> 	same => n,Hangup(3)
> 	same => n,Progress()
> FAIL!:
> [2022-03-08 11:23:02]     -- Executing [WATSRC at wats:1] Goto("Local/WATSRC at wats-000000cc;2", "out-pjsip,REDACTED,1") in new stack
> [2022-03-08 11:23:02]     -- Goto (out-pjsip,REDACTED,1)
> [2022-03-08 11:23:02]     -- Executing [REDACTED at out-pjsip:1] Set("Local/WATSRC at wats-000000cc;2", "CDR_PROP(disable)=1") in new stack
> [2022-03-08 11:23:02]     -- Executing [REDACTED at out-pjsip:2] Progress("Local/WATSRC at wats-000000cc;2", "") in new stack
> [2022-03-08 11:23:02]     -- Local/WATSRC at wats-000000cc;1 is making progress passing it to Local/wats at REDACTED-originate-local-000000cb;2
> [2022-03-08 11:23:02]     -- Sending DTMF 'WW1wats' to the called party as result of receiving a PROGRESS message.
> [2022-03-08 11:23:02]     -- Local/815614342218 at REDACTED-originate-local-000000cb;1 is making progress passing it to Local/PJSIPATAxGrandstream2 at REDACTED-outgoing-000000c9;1
> [2022-03-08 11:23:02]     -- Executing [REDACTED at out-pjsip:3] Hangup("Local/WATSRC at wats-000000cc;2", "3") in new stack
> [2022-03-08 11:23:02]   == Spawn extension (out-pjsip, REDACTED, 3) exited non-zero on 'Local/WATSRC at wats-000000cc;2'
> [2022-03-08 11:23:02] WARNING[22437][C-00000052]: app_dial.c:1856 wait_for_answer: Unable to forward frametype: 2
> [2022-03-08 11:23:02]     -- Executing [WATSRC at trunk-access:10] NoOp("Local/wats at REDACTED-originate-local-000000cb;2", "0: NOANSWER") in new stack
> [out-pjsip] ; EXTEN = peer name
> exten => _[A-Za-z].,1,Set(CDR_PROP(disable)=1)
> 	same => n,Progress()
> 	same => n,Hangup(3)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list