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
This commit is contained in:
Naveen Albert
2022-12-09 14:18:26 +00:00
committed by Friendly Automation
parent de9aaf7e97
commit b33f92cbb5
5 changed files with 73 additions and 8 deletions

View File

@@ -75,6 +75,18 @@ autokill=yes
; off by default due to performance impacts.
;
;storehistory=yes
;
; Channel technology to use for outgoing calls using SIP (Session Initiation Protocol).
; Options are 'SIP' for chan_sip and 'PJSIP' for chan_pjsip. Default is 'PJSIP'.
; If specified, all outgoing SIP calls using DUNDi will use the specified channel tech.
;
;outgoing_sip_tech=pjsip
;
; Name of endpoint from pjsip.conf to use for outgoing calls from this system,
; when using the PJSIP technology to complete a call to a SIP-based destination.
; (Required for PJSIP, since PJSIP calls must specify an endpoint explicitly).
;
;pjsip_outgoing_endpoint=outgoing
[mappings]
;