FreePBX / issue-tracker

The unified FreePBX issue tracker.
https://www.freepbx.org
GNU General Public License v3.0
12 stars 1 forks source link

[improvement]: Using PJSIP templates when creating extensions. #415

Open Owirtifo opened 2 months ago

Owirtifo commented 2 months ago

FreePBX Version

FreePBX 16

Improvement Description

It would be nice if PJSIP extensions were created by FreePBX using templates aors, endpoints, etc. And the templates themselves could be changed in override FreePBX files. This allows you to add Asterisk directives, which are not available in the FreePBX management interface, globally for all extensions.

Arsh25 commented 2 months ago

This would be useful for our use case where we want to create a webrtc device for each user too. Right now, FreePBX creates a WebRTC extension with 99 appended (if the UCP phone is enabled), so for extension 1001, the WebRTC extension is currently 991001 with a different password. Adding the ability to create an extension template with custom aor , auth, endpoints etc would be very helpful in this case.