AXE2G4AN User Manual
www.atcom.cn
Email: [email protected]
10
3. Please add the following line at the bottom of the “/etc/asterisk/chan_dahdi.conf” file. Users
can run the following command in the CLI.
[root@localhost ~]#
echo #include dahdi-channels.conf >>/etc/asterisk/chan_dahdi.conf
[root@localhost ~]#
echo #include gcom-channels.conf >>/etc/asterisk/chan_gcom.conf
4. If users want to load the asterisk, users can run the following command:
[root@localhost ~]#
asterisk –vvgc
5. Please run the command to check the dahdi or gsm channels.
Users should get 4 analog channels and two gsm channels as the following:
localhost*CLI>
dahdi show channels
Chan Extension Context
Language
MOH Interpret
State
pseudo
default
default
In Service
1
from-internal
default
In Service
2
from-internal
default
In Service
3
from-pstn
default
In Service
4
from-pstn
default
In Service
localhost*CLI>
gsm show spans
SPANNO
STATUS
ACTIVE
1
UP
ACTIVE
2
UP
ACTIVE
6. Please add the encoded mode for receiving message in the “chan_dahdi.conf” file
If the GSM modules version are 0x41 or above it, And users need receive messages via the
GSM modules. Please modify the following parameters.
[channels]
;
; Default language
;
;language=en
sms_language=en
For example, users can add three language system: weur, using for western Europe; eeur:
using for eastern Europe; cn: using for Chinese.
How to modify the display language environment, please edit the file: /root/.bash_profile to
change the system language environment.
For example, the system default language is English like this: LANG=es_ES, users can
change
it to Chinese like this: LANG=zh_CN.