AXE2G4AN User Manual
www.atcom.cn
Email: [email protected]
14
6.
Edit a dial-plan for calling.
Users can edit the dial-plan in the “/etc/asterisk/extensions.conf” file. The following dial-plan
is for a reference.
[from-internal]
exten=>_1.,1,Dial(gcom/1/${EXTEN:1})
;Dial-out via GSM module 1;
exten=>_1.,2,Hangup()
exten=>_2.,1,Dial(gcom/3/${EXTEN:1})
;Dial-out via GSM module 2;
exten=>_2.,2,Hangup()
... ...
... ...
exten=>_9.,1,Dial(dahdi/g0/${EXTEN:1})
;Dial-out via FXO channels;
exten=>_9.,2,Hangup()
[from-pstn]
exten=>s,1,Answer()
exten=>s,2,Dial(sip/500)
exten=>s,3,hangup()