[Asterisk-code-review] pbx_dundi: Fix PJSIP endpoint configuration check. (asterisk[master])
Joshua Colp
asteriskteam at digium.com
Thu Apr 13 04:37:01 CDT 2023
Joshua Colp has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/20067 )
Change subject: pbx_dundi: Fix PJSIP endpoint configuration check.
......................................................................
pbx_dundi: Fix PJSIP endpoint configuration check.
ASTERISK-28233
Change-Id: I0f11c096b307a6178e22ca49d9c756343f0e1fdc
---
M pbx/pbx_dundi.c
1 file changed, 12 insertions(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/67/20067/1
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index d02752a..3c876b0 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -4856,7 +4856,7 @@
/* PJSIP requires an endpoint to be specified explicitly. */
if (outgoing_sip_tech == DUNDI_PROTO_PJSIP) {
char *number, *ip = ast_strdupa(results[x].dest);
- if (!ast_strlen_zero(pjsip_outgoing_endpoint)) {
+ if (ast_strlen_zero(pjsip_outgoing_endpoint)) {
ast_log(LOG_WARNING, "PJSIP calls require an endpoint to be specified explicitly (use the pjsip_outgoing_endpoint option in dundi.conf)\n");
return -1;
}
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/20067
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I0f11c096b307a6178e22ca49d9c756343f0e1fdc
Gerrit-Change-Number: 20067
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20230413/1e9578e0/attachment.html>
More information about the asterisk-code-review
mailing list