Hi guys,

I am now testing if I can send SMS with kannel, I tested via the HTTP interface 
as described in the user guide,

http://10.101.160.184:15013/cgi-bin/sendsms?username=foo&password=bar&to=09156000795&text=Hello+worldHowever,
 Kannel returns 3: Queued for later delivery after I invoke the above address,  

I read from the user guide that with this kind of reply code it means that the 
bearerbox accepted and stored the message, but there was temporarily no SMSC 
driver to accept the message,

I hope someone could point out if there is anything wrong with my config of my 
SMSC. I have my kannel on a CentOS5 with a gsm modem Teltonika ModemCom G10.

group = smsc
smsc = at
modemtype = auto
device = /dev/ttyS0
my-number = 09185059072 
#smsc-center = 09185059072
smsc-id = TSG 
connect-allow-ip = 127.0.0.1
log-level = 0
log-file = /var/log/kannel/smsc.log

My smsbox.log returns messages as follows:

2008-09-05 15:06:07 [11672] [2] DEBUG: HTTP: Creating HTTPClient for 
`10.105.1.99'.
2008-09-05 15:06:07 [11672] [2] DEBUG: HTTP: Created HTTPClient area 0x90df498.
2008-09-05 15:06:07 [11672] [3] INFO: smsbox: Got HTTP request 
</cgi-bin/sendsms> from <10.105.1.99>
2008-09-05 15:06:07 [11672] [3] INFO: sendsms used by <tester>
2008-09-05 15:06:07 [11672] [3] INFO: sendsms sender:<tester:09185059072> 
(10.105.1.99) to:<09156000795> msg:<Hello world>
2008-09-05 15:06:07 [11672] [3] DEBUG: Stored UUID 
4f92f84b-a6f8-4404-9859-946aeb36295f
2008-09-05 15:06:07 [11672] [3] DEBUG: message length 11, sending 1 messages
2008-09-05 15:06:07 [11672] [3] DEBUG: Status: 202 Answer: <Sent.>
2008-09-05 15:06:07 [11672] [3] DEBUG: Delayed reply - wait for bearerbox
2008-09-05 15:06:07 [11672] [0] DEBUG: Got ACK (3) of 
4f92f84b-a6f8-4404-9859-946aeb36295f
2008-09-05 15:06:07 [11672] [0] DEBUG: HTTP: Resetting HTTPClient for 
`10.105.1.99'.
2008-09-05 15:07:07 [11672] [1] DEBUG: Timeout for fd:24 appeares.
2008-09-05 15:07:07 [11672] [1] DEBUG: HTTP: Destroying HTTPClient area 
0x90df498.
2008-09-05 15:07:07 [11672] [1] DEBUG: HTTP: Destroying HTTPClient for 
`10.105.1.99'.

10.105.1.99 is my proxy,

I really hope someone could point out what I am doing wrng with my config,

Much Thanks
Joyce



      

Reply via email to