Answer the question
In order to leave comments, you need to log in
How to add an extension to Asterisk+FreePBX using a script?
There is a bunch of the last Asterisk + FreePBX, you need to add extension.
Empirically found out that you can edit files:
cd /etc/asterisk:
pjsip.auth.conf
pjsip.aor.conf
pjsip.endpoint.conf
extensions_additional.conf
88
and alias through the script new88user
, if I go under it, I can call others, but others cannot call me + when asterisk is rebooted, everything disappears. Answer the question
In order to leave comments, you need to log in
It makes no sense to edit configs directly - after restarting FreePBX, everything will be lost for you. configs are generated based on data from MySQL. The correct way is through api, not very correct (but quite working) - through adding records directly to mysql, there is nothing particularly complicated there, you can figure it out in a couple of hours.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question