Hello Alvaro,

I have added both modem definitions & they are working very fine on AT
commands, I want to Link 1st SMSC to 1st SMS Servuce & 2nd SMSC to 2nd SMS
Service. Inshort we need to use 2 diff modems for 2 diff SMS Service.

--
Regards
Anshu

On Mon, Apr 19, 2010 at 7:15 PM, Alvaro Cornejo <cornejo.alv...@gmail.com>wrote:

> Anshu
>
> Yo can add all the modems entries you need as well as all required
> modem definitions. In case of the modem definitions, you only need one
> per modem type if they share the same config. Else you need to create
> a modem definition for each config.
>
> Regards
>
> Alvaro
>
> |-----------------------------------------------------------------------------------------------------------------|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>              Visitenos en www.perusms.NET www.smsglobal.com.mx y
> www.pravcom.com
>
>
>
> On Sat, Apr 17, 2010 at 1:46 PM, Anshu Sah <sah.an...@ymail.com> wrote:
> > Hello Willy,
> >
> > Thanks for reply.
> > I have 2 SMSC Configuration, Please tell me How i can add one more
> > "sms-service" group.
> >
> > I want to add more than 2 Modems to receive SMSs.
> >
> > Please find the below configuration file.
> >
> > #====================================================
> > group = core
> > admin-port = 12001
> > smsbox-port = 12002
> > admin-password = bar
> > admin-allow-ip = "127.0.0.0"
> > log-file = "/home/anshu/projects/kannel-1.4.3/logs/kannel.log"
> > #log-level = 0
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "127.0.0.1"
> >
> > group = smsc
> > smsc = at
> > smsc-id = e12
> > modemtype = auto
> > device = /dev/ttyACM0
> > my-number = "+919709600303"
> > port = 10001
> > connect-allow-ip = 127.0.0.1
> > log-file = "/home/anshu/projects/kannel-1.4.3/logs/e12-smsc.log"
> > log-level = 0
> > sms-center="+919709099990"
> >
> > group = smsc
> > smsc = at
> > smsc-id = nokia
> > modemtype = auto
> > device = /dev/ttyACM1
> > my-number = "+918146928270"
> > port = 10002
> > connect-allow-ip = 127.0.0.1
> > log-file = "/home/anshu/projects/kannel-1.4.3/logs/nokia-smsc.log"
> > log-level = 0
> > sms-center="+919815051914"
> >
> > group = smsbox
> > bearerbox-host = 127.0.0.1
> > sendsms-port = 13001
> > global-sender = "+919709600303"
> > log-file = "/home/anshu/projects/kannel-1.4.3/logs/e12-vodafone.log"
> > log-level = 0
> >
> > group = smsbox
> > bearerbox-host = 127.0.0.1
> > sendsms-port = 13002
> > global-sender = "+918146928270"
> > log-file = "/home/anshu/projects/kannel-1.4.3/logs/nokia-airtel.log"
> > log-level = 0
> >
> > group = modems
> > id = teltonika
> > name = "Teltonika E12"
> > detect-string = "Undefined"
> > message-storage = "SM"
> > speed = 115200
> >
> > group = modems
> > id = Nokia
> > name = "Nokia 3110c"
> > detect-string = "Nokia"
> > init-string = "ATZ"
> > init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> >
> > group = sendsms-user
> > username = kannelUser
> > password = test
> > concatenation = 1
> > max-messages = 10
> > user-allow-ip = "*.*.*.*"
> >
> > group = sms-service
> > keyword =
> > catch-all = yes
> > max-messages = 0
> > get-url = "http://localhost/receiveSMS.php?phone=%p&text=%a";
> > #====================================================
> >
> >
>

Reply via email to