[Asterisk-code-review] chan_pjsip: Correct misleading trace message (asterisk[16])
Friendly Automation
asteriskteam at digium.com
Thu May 13 07:17:35 CDT 2021
Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/15884 )
Change subject: chan_pjsip: Correct misleading trace message
......................................................................
chan_pjsip: Correct misleading trace message
ASTERISK-29358 #close
Change-Id: I050daff67066873df4e8fc7f4bd977c1ca06e647
---
M channels/chan_pjsip.c
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
George Joseph: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Friendly Automation: Approved for Submit
diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c
index 3a16327..aa78e18 100644
--- a/channels/chan_pjsip.c
+++ b/channels/chan_pjsip.c
@@ -3174,13 +3174,14 @@
break;
}
case 183:
- ast_trace(-1, "%s: Queueing PROGRESS\n", ast_sip_session_get_name(session));
if (session->endpoint->ignore_183_without_sdp) {
pjsip_rdata_sdp_info *sdp = pjsip_rdata_get_sdp_info(rdata);
if (sdp && sdp->body.ptr) {
+ ast_trace(-1, "%s: Queueing PROGRESS\n", ast_sip_session_get_name(session));
ast_queue_control(session->channel, AST_CONTROL_PROGRESS);
}
} else {
+ ast_trace(-1, "%s: Queueing PROGRESS\n", ast_sip_session_get_name(session));
ast_queue_control(session->channel, AST_CONTROL_PROGRESS);
}
break;
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15884
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I050daff67066873df4e8fc7f4bd977c1ca06e647
Gerrit-Change-Number: 15884
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean at seanbright.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210513/0df6e851/attachment.html>
More information about the asterisk-code-review
mailing list