pbx_dundi: Add PJSIP support.

Adds PJSIP as a supported technology to DUNDi.

To facilitate this, we now allow an endpoint to be specified
for outgoing PJSIP calls. We also allow users to force a specific
channel technology for outgoing SIP-protocol calls.

ASTERISK-28109 #close
ASTERISK-28233 #close

Change-Id: I2e28e5a5d007bd49e3df113ad567b011103899bf
(cherry picked from commit b33f92cbb5)
This commit is contained in:
Naveen Albert
2022-12-09 14:18:26 +00:00
committed by Asterisk Development Team
parent 81a912f3ce
commit 99d17db963
5 changed files with 73 additions and 8 deletions

View File

@@ -236,6 +236,8 @@ static char *proto2str(int proto, char *buf, int bufsiz)
case DUNDI_PROTO_H323:
strncpy(buf, "H.323", bufsiz - 1);
break;
case DUNDI_PROTO_PJSIP:
strncpy(buf, "PJSIP", bufsiz - 1);
default:
snprintf(buf, bufsiz, "Unknown Proto(%d)", proto);
}