Dear Nikos, After trial for few days, I still got negative result. below is the kannel.conf and url to send the SMS --------------------------- kannel.conf -------------------------------------------- #core group = core admin-port = 13000 smsbox-port = 13001 admin-password = adminpwd status-password = statuspwd admin-deny-ip = "" admin-allow-ip = "127.0.0.1" log-file = "var/log/kannel/bearerbox.log" log-level = 1 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" access-log = "/var/log/kannel/access.log" store-file = "/var/log/kannel/kannel.store" #dlr-storage = mysql
#smsc #wavecom 1 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom1 modemtype = wavecom device = /dev/ttyS0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 2 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom2 modemtype = wavecom device = /dev/ttyS1 speed = 115200 #pin = 1234 #include = /etc/modems.conf #wavecom 3 group = smsc smsc = at connect-allow-ip = 127.0.0.1 smsc-id = wavecom3 modemtype = wavecom device = /dev/ttyUSB0 speed = 115200 #pin = 1234 #include = /etc/modems.conf #modem group = modems id = wavecom detect-string = WAVECOM message-storage = SM init-string = AT+CNMI=2,1,0,0,0;+CMEE=1 #init-string = AT+CNMI=2,2,0,0,0;+CMEE=1 #smsbox group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 #smsbox-id = wavecom sendsms-chars = "0123456789 +-" global-sender = "+6281100000" log-file = "/var/log/kannel/smsbox.log" log-level = 1 #send-sms users group = sendsms-user username = sms password = smspwd #services group = sms-service keyword = default #accept-x-kannel-headers = true max-messages = 0 # 0 no reply assume-plain-text = true concatenation = true catch-all = true get-url = "http://localhost/tsg/modem?sender=%p&message=%a" --------------------------------------------------------------------- url to send SMS is: http://127.0.0.1:13013/cgi-bin/sendsms?username=sms&password=smspwd&smsc=wavecom3&to=0811918808&text=test I need smsc=wavecom3 only act as sender by put parameter smsc as above, but the result is seem randomly when send sms (random using wavecom1, wavecom2 and wavecom3) Looking forward to have advice and help to fix the problem. Thank you Best Regard AI 2010/5/29 Nikos Balkanas <[email protected]>: > Hi, > > I think the correct variable is &smsc=xxx in your send-url, not > &smsc-id=xxx. > > BR, > Nikos > ----- Original Message ----- From: "Alvaro Cornejo" > <[email protected]> > To: <[email protected]> > Cc: <[email protected]> > Sent: Friday, May 28, 2010 4:29 PM > Subject: Re: Route modem as SMS Sender > > > use &smsc-id=xxx in your sendsms url as well as prefered/denied smsc > parameters in smsc configs. > > Check manual for details > > 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 Fri, May 28, 2010 at 3:28 AM, Aan Isnaini <[email protected]> wrote: >> >> Dear All, >> I have 3 modems connected to kannel. >> how to choose / route the modem as sender when I send SMS? >> Is possible to choose which one modem will send the SMS? >> Looking forward to have advice and example. >> Thank you >> >> PIN: 21C3628D >> Powered by Telkomsel BlackBerry® > >
