Hi,

thanks for replying, here is my current kannel.conf

group = core
admin-port = 15000
smsbox-port = 15001
admin-password = password
status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
#http-proxy-host = 
#http-proxy-username = 
#http-proxy-password =     
log-file = "/var/log/kannel/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/var/log/kannel/access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

group = smsc
smsc = at
modemtype = auto
device = /dev/ttyUSB0
my-number = +639089568898
#smsc-center = +639180000130 
smsc-id = SDI
#port = 13001
#port = 10000
connect-allow-ip = 127.0.0.1
log-level = 0
log-file = /var/log/kannel/smsc.log
#speed = 115200

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 15013
global-sender = +639089568898
sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/smsboxaccess.log"

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""
concatenation =true
max-messages = 4

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

group = sms-service
keyword = default
text = "No service specified"

group = sms-service
keyword =
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = "http://localhost/sms.php?phone=%p&text=%a";

include = "/usr/local/kannel/modems.conf"

    
    I hope somebody could somehow point out what problem I have to experience 
this sudden issue with my Kannel. I hope it's not hardware related as I have 
read on some other posts. But if it is might as well face it and replace my 
current gsm modem.

Thank in advance,
Joyce




----- Original Message ----
From: Tharanga <[EMAIL PROTECTED]>
To: Joyce Gutierrez <[EMAIL PROTECTED]>; Kannel users <users@kannel.org>
Sent: Monday, September 29, 2008 2:07:06 PM
Subject: Re: Generic Error while Sending Message with Kannel

 
Can u share your kannel.conf with 
us.
 
--Tharanga Abeyseela--
----- Original Message ----- 
From: Joyce  Gutierrez 
To: Kannel users 
Sent: Monday, September 29, 2008 9:43  AM
Subject: Generic Error while Sending  Message with Kannel

Hi guys,

I suddenly had a problem with my kannel installation. I  have successfully 
configured it in the past enabling my gsm modem to send and  receive messages 
to and from a mobile phone. However, now, whenever I try to  send messages with 
kannel, I always get a generic error as  follows:

2008-09-29 11:32:41 [17132] [6] INFO: AT2[TSG]: AT SMSC  successfully opened.
2008-09-29 11:33:09 [17132] [6] DEBUG: AT2[TSG]:  TP-Validity-Period: 24.0 hours
2008-09-29 11:33:09 [17132] [6] DEBUG:  AT2[TSG]: --> AT+CMGS=24^M
2008-09-29 11:33:09 [17132] [6] DEBUG:  AT2[TSG]: <--
2008-09-29 11:33:09 [17132] [6] DEBUG: AT2[TSG]: <--  >
2008-09-29 11:33:09 [17132] [6] DEBUG: AT2[TSG]: send command status:  1
2008-09-29 11:33:09 [17132] [6] DEBUG: AT2[TSG]: -->  
0011000B819080893786F40000A70BC8329BFD06DDDF723619
2008-09-29 11:33:09  [17132] [6] DEBUG: AT2[TSG]: --> ^Z
2008-09-29 11:33:19 [17132] [6]  DEBUG: AT2[TSG]: <-- ERROR
2008-09-29 11:33:19 [17132] [6] ERROR:  AT2[TSG]: Generic error: ERROR
2008-09-29 11:33:19 [17132] [6] DEBUG:  AT2[TSG]: send command status: -1
2008-09-29 11:33:19 [17132] [6] DEBUG:  AT2[TSG]: --> AT+CMGS=24^M
2008-09-29 11:33:19 [17132] [6] DEBUG:  AT2[TSG]: <-- >
2008-09-29 11:33:19 [17132] [6] DEBUG: AT2[TSG]: send  command status: 1
2008-09-29 11:33:19 [17132] [6] DEBUG: AT2[TSG]: -->  
0011000B819080893786F40000A70BC8329BFD06DDDF723619

I have tried to  reset the modem I am using several times and also reinstall my 
kannel;but,  unfortunately I still get the same error. I read in some posts 
that this  problem could be caused by an unstable modem or SMSC. Could there be 
any work  around on this? I just really need to revive my Kannel  installation.

Thanks in 
advance,


      

Reply via email to