Hi,
1) Multiple destinations are space separated. Since this is a url, they must
be urlencoded as '+'.
2) As many as the maximum URL length allows. I believe in kannel, the whole
URL should be less than 6000 chars.
BR,
Nikos
----- Original Message -----
From: T.K.Thapa
To: Kannel list
Cc: [email protected]
Sent: Friday, June 11, 2010 3:41 PM
Subject: Re: Send multiple sms using php script
Hello,
I want to know something about to (to parameter in kannel sendsms url)
parameter which explain by Nikos.
is + sign is a separator between two mobile number?
How many mobile number can be passed in single http query?
Regards
Tapan Thapa
--- On Fri, 11/6/10, Nikos Balkanas <[email protected]> wrote:
From: Nikos Balkanas <[email protected]>
Subject: Re: Send multiple sms using php script
To: "steven edward" <[email protected]>, [email protected]
Date: Friday, 11 June, 2010, 4:48 PM
Hi,
Try:
http://localhost:13013/cgi-bin/sendsms?username=sedu&password=test&to=0715323232+0715323233+...&text=Hello+world
BR,
Nikos
----- Original Message ----- From: steven edward
To: [email protected]
Sent: Friday, June 11, 2010 2:06 PM
Subject: Send multiple sms using php script
hi!
Am a new user of kannel and i want to send more than one sms am using header
to send sms it is okay but i don known how can i return to my page in order
to send another one to another phone number.
my header
http://localhost:13013/cgi-bin/sendsms?username=sedu&password=test&to=0715323232&text=Hello+world
also my kannel failed to redirect received sms to get-url address
am using huawei modem E1550
this is my kannel.conf file
#
# Sample configuration file for Kannel bearerbox on Debian.
# See the documentation for explanations of fields.
#
# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.
group = core
admin-port = 13000
admin-password = 12345
status-password = 12345
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
wapbox-port = 13002
smsbox-port = 13001
wdp-interface-name = "*"
log-file = "/tmp/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
group = wapbox
bearerbox-host = localhost
log-file = "/tmp/wapbox.log"
group = smsc
smsc = at
smsc-id = vodamodem
modemtype = auto
device=/dev/ttyUSB0
sms-center= "+255780000004"
my-number = "+255763362219"
connect-allow-ip = 127.0.0.1
log-level = 0
sim-buffering = true
keepalive = 5
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
#global-sender = "+255763362219"
global-sender = "+255763362219"
log-level = 0
log-file = "/tmp/smsbox.log"
access-log = "/tmp/access.log"
group = sendsms-user
username = manyasi
password = manyasi
concatenation= true
max-messages = 10
group = sms-service
keyword =
#keyword-regex = .*
catch-all = yes
max-messages = 10
get-url = "http://localhost/ams/sms/recieve.php?mobile=%p&content=%a"
group = modems
id = huawei_e1550_00
name = "Huawei E1550"
name = "Generic Modem"
detect-string = "huawei"
init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#sim-buffering = true
message-storage = "SM"
need-sleep = true
speed = 9600