-
Notifications
You must be signed in to change notification settings - Fork 321
Porting from chan_datacard
opless edited this page Dec 26, 2016
·
2 revisions
Porting instructions from chan datacard to chan dongle
- change config file name from datacard.conf to dongle.conf
- change parameter from 'resetdatacard' to 'resetdongle'
resetdatacard=yes
resetdongle=yes
Dialplan changes
Dial(Datacard/d1/+79139131234)
Dial(Dongle/d1/+79139131234)
DatacardStatus(d1,VAR)
DongleStatus(d1,VAR)
DatacardSendSMS(d1,+79139131234,"Hello how are you, Danila?",1440,yes)
DongleSendSMS(d1,+79139131234,"Hello how are you, Danila?",1440,yes)
change channel variables
DATACARD to DONGLENAME
PROVIDER to DONGLEPROVIDER
IMEI to DONGLEIMEI
IMSI to DONGLEIMSI
CNUMBER to DONGLENUMBER
CLI changes
##all commands of datacard changed to dongle like
datacard show devices
dongle show devices
Manager's changes
DatacardShowDevices
DongleShowDevices
or
DatacardNewUSSD
DongleNewUSSD