[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:30:07 CST 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258325#comment-258325 ] 

Asterisk Team commented on ASTERISK-29958:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/].

> 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
>
> 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