From asterisk-commits at lists.digium.com Thu Apr 13 16:21:56 2023 From: asterisk-commits at lists.digium.com (SVN commits to the Asterisk project) Date: Thu, 13 Apr 2023 21:21:56 +0000 Subject: [asterisk-commits] pbx_dundi: Fix PJSIP endpoint configuration check. (asterisk[18]) In-Reply-To: References: Message-ID: Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/20082 ) 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(-) Approvals: N A: Looks good to me, but someone else must approve Sean Bright: Looks good to me, approved Friendly Automation: Approved for Submit diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index a353bad..95239d2 100644 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -4896,7 +4896,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/+/20082 To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings Gerrit-Project: asterisk Gerrit-Branch: 18 Gerrit-Change-Id: I0f11c096b307a6178e22ca49d9c756343f0e1fdc Gerrit-Change-Number: 20082 Gerrit-PatchSet: 1 Gerrit-Owner: Joshua Colp Gerrit-Reviewer: Friendly Automation Gerrit-Reviewer: N A Gerrit-Reviewer: Sean Bright Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: From asterisk-commits at lists.digium.com Thu Apr 13 17:57:37 2023 From: asterisk-commits at lists.digium.com (SVN commits to the Asterisk project) Date: Thu, 13 Apr 2023 22:57:37 +0000 Subject: [asterisk-commits] pbx_dundi: Fix PJSIP endpoint configuration check. (asterisk[master]) In-Reply-To: References: Message-ID: Joshua Colp has submitted this change. ( 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(-) Approvals: N A: Looks good to me, but someone else must approve Sean Bright: Looks good to me, approved Joshua Colp: Looks good to me, approved; Approved for Submit 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 Gerrit-Reviewer: Friendly Automation Gerrit-Reviewer: Joshua Colp Gerrit-Reviewer: N A Gerrit-Reviewer: Sean Bright Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: