[Asterisk-code-review] chan_pjsip: Add option to not play music on hold on unanswered channels (asterisk[master])

sungtae kim asteriskteam at digium.com
Sun Jul 24 10:07:28 CDT 2022


Attention is currently required from: Joshua Colp, N A, Kevin Harwell.
sungtae kim has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/18781 )

Change subject: chan_pjsip: Add option to not play music on hold on unanswered channels
......................................................................


Patch Set 6:

(3 comments)

Commit Message:

https://gerrit.asterisk.org/c/asterisk/+/18781/comment/2985ab0c_ace4c83a 
PS6, Line 9: This change adds an option, moh_answeredonly, that when enabled will
> Based on the code I don't think that is what this does.
Oh, Got it.
I fixed it but please let me know if you have any idea about this to make this better comment.


Patchset:

PS6: 
Fixed it! 😊


File channels/chan_pjsip.c:

https://gerrit.asterisk.org/c/asterisk/+/18781/comment/ed276c30_4a9b4dce 
PS6, Line 1770: 		if (channel->session->moh_answeredonly && (ast_channel_state(ast) == AST_STATE_UP)) {
> This seems to be incorrect, and may be old code. […]
Oh my... Thanks. I fixed it.



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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I3c9b9101e4dc85338154b8004cecdd3edc227474
Gerrit-Change-Number: 18781
Gerrit-PatchSet: 6
Gerrit-Owner: sungtae kim <pchero21 at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Kevin Harwell <default.enum at gmail.com>
Gerrit-Reviewer: N A <mail at interlinked.x10host.com>
Gerrit-CC: George Joseph <gjoseph at digium.com>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: N A <mail at interlinked.x10host.com>
Gerrit-Attention: Kevin Harwell <default.enum at gmail.com>
Gerrit-Comment-Date: Sun, 24 Jul 2022 15:07:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220724/05968bf7/attachment-0001.html>


More information about the asterisk-code-review mailing list