Problem with delivery report message about 0: Accepted for delivery
Hi all, I got a problem with the delivery report message about 0: Accepted for delivery. Below is my configuration group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /tmp/kannel.log log-level = 0 box-allow-ip = 127.0.0.1 group = modems id = nokiaphone name = Nokia detect-string = Nokia detect-string2 = E51 need-sleep = true init-string = AT+CPMS=? group = smsc smsc = at smsc-id=nokia modemtype = nokiaphone device=/dev/ttyACM0 my-number = x sms-center = x speed = 0 group = smsc smsc = smpp smsc-id = smpp port = 2775 connect-allow-ip = *.*.*.* host = localhost smsc-username = smsc smsc-password = smsc system-type = VMA address-range = denied-smsc-id = smpp;nokia group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = log-level = 0 group = sendsms-user username = user password = user concatenation= true group = sms-service keyword = default text = No action specified group = sms-service keyword = mibento get-url = http://localhost:13013/cgi-bin/sendsms?username=userpassword=userfrom=%pto=%Ptext=%Ssmsc=nokia; max-messages = 1 accepted-smsc = smpp The problem is that after Kannel sent message to client it then sends the message 0: Accepted for delivery to client as well. I read somewhere on th internet that set: max-messages=0 will prevent sending reply message. But if I do that, Kannel does not send any message to client. So could someone tell me what i was wrong, and help me out? Thank in advance K
Re: Problem with delivery report message about 0: Accepted for delivery
Hi, Well, you need to tell Kannel what to do with the DLR report it got. Have you tried specifying a dlr-url in your sms-service group? I iamgine you talk about MOs. BR, Nikos - Original Message - From: Pham Ngoc Khanh pnk...@yahoo.com To: Kannel users@kannel.org Sent: Friday, January 09, 2009 11:56 AM Subject: Problem with delivery report message about 0: Accepted for delivery Hi all, I got a problem with the delivery report message about 0: Accepted for delivery. Below is my configuration group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /tmp/kannel.log log-level = 0 box-allow-ip = 127.0.0.1 group = modems id = nokiaphone name = Nokia detect-string = Nokia detect-string2 = E51 need-sleep = true init-string = AT+CPMS=? group = smsc smsc = at smsc-id=nokia modemtype = nokiaphone device=/dev/ttyACM0 my-number = x sms-center = x speed = 0 group = smsc smsc = smpp smsc-id = smpp port = 2775 connect-allow-ip = *.*.*.* host = localhost smsc-username = smsc smsc-password = smsc system-type = VMA address-range = denied-smsc-id = smpp;nokia group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = log-level = 0 group = sendsms-user username = user password = user concatenation= true group = sms-service keyword = default text = No action specified group = sms-service keyword = mibento get-url = http://localhost:13013/cgi-bin/sendsms?username=userpassword=userfrom=%pto=%Ptext=%Ssmsc=nokia; max-messages = 1 accepted-smsc = smpp The problem is that after Kannel sent message to client it then sends the message 0: Accepted for delivery to client as well. I read somewhere on th internet that set: max-messages=0 will prevent sending reply message. But if I do that, Kannel does not send any message to client. So could someone tell me what i was wrong, and help me out? Thank in advance K
Re: Problem with delivery report message about 0: Accepted for delivery
2009/1/9 Pham Ngoc Khanh pnk...@yahoo.com: group = sms-service keyword = mibento get-url = http://localhost:13013/cgi-bin/sendsms?username=userpassword=userfrom=%pto=%Ptext=%Ssmsc=nokia; max-messages = 1 accepted-smsc = smpp Change get-url param to place where Your SMS should go (Your webservice or even simple hello.html file). In response You will receive message with content coming from that URL. The problem is that after Kannel sent message to client it then sends the message 0: Accepted for delivery to client as well. I read somewhere on th internet that set: max-messages=0 will prevent sending reply message. But if I do that, Kannel does not send any message to client. So could someone tell me what i was wrong, and help me out? I hope it helps a bit. Regards, -- Marcin Boćkowski :-D :-)
Re: Problem with delivery report message about 0: Accepted for delivery
NOTE: The get-url points to sendsms cgi itself, and the second sms you receive is the result of submiting a msg to kannel. On 1/9/09, Pham Ngoc Khanh pnk...@yahoo.com wrote: Hi all, I got a problem with the delivery report message about 0: Accepted for delivery. Below is my configuration group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /tmp/kannel.log log-level = 0 box-allow-ip = 127.0.0.1 group = modems id = nokiaphone name = Nokia detect-string = Nokia detect-string2 = E51 need-sleep = true init-string = AT+CPMS=? group = smsc smsc = at smsc-id=nokia modemtype = nokiaphone device=/dev/ttyACM0 my-number = x sms-center = x speed = 0 group = smsc smsc = smpp smsc-id = smpp port = 2775 connect-allow-ip = *.*.*.* host = localhost smsc-username = smsc smsc-password = smsc system-type = VMA address-range = denied-smsc-id = smpp;nokia group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = log-level = 0 group = sendsms-user username = user password = user concatenation= true group = sms-service keyword = default text = No action specified group = sms-service keyword = mibento get-url = http://localhost:13013/cgi-bin/sendsms?username=userpassword=userfrom=%pto=%Ptext=%Ssmsc=nokia; max-messages = 1 accepted-smsc = smpp The problem is that after Kannel sent message to client it then sends the message 0: Accepted for delivery to client as well. I read somewhere on th internet that set: max-messages=0 will prevent sending reply message. But if I do that, Kannel does not send any message to client. So could someone tell me what i was wrong, and help me out? Thank in advance K -- Sent from my mobile device
Teltonika Modem
Hi Everyone, Is there anyone in this list who has ever used TELTONIKA EDGE USB Modem / E12 without having any issue / problem ??? Thanks Kind Regards Abbas Qaizar
Re: Problem with delivery report message about 0: Accepted for delivery
As you could see from my configuration. There are two SMSCs. One works with GSM modem, and one works as SMPP client. I write my own application, and a SMPP server. My application and Kannel will connect to that SMPP server. When my application send message to client mobile, I want the GSM modem will do that job. So in the get-url, I point to the cgi to send SMS message. This configuration could send message to client but it also sends the 0: Accepted for delivery message. Anyway, I will try to work around with the drl-url as you mention. Thanks a lot. Will keep you update if I can solve this problem. Thanks again --- On Fri, 9/1/09, Nikos Balkanas nbalka...@gmail.com wrote: From: Nikos Balkanas nbalka...@gmail.com Subject: Re: Problem with delivery report message about 0: Accepted for delivery To: pnk...@yahoo.com, Kannel users@kannel.org Date: Friday, 9 January, 2009, 5:22 PM Hi, Well, you need to tell Kannel what to do with the DLR report it got. Have you tried specifying a dlr-url in your sms-service group? I iamgine you talk about MOs. BR, Nikos - Original Message - From: Pham Ngoc Khanh pnk...@yahoo.com To: Kannel users@kannel.org Sent: Friday, January 09, 2009 11:56 AM Subject: Problem with delivery report message about 0: Accepted for delivery Hi all, I got a problem with the delivery report message about 0: Accepted for delivery. Below is my configuration group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /tmp/kannel.log log-level = 0 box-allow-ip = 127.0.0.1 group = modems id = nokiaphone name = Nokia detect-string = Nokia detect-string2 = E51 need-sleep = true init-string = AT+CPMS=? group = smsc smsc = at smsc-id=nokia modemtype = nokiaphone device=/dev/ttyACM0 my-number = x sms-center = x speed = 0 group = smsc smsc = smpp smsc-id = smpp port = 2775 connect-allow-ip = *.*.*.* host = localhost smsc-username = smsc smsc-password = smsc system-type = VMA address-range = denied-smsc-id = smpp;nokia group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13013 global-sender = log-level = 0 group = sendsms-user username = user password = user concatenation= true group = sms-service keyword = default text = No action specified group = sms-service keyword = mibento get-url = http://localhost:13013/cgi-bin/sendsms?username=userpassword=userfrom=%pto=%Ptext=%Ssmsc=nokia; max-messages = 1 accepted-smsc = smpp The problem is that after Kannel sent message to client it then sends the message 0: Accepted for delivery to client as well. I read somewhere on th internet that set: max-messages=0 will prevent sending reply message. But if I do that, Kannel does not send any message to client. So could someone tell me what i was wrong, and help me out? Thank in advance K
Re: wtls
Let me rephrase my question, because I am bombarded by humour :-) In my experiences with wap I have never configured wtls. There are no examples in documentation. I have never needed it. When do we need to configure it in? Is it bearerbox or wapbox that uses it? Looking at the source code i see that UDP 9200 9201 do not need wtls. 9202 9203 need encryption and wtls. So propably bearerbox opens the ports and wapbox decrypts them. If i don't set wtls, bearerbox doesn't open the secure ports. So it is required. certficate-file: I imagine it is a PEM server certificate privatekey-file: PEM server Key file privatekey-passwd: optional Maybe it should go into the documentation. Thanx, Nikos - Original Message - From: Nikos Balkanas To: users@kannel.org Sent: Friday, January 09, 2009 3:07 PM Subject: wtls Hi, What is the wtls group for? And who uses it? Thanx, Nikos
Re: Ubuntu Installation with DLR mysql
Are the logs you are looking for come from the bearerbox.txt and smsbox.txt files? Thanks, Drew --- On Fri, 1/9/09, Nikos Balkanas nbalka...@gmail.com wrote: From: Nikos Balkanas nbalka...@gmail.com Subject: Re: Ubuntu Installation with DLR mysql To: Drew Stockler psustock1...@yahoo.com Cc: users@kannel.org Date: Friday, January 9, 2009, 9:11 AM No, you never reached the state of sending succesfully an SMS at the logs you send. For that i will need to see the logs of a succesfull run of sending an SMS. BR, Nikos - Original Message - From: Drew Stockler To: Nikos Balkanas Sent: January 09, 2009 4:26 PM Subject: Re: Ubuntu Installation with DLR mysql
Re: Ubuntu Installation with DLR mysql
Bearebox mostly, but wouldn't hurt to have smsbox as well. BR, Nikos - Original Message - From: Drew Stockler To: Nikos Balkanas Cc: users@kannel.org Sent: Friday, January 09, 2009 5:18 PM Subject: Re: Ubuntu Installation with DLR mysql Are the logs you are looking for come from the bearerbox.txt and smsbox.txt files? Thanks, Drew --- On Fri, 1/9/09, Nikos Balkanas nbalka...@gmail.com wrote: From: Nikos Balkanas nbalka...@gmail.com Subject: Re: Ubuntu Installation with DLR mysql To: Drew Stockler psustock1...@yahoo.com Cc: users@kannel.org Date: Friday, January 9, 2009, 9:11 AM No, you never reached the state of sending succesfully an SMS at the logs you send. For that i will need to see the logs of a succesfull run of sending an SMS. BR, Nikos - Original Message - From: Drew Stockler To: Nikos Balkanas Sent: January 09, 2009 4:26 PM Subject: Re: Ubuntu Installation with DLR mysql
unsubscribe;
unsubscribe
unsubscribe
unsubscribe
1.41 vs cvs?
Hello, I'm in the process of setting up our first kannel box for a proof of concept purposes. If successful it will be put into full production (of course). Is cvs stable for production and why hasn't stable release been updated if cvs is considered production ready? Richard Andrews
Re: 1.41 vs cvs?
Richard, CVS is about to get released as 1.4.2 pretty soon so yes, it's pretty stable and you should prefer it over 1.4.1 Regards, Alejandro On Fri, Jan 9, 2009 at 5:37 PM, Richard Andrews randr...@pelmorex.comwrote: Hello, I'm in the process of setting up our first kannel box for a proof of concept purposes. If successful it will be put into full production (of course). Is cvs stable for production and why hasn't stable release been updated if cvs is considered production ready? Richard Andrews
RE: 1.41 vs cvs?
Good news, thank you Richard Andrews Systems Administrator - IT Operations Pelmorex Media Inc. (905) 829-1159 x1243 randr...@pelmorex.com -Original Message- From: Villada, Gustavo [mailto:gvill...@telemediala.com] Sent: Friday, January 09, 2009 11:51 AM To: Richard Andrews Subject: RE: 1.41 vs cvs? Richard, CVS must be considered as stable for production. Btw: this or next week will release 1.4.2 and 1.5 with TLV (metadata) support. Best regards Gus -Original Message- From: Richard Andrews [mailto:randr...@pelmorex.com] Sent: Friday, January 09, 2009 2:37 PM To: 'users@kannel.org' Subject: 1.41 vs cvs? Hello, I'm in the process of setting up our first kannel box for a proof of concept purposes. If successful it will be put into full production (of course). Is cvs stable for production and why hasn't stable release been updated if cvs is considered production ready? Richard Andrews
Re: 1.41 vs cvs?
FYI. Target date is this Sunday. So by the time you download cvs, 1.4.2 will propably be out. BR, Nikos - Original Message - From: Alejandro Guerrieri To: Richard Andrews Cc: users@kannel.org Sent: Friday, January 09, 2009 6:49 PM Subject: Re: 1.41 vs cvs? Richard, CVS is about to get released as 1.4.2 pretty soon so yes, it's pretty stable and you should prefer it over 1.4.1 Regards, Alejandro On Fri, Jan 9, 2009 at 5:37 PM, Richard Andrews randr...@pelmorex.com wrote: Hello, I'm in the process of setting up our first kannel box for a proof of concept purposes. If successful it will be put into full production (of course). Is cvs stable for production and why hasn't stable release been updated if cvs is considered production ready? Richard Andrews
RE: 1.41 vs cvs?
Too compiled and making as we speak;) No big deal. Richard Andrews From: Nikos Balkanas [mailto:nbalka...@gmail.com] Sent: Friday, January 09, 2009 11:55 AM To: Alejandro Guerrieri; Richard Andrews Cc: users@kannel.org Subject: Re: 1.41 vs cvs? FYI. Target date is this Sunday. So by the time you download cvs, 1.4.2 will propably be out. BR, Nikos - Original Message - From: Alejandro Guerrierimailto:alejandro.guerri...@gmail.com To: Richard Andrewsmailto:randr...@pelmorex.com Cc: users@kannel.orgmailto:users@kannel.org Sent: Friday, January 09, 2009 6:49 PM Subject: Re: 1.41 vs cvs? Richard, CVS is about to get released as 1.4.2 pretty soon so yes, it's pretty stable and you should prefer it over 1.4.1 Regards, Alejandro On Fri, Jan 9, 2009 at 5:37 PM, Richard Andrews randr...@pelmorex.commailto:randr...@pelmorex.com wrote: Hello, I'm in the process of setting up our first kannel box for a proof of concept purposes. If successful it will be put into full production (of course). Is cvs stable for production and why hasn't stable release been updated if cvs is considered production ready? Richard Andrews
Problem with GSM Modem - Connect in wvdial
Hello i have a problem to connect my GSM Modem to Kannel the config and the log files... Kannel.conf group = core smsbox-port = 13001 admin-port = 13000 admin-password = bar log-file = /var/log/kannel/bearerbox.log log-level = 0 access-log = /var/log/kannel/access.log store-file = /var/log/kannel/kannel.store # SMSC GSM group = smsc smsc-id = GSMModem smsc = at modemtype = simcom_ltd device = /dev/ttyUSB0 max-error-count = 1 speed = 460800 keepalive = 60 my-number = +507??? sms-center = ??? #access-log = modem.access.log log-file = /var/log/kannel/smsc.log # MODEM CONFIG group = modems id = simcom_ltd name = simcom detect-string = Modem enable-hwhs = AT init-string = AT+CNMI=2,1,0,1,1;+CMGF=0;+CPIN?;+CREG?;+COPS?;+CSCA?;+CPMS?;+CPBR=?;+CMEE=2; message-storage = SM # PARA TEST: keepalive-cmd = AT+CSQ #reset-string = AT+CFUN=1 modem.log 2009-01-09 13:14:32 [9331] [6] INFO: AT2[GSMModem]: opening device 2009-01-09 13:14:32 [9331] [6] DEBUG: AT2[GSMModem]: device opened 2009-01-09 13:14:32 [9331] [6] DEBUG: AT2[GSMModem]: device opened 2009-01-09 13:14:32 [9331] [6] INFO: AT2[GSMModem]: init device 2009-01-09 13:14:32 [9331] [6] INFO: AT2[GSMModem]: speed set to 460800 2009-01-09 13:14:32 [9331] [6] DEBUG: AT2[GSMModem]: -- ATZ^M 2009-01-09 13:14:36 [9331] [6] ERROR: AT2[GSMModem]: Wrong or no answer to ATZ, ignoring 2009-01-09 13:14:36 [9331] [6] DEBUG: AT2[GSMModem]: -- AT^M bearerbox.log 2009-01-09 13:14:32 [9331] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `0'. 2009-01-09 13:14:32 [9331] [0] INFO: Started access logfile `/var/log/kannel/access.log'. 2009-01-09 13:14:32 [9331] [0] INFO: SSL not supported, no SSL initialization done. 2009-01-09 13:14:32 [9331] [0] INFO: HTTP: Opening server at port 13000. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-01-09 13:14:32 [9331] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 9331. 2009-01-09 13:14:32 [9331] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 9331. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-01-09 13:14:32 [9331] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 9331. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2009-01-09 13:14:32 [9331] [0] DEBUG: starting smsbox connection module 2009-01-09 13:14:32 [9331] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2009-01-09 13:14:32 [9331] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 9331. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2009-01-09 13:14:32 [9331] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 9331. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2009-01-09 13:14:32 [9331] [0] INFO: Set SMS resend frequency to 60 seconds. 2009-01-09 13:14:32 [9331] [0] INFO: SMS resend retry set to unlimited. 2009-01-09 13:14:32 [9331] [0] INFO: DLR rerouting for smsc id GSMModem disabled. 2009-01-09 13:14:32 [9331] [0] INFO: Added logfile `/var/log/kannel/smsc.log' with level `0'. 2009-01-09 13:14:32 [9331] [0] INFO: AT2[GSMModem]: configuration shows modemtype simcom_ltd 2009-01-09 13:14:32 [9331] [0] DEBUG: AT2[GSMModem]: Reading modem definitions from /etc/kannel/kannel.conf 2009-01-09 13:14:32 [9331] [0] DEBUG: AT2[GSMModem]: Found 1 modems in config 2009-01-09 13:14:32 [9331] [0] INFO: AT2[GSMModem]: read modem definition for simcom 2009-01-09 13:14:32 [9331] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 9331. 2009-01-09 13:14:32 [9331] [6] INFO: Logging thread `6' to logfile `/var/log/kannel/smsc.log' with level `0'. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread) 2009-01-09 13:14:32 [9331] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 9331. 2009-01-09 13:14:32 [9331] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2009-01-09 13:14:32 [9331] [0] INFO: 2009-01-09 13:14:32 [9331] [0] INFO: Kannel bearerbox II version 1.4.1 starting 2009-01-09 13:14:32 [9331] [0] INFO: Loading store file `/var/log/kannel/kannel.store' 2009-01-09 13:14:32 [9331] [0] INFO: Store-file size 183, starting to unpack 2009-01-09 13:14:32 [9331] [0] INFO: Retrieved 1 messages, non-acknowledged messages: 1 2009-01-09 13:14:32 [9331] [8] DEBUG: Thread 8 (gw/bb_store.c:store_dumper) maps to pid 9331. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 8 (gw/bb_store.c:store_dumper) 2009-01-09 13:14:32 [9331] [0] INFO: MAIN: Start-up done, entering mainloop 2009-01-09 13:14:32 [9331] [0] DEBUG: AT2[GSMModem]: start called 2009-01-09 13:14:32 [9331] [7] DEBUG: sms_router: gwlist_len = 1 2009-01-09 13:14:32 [9331] [7] DEBUG: sms_router: handling message (0x91d8330 vs 0x91d8330) 2009-01-09 13:14:32 [9331] [7] DEBUG:
Kannel carriage return issue
Dear all, We are using Kannel + playsms. When we send sms message from playsms web interface using carriage return the message arrives without the carriage return and all the words in one line. Can you please advise what configuration should be made to kannel for accepting carriage return or at least let us know if previous same issues were found. Thank you Best Regards,
Re: Kannel carriage return issue
you should urlencode your message before submitting to kannel On Fri, 2009-01-09 at 22:10 +0200, nam_...@hotmail.com wrote: Dear all, We are using Kannel + playsms. When we send sms message from playsms web interface using carriage return the message arrives without the carriage return and all the words in one line. Can you please advise what configuration should be made to kannel for accepting carriage return or at least let us know if previous same issues were found. Thank you Best Regards,