User Tools

Site Tools


porting_from_chan_datacard

Porting instructions from chan datacard to chan dongle

Module configuration changes

  • change config file name from datacard.conf to dongle.conf
  • change parameter from 'resetdatacard' to 'resetdongle'
resetdatacard=yes
resetdongle=yes

Dialplan changes

  • change channel technology from 'Datacard' to 'Dongle'
Dial(Datacard/d1/+79139131234)
Dial(Dongle/d1/+79139131234)
  • change device status function from 'DatacardStatus' to 'DongleStatus'
DatacardStatus(d1,VAR)
DongleStatus(d1,VAR)
  • change SMS send function from 'DatacardSendSMS' to 'DongleSendSMS'
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

Actions and events begining from “Datacard” changed to begining from “Dongle” for example

DatacardShowDevices
DongleShowDevices

or

DatacardNewUSSD
DongleNewUSSD
porting_from_chan_datacard.txt · Last modified: 2017/03/03 21:31 by bg