Dear all,
I'm having some problems while trying to send a message explicitly
specifying smsc, either via http request, like this one:
http://localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&from=[removed]&to=[removed]&text=sisi&smsc=smsc_2&dlr-mask=28&account=user_1
or directly inserting in send_sms, with:
insert into send_sms(momt,sender,receiver,smsc_id,msgdata)
values('MT','[removed]','[removed]','smsc_2','desde sqlbox')
I can not see why both attempts are been sent with another smsc
(smsc_1). But if include smsc=smsc_1 the message is delivered with
smsc_3 !!
Well at list its enrouted to that smsc, there are couple issues with
clickatell support: ain't no way to specify system_id (api_id) and I
think no unicode is allowed, it would be nice to allow raw parameters
to pass from cgi-bin/sendsms to custom http smsc to give flexibility for
eventual api changes. But that is not the main subject of this call for
help :)
here I reproduce the smsc definitions from my kannel.conf file (exact
same order of apperance):
----------------------------------------------------
# GSM smsc setup (1)
group = smsc
smsc = at
smsc-id = smsc_1
modemtype = Motorola
device = /dev/ttyACM0
speed = 115200
keepalive = 7200
my-number = [removed]
sms-center = [removed]
sim-buffering = false
# GSM smsc setup (2)
group = smsc
smsc = at
smsc-id = smsc_2
modemtype = Nokia
device = /dev/ttyACM1
speed = 115200
keepalive = 7200
my-number = [removed]
sms-center = [removed]
sim-buffering = false
group = smsc
smsc = http
smsc-id = smsc_3
system-type = clickatell
send-url = http://api.clickatell.com/http
port = 13004
smsc-username = root
smsc-password = youwish
----------------------------------------------------
I hope anyone can spot my error or what I'm missing. I really need to be
able to specify smsc.
best regards,
Gerardo