Skip to content

Commit

Permalink
Add pjsip in ext-trunks. Fixes inbound routes not working for PJSIP
Browse files Browse the repository at this point in the history
  • Loading branch information
asternic committed Jun 19, 2024
1 parent b2b207d commit 2f55af5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/functions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2549,6 +2549,7 @@ function core_do_get_config($engine) {
$trunkprops['tech'] = 'iax2';
// fall-through
case 'iax2':
case 'pjsip':
case 'sip':
$trunkcontext = "from-trunk-".$trunkprops['tech']."-".$trunkprops['channelid'];
$ext->add($trunkcontext, '_.', '', new ext_set('GROUP()',$trunkgroup));
Expand Down

0 comments on commit 2f55af5

Please sign in to comment.