[Asterisk-code-review] pbx_builtins: Corrects SayNumber warning (asterisk[16])

N A asteriskteam at digium.com
Thu Jun 10 12:09:25 CDT 2021


Attention is currently required from: Sean Bright, George Joseph.
N A has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/16083 )

Change subject: pbx_builtins: Corrects SayNumber warning
......................................................................


Patch Set 2:

(1 comment)

File main/pbx_builtins.c:

https://gerrit.asterisk.org/c/asterisk/+/16083/comment/d7f9637a_39a9a24f 
PS2, Line 1273: 	interrupt_string = pbx_builtin_getvar_helper(chan, "SAY_DTMF_INTERRUPT");
> You could call ast_check_hangup() here since the channel is already locked. […]
The issue happens if the hangup is during ast_say_number, which is line 1300, after this point, so I'm not sure what checking here would accomplish?



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16083
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Ieea4a67301c6ea83bbc7690c1d4808d79a704594
Gerrit-Change-Number: 16083
Gerrit-PatchSet: 2
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-Attention: Sean Bright <sean at seanbright.com>
Gerrit-Attention: George Joseph <gjoseph at digium.com>
Gerrit-Comment-Date: Thu, 10 Jun 2021 17:09:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210610/09ed1b49/attachment-0001.html>


More information about the asterisk-code-review mailing list