I am planning to develop a Module to Modify and Simplify the Carrier settings.
I will have 2 PHP Pages : Carrier Template Page and Add/Modify Carrier.
Carrier Template Page :
Will have settings of extension and sip. with username , password and domian as %.
Template of Account Entry :
[SIPB]
disallow=all
allow=g729
allow=g711
allow=ulaw
type=friend
username=%user%
Fromuser=%user%
secret=%pass%
host=%IP%
FromDomain=%IP%
dtmfmode=rfc2833
exten => _%E%X.,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _%E%X.,2,Dial(${SipB}/${EXTEN:2},,tToR)
exten => _%E%X.,3,Hangup
Add/Modify Carrier :
In this PHP page , admin can just need to enter username, password , IP , Dial Extension and click on Add Carrier and It will create One entry in Carrier.
Similarly, admin can modify the Carrier.
I am missing anything ?