Re: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes
Good ideas, I specially like the usb thing, do you have a guide or something on how to start with that? Hanna On Monday 06 March 2006 17:04, Alejandro Guerrieri wrote: > Have you considered options to cygwin? > > 1. If you have a fairly decent PC, you can run Kannel on VMWare or any > VM running linux. > > 2. Using Knoppix or any similar "run from CD distros" and place kannel > binaries on a removable USB device. > > Hope it helps, > > On 3/6/06, Leonardo Torrella <[EMAIL PROTECTED]> wrote: > > I coudn't compile with "cheking" but I it compile ok with "slow", but > > the issue persist. > > I think that the problem is, in fact, the cygwin dll, Hanna, can you > > tell us witch version of cygwin are you using? your stable box it's > > running kannel 1.4? > > May be if I try to replicate your setup I could be able to keep my box > > running. > > > > Another thing, I found out that the bearerbox is not stopping after 5 > > minutes of running, but after 5 minutes connected to my SMSC (SMPP 3.4 > > on a cellular telco). The telco tech staff confirm me that the > > connection it's broken abruptly (whitout an unbind). > > > > thanks > > Leonardo. > > > > 2006/3/6, Hanna Kreitem <[EMAIL PROTECTED]>: > > > I had an issue like that, I recompiled Kannel with checking malloc > > > instead of native, and it is stable till now > > > > > > > > > Hanna > > > > > > On Monday 06 March 2006 01:20, Leonardo Torrella wrote: > > > > So, it's a thread issue on cygwin, right?. Have anyone asked the > > > > cygwin people about this issue? > > > > There's no pach or workaround for this?. I mean, even for testing ... > > > > it's quite annoying . > > > > > > > > Leonardo. > > > > > > > > 2006/3/6, Sriram <[EMAIL PROTECTED]>: > > > > > Kannel isnt considered stable on Cygwin implementation due to the > > > > > way cygwin threads are implemented. Use Kannel on Cygwin only for > > > > > testing purposes. Dont even dream of using it for production > > > > > purposes. As you urself have experienced, its best to use to on > > > > > Linux > > > > > > > > > > Sriram > > > > > - Original Message - > > > > > From: "Leonardo Torrella" <[EMAIL PROTECTED]> > > > > > To: > > > > > Sent: Monday, March 06, 2006 9:20 > > > > > Subject: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes > > > > > > > > > > > > > > > I know that you may have answered this before, but I'm a newbie > > > > > with Kannel, and I can't find a solution on other places (you know, > > > > > google > > > > > > > > > > :) > > > > > > > > > > I'm running two servers with kannel, both with the same version > > > > > 1.4.0 and with the same config files, but one run on a W2K3 OS > > > > > (cygwin) and the other with FC4. The thing is the w2k3 on just > > > > > stops after 5 minutes on operation and it's quite precise on > > > > > that... 300 seg and it stops, no error log, no debug info, no > > > > > nothing, just stops. On the other hand the FC4 one runs without > > > > > problems for days. > > > > > > > > > > So, whats the trick, how can I keep my w2k3 server running? > > > > > > > > > > This is the status from me w2k3 box: > > > > > > > > > > Kannel bearerbox version `1.4.0'. > > > > > Build `Mar 2 2006 15:44:07', compiler `3.4.4 (cygming special) > > > > > (gdc 0.12, using dmd 0.125)'. > > > > > System CYGWIN_NT-5.2, release 1.5.19(0.150/4/2), version 2006-01-20 > > > > > 13:28, machine i686. > > > > > Libxml version 2.6.22. > > > > > Using OpenSSL 0.9.8a 11 Oct 2005. > > > > > Using native malloc. > > > > > > > > > > > > > > > thank in advance, > > > > > Leonardo > > > > > BizIT > > > > > www.bizit.biz > > > > > > www.mobis.ps > > -- > Alejandro Guerrieri > Magicom > http://www.magicom-bcn.net/ www.mobis.ps
Re: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes
Hi, I faced this issue, in the user guide, there is something written wrong, the option is --malloc=check and not --malloc=checking. Hanna On Monday 06 March 2006 16:00, Leonardo Torrella wrote: > I coudn't compile with "cheking" but I it compile ok with "slow", but > the issue persist. > I think that the problem is, in fact, the cygwin dll, Hanna, can you > tell us witch version of cygwin are you using? your stable box it's > running kannel 1.4? > May be if I try to replicate your setup I could be able to keep my box > running. > > Another thing, I found out that the bearerbox is not stopping after 5 > minutes of running, but after 5 minutes connected to my SMSC (SMPP 3.4 > on a cellular telco). The telco tech staff confirm me that the > connection it's broken abruptly (whitout an unbind). > > thanks > Leonardo. > > 2006/3/6, Hanna Kreitem <[EMAIL PROTECTED]>: > > I had an issue like that, I recompiled Kannel with checking malloc > > instead of native, and it is stable till now > > > > > > Hanna > > > > On Monday 06 March 2006 01:20, Leonardo Torrella wrote: > > > So, it's a thread issue on cygwin, right?. Have anyone asked the > > > cygwin people about this issue? > > > There's no pach or workaround for this?. I mean, even for testing ... > > > it's quite annoying . > > > > > > Leonardo. > > > > > > 2006/3/6, Sriram <[EMAIL PROTECTED]>: > > > > Kannel isnt considered stable on Cygwin implementation due to the way > > > > cygwin threads are implemented. Use Kannel on Cygwin only for testing > > > > purposes. Dont even dream of using it for production purposes. As you > > > > urself have experienced, its best to use to on Linux > > > > > > > > Sriram > > > > - Original Message - > > > > From: "Leonardo Torrella" <[EMAIL PROTECTED]> > > > > To: > > > > Sent: Monday, March 06, 2006 9:20 > > > > Subject: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes > > > > > > > > > > > > I know that you may have answered this before, but I'm a newbie with > > > > Kannel, and I can't find a solution on other places (you know, google > > > > > > > > :) > > > > > > > > I'm running two servers with kannel, both with the same version 1.4.0 > > > > and with the same config files, but one run on a W2K3 OS (cygwin) and > > > > the other with FC4. The thing is the w2k3 on just stops after 5 > > > > minutes on operation and it's quite precise on that... 300 seg and it > > > > stops, no error log, no debug info, no nothing, just stops. On the > > > > other hand the FC4 one runs without problems for days. > > > > > > > > So, whats the trick, how can I keep my w2k3 server running? > > > > > > > > This is the status from me w2k3 box: > > > > > > > > Kannel bearerbox version `1.4.0'. > > > > Build `Mar 2 2006 15:44:07', compiler `3.4.4 (cygming special) (gdc > > > > 0.12, using dmd 0.125)'. > > > > System CYGWIN_NT-5.2, release 1.5.19(0.150/4/2), version 2006-01-20 > > > > 13:28, machine i686. > > > > Libxml version 2.6.22. > > > > Using OpenSSL 0.9.8a 11 Oct 2005. > > > > Using native malloc. > > > > > > > > > > > > thank in advance, > > > > Leonardo > > > > BizIT > > > > www.bizit.biz > > > > www.mobis.ps
RE Authorization failed for sendsms
Hi Rene, Thanks. My kannel.conf uses 'Includes': include = /etc/kannel/modems.conf include = /etc/kannel/smsbox.conf include = /etc/kannel/wapbox.conf My 'group = sendsms-user' is actually in /etc/kannel/smsbox.conf, are you saying that it *must* be in kannel.conf? regards, Nooey. On Tue, 7 Mar 2006 00:25:49 +0100, "Rene Kluwen" <[EMAIL PROTECTED]> said: > User kannel & corresponding password have to exist in group = > sendsms-user > in kannel.conf. > > Rene Kluwen > Chimit -- [EMAIL PROTECTED] -- http://www.fastmail.fm - IMAP accessible web-mail
Re: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes
Thanks, sure it helps, in fact, I'm currently running the linux box inside a vmware vm as a second option, it's running fine so it's my fallback option. But, it make my wonder, I used cygwin for a couple of other projects before and it runs fine, I don't know why kannel have such weird issue, besides, some people have said that it runs fine ... so I'm going to spend a little more time on this. Again, thanks to all of you that have consider my issue have tried to help. regards, Leonardo. 2006/3/6, Alejandro Guerrieri <[EMAIL PROTECTED]>: > Have you considered options to cygwin? > > 1. If you have a fairly decent PC, you can run Kannel on VMWare or any > VM running linux. > > 2. Using Knoppix or any similar "run from CD distros" and place kannel > binaries on a removable USB device. > > Hope it helps, > > On 3/6/06, Leonardo Torrella <[EMAIL PROTECTED]> wrote: > > I coudn't compile with "cheking" but I it compile ok with "slow", but > > the issue persist. > > I think that the problem is, in fact, the cygwin dll, Hanna, can you > > tell us witch version of cygwin are you using? your stable box it's > > running kannel 1.4? > > May be if I try to replicate your setup I could be able to keep my box > > running. > > > > Another thing, I found out that the bearerbox is not stopping after 5 > > minutes of running, but after 5 minutes connected to my SMSC (SMPP 3.4 > > on a cellular telco). The telco tech staff confirm me that the > > connection it's broken abruptly (whitout an unbind). > > > > thanks > > Leonardo. > > > > > > 2006/3/6, Hanna Kreitem <[EMAIL PROTECTED]>: > > > I had an issue like that, I recompiled Kannel with checking malloc > > > instead of > > > native, and it is stable till now > > > > > > > > > Hanna > > > > > > On Monday 06 March 2006 01:20, Leonardo Torrella wrote: > > > > So, it's a thread issue on cygwin, right?. Have anyone asked the > > > > cygwin people about this issue? > > > > There's no pach or workaround for this?. I mean, even for testing ... > > > > it's quite annoying . > > > > > > > > Leonardo. > > > > > > > > 2006/3/6, Sriram <[EMAIL PROTECTED]>: > > > > > Kannel isnt considered stable on Cygwin implementation due to the way > > > > > cygwin threads are implemented. Use Kannel on Cygwin only for testing > > > > > purposes. Dont even dream of using it for production purposes. As you > > > > > urself have experienced, its best to use to on Linux > > > > > > > > > > Sriram > > > > > - Original Message - > > > > > From: "Leonardo Torrella" <[EMAIL PROTECTED]> > > > > > To: > > > > > Sent: Monday, March 06, 2006 9:20 > > > > > Subject: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes > > > > > > > > > > > > > > > I know that you may have answered this before, but I'm a newbie with > > > > > Kannel, and I can't find a solution on other places (you know, google > > > > > > > > > > :) > > > > > > > > > > I'm running two servers with kannel, both with the same version 1.4.0 > > > > > and with the same config files, but one run on a W2K3 OS (cygwin) and > > > > > the other with FC4. The thing is the w2k3 on just stops after 5 > > > > > minutes on operation and it's quite precise on that... 300 seg and it > > > > > stops, no error log, no debug info, no nothing, just stops. On the > > > > > other hand the FC4 one runs without problems for days. > > > > > > > > > > So, whats the trick, how can I keep my w2k3 server running? > > > > > > > > > > This is the status from me w2k3 box: > > > > > > > > > > Kannel bearerbox version `1.4.0'. > > > > > Build `Mar 2 2006 15:44:07', compiler `3.4.4 (cygming special) (gdc > > > > > 0.12, using dmd 0.125)'. > > > > > System CYGWIN_NT-5.2, release 1.5.19(0.150/4/2), version 2006-01-20 > > > > > 13:28, machine i686. > > > > > Libxml version 2.6.22. > > > > > Using OpenSSL 0.9.8a 11 Oct 2005. > > > > > Using native malloc. > > > > > > > > > > > > > > > thank in advance, > > > > > Leonardo > > > > > BizIT > > > > > www.bizit.biz > > > > > > > > > www.mobis.ps > > > > > > > > > > -- > Alejandro Guerrieri > Magicom > http://www.magicom-bcn.net/ > >
Re: Authorization failed for sendsms
Please note that the status page it's generated by the bearerbox, and the sendsms interface it's processed by the smsbox, so there are different passwords involved. The smsbox uses the sendsms-user groups to allow access to it. The status and admin password (bearerbox) it's in the core group. regards, Leonardo. 2006/3/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Hi all, > > Finally have Kannel/Webserver/MySQL & PHP integrated. Went to send a > test SMS today, however it failed. I executed the following cmd in > Firefox 1.0.7: > > http://192.168.100.20:13013/cgi-bin/sendsms?username=kannel&password=123456&to=04&text=Test%20SMS > > with an error returned of: > > Authorization failed for sendsms > > I did a systems status check via cmd: > > http://192.168.100.20:13000/status?password=123456 > > with output of: > > Kannel bearerbox version `1.4.0'. Build `Mar 4 2006 11:40:31', compiler > `3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, > pie-8.7.7.1)'. System Linux, release 2.6.15-gentoo-r1, version #1 > PREEMPT Wed Mar 1 22:08:11 EST 2006, machine i586. Hostname > noseymunky.inthe.jungle, IP 192.168.100.20. Libxml version 2.6.23. Using > OpenSSL 0.9.7e 25 Oct 2004. Compiled with MySQL 4.1.14, using MySQL > 4.1.14. Using native malloc. > > Status: running, uptime 0d 0h 37m 11s > > WDP: received 0 (0 queued), sent 0 (0 queued) > > SMS: received 0 (0 queued), sent 0 (0 queued), store size 0 > > SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec > > DLR: 0 queued, using internal storage > > Box connections: > smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 35m 30s) > > SMSC connections: > gsmtc35AT2[gsmtc35] (online s, rcvd 0, sent 0, failed 0, > queued 0 msgs) > > User Kannel exists on my system, but I am not sure if it exists in my > My_Sql setup. Is this a possible cause? > > regards, Nooey. > -- > > [EMAIL PROTECTED] > > -- > http://www.fastmail.fm - Does exactly what it says on the tin > > >
RE: Authorization failed for sendsms
User kannel & corresponding password have to exist in group = sendsms-user in kannel.conf. Rene Kluwen Chimit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 12:14 AM To: Kannel Users Subject: Authorization failed for sendsms Hi all, Finally have Kannel/Webserver/MySQL & PHP integrated. Went to send a test SMS today, however it failed. I executed the following cmd in Firefox 1.0.7: http://192.168.100.20:13013/cgi-bin/sendsms?username=kannel&password=123456&; to=04&text=Test%20SMS with an error returned of: Authorization failed for sendsms I did a systems status check via cmd: http://192.168.100.20:13000/status?password=123456 with output of: Kannel bearerbox version `1.4.0'. Build `Mar 4 2006 11:40:31', compiler `3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)'. System Linux, release 2.6.15-gentoo-r1, version #1 PREEMPT Wed Mar 1 22:08:11 EST 2006, machine i586. Hostname noseymunky.inthe.jungle, IP 192.168.100.20. Libxml version 2.6.23. Using OpenSSL 0.9.7e 25 Oct 2004. Compiled with MySQL 4.1.14, using MySQL 4.1.14. Using native malloc. Status: running, uptime 0d 0h 37m 11s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 0 (0 queued), sent 0 (0 queued), store size 0 SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec DLR: 0 queued, using internal storage Box connections: smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 35m 30s) SMSC connections: gsmtc35AT2[gsmtc35] (online s, rcvd 0, sent 0, failed 0, queued 0 msgs) User Kannel exists on my system, but I am not sure if it exists in my My_Sql setup. Is this a possible cause? regards, Nooey. -- [EMAIL PROTECTED] -- http://www.fastmail.fm - Does exactly what it says on the tin
Authorization failed for sendsms
Hi all, Finally have Kannel/Webserver/MySQL & PHP integrated. Went to send a test SMS today, however it failed. I executed the following cmd in Firefox 1.0.7: http://192.168.100.20:13013/cgi-bin/sendsms?username=kannel&password=123456&to=04&text=Test%20SMS with an error returned of: Authorization failed for sendsms I did a systems status check via cmd: http://192.168.100.20:13000/status?password=123456 with output of: Kannel bearerbox version `1.4.0'. Build `Mar 4 2006 11:40:31', compiler `3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)'. System Linux, release 2.6.15-gentoo-r1, version #1 PREEMPT Wed Mar 1 22:08:11 EST 2006, machine i586. Hostname noseymunky.inthe.jungle, IP 192.168.100.20. Libxml version 2.6.23. Using OpenSSL 0.9.7e 25 Oct 2004. Compiled with MySQL 4.1.14, using MySQL 4.1.14. Using native malloc. Status: running, uptime 0d 0h 37m 11s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 0 (0 queued), sent 0 (0 queued), store size 0 SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec DLR: 0 queued, using internal storage Box connections: smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 35m 30s) SMSC connections: gsmtc35AT2[gsmtc35] (online s, rcvd 0, sent 0, failed 0, queued 0 msgs) User Kannel exists on my system, but I am not sure if it exists in my My_Sql setup. Is this a possible cause? regards, Nooey. -- [EMAIL PROTECTED] -- http://www.fastmail.fm - Does exactly what it says on the tin
RE: Unexplained intermittent send SMS failure on Siemens TC65
My config files. The last post was too long to include this... *** ***my kannel.conf*** *** group = core admin-port = 13000 admin-password = x #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/home/kannel/log/kannel.log" log-level = 0 access-log = "/home/kannel/log/access.log" #http-proxy-host = "127.0.0.1" #http-proxy-port = 8080 #http-proxy-exceptions = "127.0.0.1" #http-proxy-username = "user" #http-proxy-password = "password" #ssl-certkey-file = "mycertandprivkeyfile.pem" # Smsbox related smsbox-port = 13001 #box-deny-ip = "*.*.*.*" #box-allow-ip = "127.0.0.1" #unified-prefix = "00358,0" #white-list = "http://127.0.0.1/white-list.txt"; #black-list = "http://127.0.0.1/black-list.txt"; store-file = "/home/kannel/kannel.store" # Wapbox related #wapbox-port = 13002 #udp-deny-ip = "*.*.*.*" #udp-allow-ip = "127.0.0.1" #wdp-interface-name = "*" group = smsc smsc = at smsc-id = +14155139863 modemtype = tc65 log-file = "/home/kannel/log/14155139863.log" log-level = 0 allowed-smsc-id = +14155139863 device = /dev/ttyUSB1 speed = 115200 group = smsbox bearerbox-host = localhost sendsms-port = 13013 #global-sender = 13013 #sendsms-chars = "0123456789 +-" log-file = "/home/kannel/log/smsbox.log" log-level = 0 access-log = "/home/kannel/log/smsbox_access.log" http-request-retry = 60 #white-list = #black-list = #reply-couldnotfetch = #reply-couldnotrepresent = #reply-requestfailed = #reply-emptymessage = group = sms-service keyword = default accepted-smsc = +14155139863 get-url = "http://www.someserver.com/1.php?sender=%p&message=%a&binary=%b&recip=%i&tim e=%T&udh=%u" max-messages = 0 *** my Modems.conf*** *** group = modems id = tc65 name = "siemens TC65" detect-string = "SIEMENS" detect-string2 = "TC65" #init-string = "AT+CNMI=2,1" init-string = "AT+CNMI=1,2,0,1,1" keepalive-cmd = "AT+CBC;+CSQ" speed = 115200 enable-hwhs = "AT\\Q3" need-sleep = true reset-string = "AT+CFUN=1,1" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, March 06, 2006 1:02 PM To: users@kannel.org Subject: users Digest, Vol 27, Issue 13 Send users mailing list submissions to users@kannel.org To subscribe or unsubscribe via the World Wide Web, visit http://www.kannel.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of users digest..." Today's Topics: 1. Unexplained intermittent send SMS failure on Siemens TC65 (Andy Jagoe)
Unexplained intermittent send SMS failure on Siemens TC65
I have been experiencing intermittent failures using Kannel with a Siemens TC65 terminal. This device is very similar to the TC35, but is the North American version. The device will fail sending a message to a given GSM SMSC, but then will recover and continue to process messages normally. Does anyone why these failures might be occurring? Is there a way to minimize them or to have Kannel try to re-send the messages? I was running Kannel with ‘#init-string = "AT+CNMI=2,1"’ since this was recommended by an engineer at Siemens. I have since switched to ‘init-string = "AT+CNMI=1,2,0,1,1"’ to see if this might alleviate the issue. Any other thoughts or ideas on how to best run an SMS service at any scale would be great. Thanks, Andy Details of error: 2006-03-05 14:32:12 FAILED Send SMS [SMSC:+14155139863] [SVC:tester] [ACT:] [BINF:] [from:+14155139863] [to:+1415xxx] [flags:-1:0:-1:-1:-1] [msg:146:xx"] [udh:0:] 2006-03-05 15:02:58 Receive SMS [SMSC:+14155139863] [SVC:] [ACT:] [BINF:] [from:+1415xxx] [to:1234] [flags:-1:0:-1:0:-1] [msg:4:Help] [udh:0:] 2006-03-05 15:03:08 Sent SMS [SMSC:+14155139863] [SVC:tester] [ACT:] [BINF:] [from:+14155139863] [to:+1415xxx] [flags:-1:0:-1:-1:-1] [msg:147:xx] [udh:0:] The message at 14:32:12 fails, and then the gateway receives a message at 15:02:58 and sends out another message at 15:03:08. More details from gateway log… 2006-03-05 14:17:51 [4536] [9] DEBUG: AT2[+14155139863]: TP-Validity-Period: 24.0 hours 2006-03-05 14:17:51 [4536] [9] DEBUG: AT2[+14155139863]: --> AT+CMGS=82^M 2006-03-05 14:17:51 [4536] [9] DEBUG: AT2[+14155139863]: <-- 2006-03-05 14:17:51 [4536] [9] DEBUG: AT2[+14155139863]: <-- > 2006-03-05 14:17:51 [4536] [9] DEBUG: AT2[+14155139863]: send command status: 1 2006-03-05 14:17:51 [4536] [9] DEBUG: AT2[+14155139863]: --> 0011000B914151536961F2A74D4A663D0D9A87F3739D68187683EE65D0B94C07D1CBF17A9A1D0685DD64D0733E0ECBE73F9102355387DBEDB4FBAC030595E1F3BB0C621EEB791073996E83A4D4BAFB9C02 2006-03-05 14:17:53 [4536] [9] DEBUG: AT2[+14155139863]: --> ^Z 2006-03-05 14:17:56 [4536] [9] DEBUG: AT2[+14155139863]: <-- +CMGS: 102 2006-03-05 14:17:56 [4536] [9] DEBUG: AT2[+14155139863]: <-- OK 2006-03-05 14:17:56 [4536] [9] DEBUG: AT2[+14155139863]: send command status: 0 2006-03-05 14:19:22 [4536] [9] DEBUG: AT2[+14155139863]: <-- +CMTI: "MT",1 2006-03-05 14:19:22 [4536] [9] DEBUG: AT2[+14155139863]: +CMTI incoming SMS indication: +CMTI: "MT",1 2006-03-05 14:19:24 [4536] [9] DEBUG: AT2[+14155139863]: --> AT+CMGR=1^M 2006-03-05 14:19:24 [4536] [9] DEBUG: AT2[+14155139863]: <-- +CMGR: 0,,50 2006-03-05 14:19:24 [4536] [9] DEBUG: AT2[+14155139863]: <-- 07912160130310F2040B914151536961F26030504102212B23D9771D340EBB41E7321D147683DEF371580E32BFE5207A395E4FB3C32E970B 2006-03-05 14:19:24 [4536] [9] DEBUG: AT2[+14155139863]: Numeric sender (international) <+1415xxx> 2006-03-05 14:19:24 [4536] [9] DEBUG: AT2[+14155139863]: User data length read as (35) 2006-03-05 14:19:24 [4536] [9] DEBUG: AT2[+14155139863]: Udh decoding done len=35 udhi=0 udhlen=0 udh='' 2006-03-05 14:19:24 [4536] [9] DEBUG: AT2[+14155139863]: <-- OK 2006-03-05 14:19:24 [4536] [9] DEBUG: AT2[+14155139863]: --> AT+CMGD=1^M 2006-03-05 14:19:24 [4536] [9] DEBUG: AT2[+14155139863]: <-- OK 2006-03-05 14:32:00 [4536] [9] DEBUG: AT2[+14155139863]: TP-Validity-Period: 24.0 hours 2006-03-05 14:32:00 [4536] [9] DEBUG: AT2[+14155139863]: --> AT+CMGS=142^M 2006-03-05 14:32:00 [4536] [9] DEBUG: AT2[+14155139863]: <-- 2006-03-05 14:32:00 [4536] [9] DEBUG: AT2[+14155139863]: <-- > 2006-03-05 14:32:00 [4536] [9] DEBUG: AT2[+14155139863]: send command status: 1 2006-03-05 14:32:00 [4536] [9] DEBUG: AT2[+14155139863]: --> 0011000B914151536961F2A792CC633D0F9A87F3739D2809BAA7D96C90B80CBA87E96374DA7D06D1D165D07B3E0ECBE7A0301DD4CE83CCF274D94D3ECD41E8777D5E06A5DD203ABA0C6A86E56977D8056296E9A07619B476BFEFA0B4195407DDC36E3A88FE06A9DF6937A83E778914A8993ADC6EA7DD671D28A80C9FDF659092594F8398CB741B24A5D6DDE714 2006-03-05 14:32:04 [4536] [9] DEBUG: AT2[+14155139863]: --> ^Z 2006-03-05 14:32:04 [4536] [9] DEBUG: AT2[+14155139863]: <-- ERROR 2006-03-05 14:32:04 [4536] [9] ERROR: AT2[+14155139863]: Error occurs: ERROR (error number not known to us. ask google and add it.) 2006-03-05 14:32:04 [4536] [9] DEBUG: AT2[+14155139863]: send command status: -1 2006-03-05 14:32:04 [4536] [9] DEBUG: AT2[+14155139863]: --> AT+CMGS=142^M 2006-03-05 14:32:04 [4536] [9] DEBUG: AT2[+14155139863]: <-- > 2006-03-05 14:32:04 [4536] [9] DEBUG: AT2[+14155139863]: send command status: 1 2006-03-05 14:32:04 [4536] [9] DEBUG: AT2[+14155139863]: --> 0011000B914151536961F2A792CC633D0F9A87F3739D2809BAA7D96C90B80CBA87E96374DA7D06D1D165D07B3E0ECBE7A0301DD4CE83CCF274D94D3ECD41E8777D5E06A5DD203ABA0C6A86E56977D8056296E9A07619B476BFEFA0B4195407DDC36E3A88FE06A9DF6937A83E778914A8993ADC6EA7DD671D28A80C9FDF659092594F8398CB74
Re: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes
Have you considered options to cygwin? 1. If you have a fairly decent PC, you can run Kannel on VMWare or any VM running linux. 2. Using Knoppix or any similar "run from CD distros" and place kannel binaries on a removable USB device. Hope it helps, On 3/6/06, Leonardo Torrella <[EMAIL PROTECTED]> wrote: > I coudn't compile with "cheking" but I it compile ok with "slow", but > the issue persist. > I think that the problem is, in fact, the cygwin dll, Hanna, can you > tell us witch version of cygwin are you using? your stable box it's > running kannel 1.4? > May be if I try to replicate your setup I could be able to keep my box > running. > > Another thing, I found out that the bearerbox is not stopping after 5 > minutes of running, but after 5 minutes connected to my SMSC (SMPP 3.4 > on a cellular telco). The telco tech staff confirm me that the > connection it's broken abruptly (whitout an unbind). > > thanks > Leonardo. > > > 2006/3/6, Hanna Kreitem <[EMAIL PROTECTED]>: > > I had an issue like that, I recompiled Kannel with checking malloc instead > > of > > native, and it is stable till now > > > > > > Hanna > > > > On Monday 06 March 2006 01:20, Leonardo Torrella wrote: > > > So, it's a thread issue on cygwin, right?. Have anyone asked the > > > cygwin people about this issue? > > > There's no pach or workaround for this?. I mean, even for testing ... > > > it's quite annoying . > > > > > > Leonardo. > > > > > > 2006/3/6, Sriram <[EMAIL PROTECTED]>: > > > > Kannel isnt considered stable on Cygwin implementation due to the way > > > > cygwin threads are implemented. Use Kannel on Cygwin only for testing > > > > purposes. Dont even dream of using it for production purposes. As you > > > > urself have experienced, its best to use to on Linux > > > > > > > > Sriram > > > > - Original Message - > > > > From: "Leonardo Torrella" <[EMAIL PROTECTED]> > > > > To: > > > > Sent: Monday, March 06, 2006 9:20 > > > > Subject: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes > > > > > > > > > > > > I know that you may have answered this before, but I'm a newbie with > > > > Kannel, and I can't find a solution on other places (you know, google > > > > > > > > :) > > > > > > > > I'm running two servers with kannel, both with the same version 1.4.0 > > > > and with the same config files, but one run on a W2K3 OS (cygwin) and > > > > the other with FC4. The thing is the w2k3 on just stops after 5 > > > > minutes on operation and it's quite precise on that... 300 seg and it > > > > stops, no error log, no debug info, no nothing, just stops. On the > > > > other hand the FC4 one runs without problems for days. > > > > > > > > So, whats the trick, how can I keep my w2k3 server running? > > > > > > > > This is the status from me w2k3 box: > > > > > > > > Kannel bearerbox version `1.4.0'. > > > > Build `Mar 2 2006 15:44:07', compiler `3.4.4 (cygming special) (gdc > > > > 0.12, using dmd 0.125)'. > > > > System CYGWIN_NT-5.2, release 1.5.19(0.150/4/2), version 2006-01-20 > > > > 13:28, machine i686. > > > > Libxml version 2.6.22. > > > > Using OpenSSL 0.9.8a 11 Oct 2005. > > > > Using native malloc. > > > > > > > > > > > > thank in advance, > > > > Leonardo > > > > BizIT > > > > www.bizit.biz > > > > > > www.mobis.ps > > > > -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/
Re: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes
I coudn't compile with "cheking" but I it compile ok with "slow", but the issue persist. I think that the problem is, in fact, the cygwin dll, Hanna, can you tell us witch version of cygwin are you using? your stable box it's running kannel 1.4? May be if I try to replicate your setup I could be able to keep my box running. Another thing, I found out that the bearerbox is not stopping after 5 minutes of running, but after 5 minutes connected to my SMSC (SMPP 3.4 on a cellular telco). The telco tech staff confirm me that the connection it's broken abruptly (whitout an unbind). thanks Leonardo. 2006/3/6, Hanna Kreitem <[EMAIL PROTECTED]>: > I had an issue like that, I recompiled Kannel with checking malloc instead of > native, and it is stable till now > > > Hanna > > On Monday 06 March 2006 01:20, Leonardo Torrella wrote: > > So, it's a thread issue on cygwin, right?. Have anyone asked the > > cygwin people about this issue? > > There's no pach or workaround for this?. I mean, even for testing ... > > it's quite annoying . > > > > Leonardo. > > > > 2006/3/6, Sriram <[EMAIL PROTECTED]>: > > > Kannel isnt considered stable on Cygwin implementation due to the way > > > cygwin threads are implemented. Use Kannel on Cygwin only for testing > > > purposes. Dont even dream of using it for production purposes. As you > > > urself have experienced, its best to use to on Linux > > > > > > Sriram > > > - Original Message - > > > From: "Leonardo Torrella" <[EMAIL PROTECTED]> > > > To: > > > Sent: Monday, March 06, 2006 9:20 > > > Subject: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes > > > > > > > > > I know that you may have answered this before, but I'm a newbie with > > > Kannel, and I can't find a solution on other places (you know, google > > > > > > :) > > > > > > I'm running two servers with kannel, both with the same version 1.4.0 > > > and with the same config files, but one run on a W2K3 OS (cygwin) and > > > the other with FC4. The thing is the w2k3 on just stops after 5 > > > minutes on operation and it's quite precise on that... 300 seg and it > > > stops, no error log, no debug info, no nothing, just stops. On the > > > other hand the FC4 one runs without problems for days. > > > > > > So, whats the trick, how can I keep my w2k3 server running? > > > > > > This is the status from me w2k3 box: > > > > > > Kannel bearerbox version `1.4.0'. > > > Build `Mar 2 2006 15:44:07', compiler `3.4.4 (cygming special) (gdc > > > 0.12, using dmd 0.125)'. > > > System CYGWIN_NT-5.2, release 1.5.19(0.150/4/2), version 2006-01-20 > > > 13:28, machine i686. > > > Libxml version 2.6.22. > > > Using OpenSSL 0.9.8a 11 Oct 2005. > > > Using native malloc. > > > > > > > > > thank in advance, > > > Leonardo > > > BizIT > > > www.bizit.biz > > > www.mobis.ps >
Different TON and NPI for each message
Hello, I would like to know, how to change the TON and NPI for each message. Is it a command of HTTP sendsms ? I don't read that into the doc, but I ask. Anyway, how to do that into kannel.conf then? Actually, I put 2 connections to my SMSC one with TON/NPI 5/0 (Named 'Alphanumeric') and one with TON/NPI 1/1 (Named 'Numeric') This is a problem because, this is 2 BIND connection to my provider. This is not the only problem. With the sendsms #group, when I put default-smsc=Alphanumeric, the sendsms username take the other one... What about this? (I also tryed with forced-smsc, same problem). What happend if I add a 3rd or 4th SMSC... BANG! If anyone can help me on this small problem would be really fine! Regards, Nikos
Fwd: Imp-Problem in using WAP PPG push
Note: Forwarded message attached -- Original Message -- From: "Nirav doshi" <[EMAIL PROTECTED]> To: "users" Subject: Imp-Problem in using WAP PPG push --- Begin Message --- Hello I have been trying to send an ppg msg from kannel using the ppg configuration mentioned in the userguide. i m always getting an error in the WAP Box. After opening the initial bearerbox and WAPbox i m running the command ./test_http_server -p 8900 and then on the next terminal running ./test_ppg -q http://localhost:8900/ppgurl iptestppg.xml sl.xml. After running this i m getting an error. 2006-03-03 17:20:19 [13506] [0] INFO: an input without a configuration file assumed 2006-03-03 17:20:19 [13506] [0] DEBUG: using iptestppg.xml as a content file 2006-03-03 17:20:19 [13506] [0] DEBUG: using sl.xml as a control file 2006-03-03 17:20:19 [13506] [0] DEBUG: Started thread 1 (test/test_ppg.c:push_thread) 2006-03-03 17:20:19 [13506] [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread) maps to pid 13506. 2006-03-03 17:20:19 [13506] [1] DEBUG: TEST_PPG: starting to push job 0 2006-03-03 17:20:19 [13506] [1] DEBUG: Started thread 2 (gwlib/fdset.c:poller) 2006-03-03 17:20:19 [13506] [1] DEBUG: Started thread 3 (gwlib/http.c:write_request_thread) 2006-03-03 17:20:19 [13506] [1] DEBUG: push done 2006-03-03 17:20:19 [13506] [3] DEBUG: Thread 3 (gwlib/http.c:write_request_thread) maps to pid 13506. 2006-03-03 17:20:19 [13506] [3] DEBUG: Parsing URL `http://localhost:8080//wappush': 2006-03-03 17:20:19 [13506] [3] DEBUG: Scheme: http:// 2006-03-03 17:20:19 [13506] [3] DEBUG: Host: localhost 2006-03-03 17:20:19 [13506] [3] DEBUG: Port: 8080 2006-03-03 17:20:19 [13506] [3] DEBUG: Username: (null) 2006-03-03 17:20:19 [13506] [3] DEBUG: Password: (null) 2006-03-03 17:20:19 [13506] [3] DEBUG: Path: //wappush 2006-03-03 17:20:19 [13506] [3] DEBUG: Query: (null) 2006-03-03 17:20:19 [13506] [3] DEBUG: Fragment: (null) 2006-03-03 17:20:19 [13506] [3] DEBUG: HTTP: Opening connection to `localhost:8080' (fd=12). 2006-03-03 17:20:19 [13506] [3] DEBUG: Socket connecting 2006-03-03 17:20:19 [13506] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps to pid 13506. 2006-03-03 17:20:19 [13506] [2] DEBUG: Get info about connecting socket 2006-03-03 17:20:19 [13506] [2] DEBUG: Socket not connected 2006-03-03 17:20:19 [13506] [2] ERROR: Couldn't fetch 2006-03-03 17:20:19 [13506] [1] ERROR: push failed, no reason found 2006-03-03 17:20:19 [13506] [1] INFO: TEST_PPG: In thread 1 0 succeeded, 1 failed 2006-03-03 17:20:19 [13506] [1] DEBUG: Thread 1 (test/test_ppg.c:push_thread) terminates. 2006-03-03 17:20:19 [13506] [0] INFO: TEST_PPG: 1 requests in 0.00 seconds, inf requests per second 2006-03-03 17:20:19 [13506] [0] DEBUG: Waiting for 3 (gwlib/http.c:write_request_thread) to terminate 2006-03-03 17:20:19 [13506] [3] DEBUG: Thread 3 (gwlib/http.c:write_request_thread) terminates. 2006-03-03 17:20:19 [13506] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) terminates. 2006-03-03 17:20:19 [13506] [0] DEBUG: Immutable octet strings: 10. And the response that i get in the WAP BOX is the below one. 2006-03-03 17:03:51 [13413] [0] INFO: Debug_lvl = 1, log_file = , log_lvl = 0 2006-03-03 17:03:51 [13413] [0] INFO: SSL not supported, no SSL initialization done. 2006-03-03 17:03:51 [13413] [0] INFO: 2006-03-03 17:03:51 [13413] [0] INFO: Kannel wapbox version 1.4.0 starting up. 2006-03-03 17:03:51 [13413] [0] INFO: HTTP: Opening server at port 8080. 2006-03-03 17:03:51 [13413] [0] INFO: Connected to bearerbox at localhost port 13002. 2006-03-03 17:04:00 [13413] [14] ERROR: Request from <127.0.0.1>: service not found. My config file is group = wapbox bearerbox-host = localhost #log-file = "/tmp/wapbox.log" #log-level = 0 syslog-level = none # PPG CORE SETUP, for defining the push request interface group = ppg ppg-url = ""> ppg-port = 8080 #ppg-ssl-port = 8081 concurrent-pushes = 100 trusted-pi = true users = 1024 #ppg-deny-ip = "*.*.*.*" ppg-allow-ip = "*.*.*.*" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" # PPG USER SETUP, for authorizing a specific push user group = wap-push-user wap-push-user = foo ppg-username = foo ppg-password = bar #country-prefix = +358 #allowed-prefix = "40;60;70" #denied-prefix = 50 #white-list = http://localhost:8082/whitelist #black-list = http://localhost:8082/blacklist #deny-ip = "*.*.*.*" allow-ip = "127.0.0.1" # SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever over SMS # group = smsc # smsc = fake # smsc-id = FAKE # port = 1 # connect-allow-ip = 127.0.0.1 # SMSBOX SETUP (a kludge!) group = smsbox bearerbox-host = localhost #sendsms-port = 13013 #global-sender = 13013 #sendsms-chars = "0123456789 +-" #log-file = "/tmp/smsbox.log" #log-level = 0 #access-log = "/tmp/access.log" # TEST PAP PROTOCOL group = test-ppg retries = 2 pi-ssl = yes #ssl-client-certkey-file = /etc/kannel
sendsms
I installed kannel and ran the sms and bearerbox in different terminals.What is the next step? -- View this message in context: http://www.nabble.com/sendsms-t1232732.html#a3260373 Sent from the Kannel - User forum at Nabble.com.
Re: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes
I had an issue like that, I recompiled Kannel with checking malloc instead of native, and it is stable till now Hanna On Monday 06 March 2006 01:20, Leonardo Torrella wrote: > So, it's a thread issue on cygwin, right?. Have anyone asked the > cygwin people about this issue? > There's no pach or workaround for this?. I mean, even for testing ... > it's quite annoying . > > Leonardo. > > 2006/3/6, Sriram <[EMAIL PROTECTED]>: > > Kannel isnt considered stable on Cygwin implementation due to the way > > cygwin threads are implemented. Use Kannel on Cygwin only for testing > > purposes. Dont even dream of using it for production purposes. As you > > urself have experienced, its best to use to on Linux > > > > Sriram > > - Original Message - > > From: "Leonardo Torrella" <[EMAIL PROTECTED]> > > To: > > Sent: Monday, March 06, 2006 9:20 > > Subject: kannel 1.4.0 with cygwin on w2k3 stops after 5 minutes > > > > > > I know that you may have answered this before, but I'm a newbie with > > Kannel, and I can't find a solution on other places (you know, google > > > > :) > > > > I'm running two servers with kannel, both with the same version 1.4.0 > > and with the same config files, but one run on a W2K3 OS (cygwin) and > > the other with FC4. The thing is the w2k3 on just stops after 5 > > minutes on operation and it's quite precise on that... 300 seg and it > > stops, no error log, no debug info, no nothing, just stops. On the > > other hand the FC4 one runs without problems for days. > > > > So, whats the trick, how can I keep my w2k3 server running? > > > > This is the status from me w2k3 box: > > > > Kannel bearerbox version `1.4.0'. > > Build `Mar 2 2006 15:44:07', compiler `3.4.4 (cygming special) (gdc > > 0.12, using dmd 0.125)'. > > System CYGWIN_NT-5.2, release 1.5.19(0.150/4/2), version 2006-01-20 > > 13:28, machine i686. > > Libxml version 2.6.22. > > Using OpenSSL 0.9.8a 11 Oct 2005. > > Using native malloc. > > > > > > thank in advance, > > Leonardo > > BizIT > > www.bizit.biz www.mobis.ps