Re: Wireless certificate WTLS
Averroes wrote: Hi, Does anyone know if there are tools (GNU) to generate wireless certificate WTLS? If none are found, perhaps you should read Wapforum specs (www.wapforum.org), Wireless Security protocol suite and specially WAP WPKI (stands for Wireless Public Key Infra- structure). These refer to rfcs. Certificates are almost like wried ones. Aarno
Re: Compile problem with source packages
Averroes wrote: Hi All, I am new in kannel project and wanted to install it in my linux box Slackware 7.0 kernel 2.2.20 with : egcs-2.91.66 As the requirements said, I installed : libxml2-2.4.19 until here all is OK! Now I do ./configure in ./gateway-1.0.3 checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes [...] checking for xml2-config... /usr/local/bin/xml2-config checking for xml-config... /usr/bin/xml-config [...] checking for pthread.h... yes All seems to be OK! But when i wanted to do : make the problems come! :-( /var/tmp/gateway-1.0.3# make Makefile:208: .depend: No such file or directory for dir in gw gwlib test utils wmlscript checks; do \ gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml2 -Wall -MM $dir/*.c | sed s:^[^ ]:$dir/:; done .depend gw/wml_compiler.c:24: warning: No include path in which to find xmlmemory.h gw/wml_compiler.c:25: warning: No include path in which to find parser.h gw/wml_compiler.c:26: warning: No include path in which to find tree.h gw/wml_compiler.c:27: warning: No include path in which to find debugXML.h [...] gw/wapbox.c:435: warning: suggest explicit braces to avoid ambiguous `else' gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml2 -Wall -o gw/wml_compiler.o -c gw/wml_compiler.c gw/wml_compiler.c:24: xmlmemory.h: No such file or directory gw/wml_compiler.c:25: parser.h: No such file or directory gw/wml_compiler.c:26: tree.h: No such file or directory gw/wml_compiler.c:27: debugXML.h: No such file or directory make: *** [gw/wml_compiler.o] Error 1 That's all. Did you install libxml devel library, too ? Aarno
(no subject)
Dear users, We have developed a SMSC and also implemented SMPP 3.4 protocol. Now, we want to use kannel as a WAP Gateway. In test process, first, we initiate SMSC and then according to configuration needed for kannel, we run BearerBox and then WAP box. Bearerbox send a BIND_TRASMITTER and BIND_RECEIVER message and SMSC responses correctly (I mean it responses with BIND_TRANSMITTER_RESP and BIND_RECEIVER_RESP packets). But when we send a SMS Message (according to GSM requirements), it doesn't answer correctly and responses a GENERICK_NACK packet. I think everything is correct, but I don't know what is wrong. Whould you please let me know what is the problem? --- Masoomeh Rudafshani Computer Eng. Dept. Sharif Univ. of Tech. Tehran, Iran http://ce.sharif.ac.ir/~rudafsha [EMAIL PROTECTED] [EMAIL PROTECTED] ---
Kannel in W2K
Hi there, We are setting up Kannel (for testing - Kannel-1.4.exe) in W2K and tested with fakesmsc. It worked fine. But, when we tried to configure it with nokia phone (6210), bearerbox refused to start. The following is the debug output and part of the smskannel.conf C:\PROGRA~1\KANNEL\BINbearerbox smskannel.conf 2002-04-15 09:56:38 [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2002-04-15 09:56:38 [0] DEBUG: Kannel bearerbox version `1.1.4'. System CYGWIN_NT-5.0, release 1.1.8(0.34/3/2), version 2001-01-31 10:08, machine i686. Libxml version 20300. Using checking malloc. 2002-04-15 09:56:38 [0] INFO: Added logfile `kannel.log' with level `0'. 2002-04-15 09:56:38 [0] INFO: 2002-04-15 09:56:38 [0] INFO: Kannel bearerbox II version 1.1.4 starting 2002-04-15 09:56:38 [0] DEBUG: HTTP: Opening server at port 13000. 2002-04-15 09:56:38 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2002-04-15 09:56:38 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2002-04-15 09:56:38 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2002-04-15 09:56:38 [0] DEBUG: starting smsbox connection module 2002-04-15 09:56:38 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2002-04-15 09:56:39 [0] DEBUG: AT: Command: ATE0 2002-04-15 09:56:59 [0] ERROR: Failed to create Smsc wrapper 2002-04-15 09:56:59 [0] PANIC: Cannot start with SMSC connection failing FROM smskannel.conf # SMSC CONNECTIONS group = smsc smsc = at modemtype = nokiaphone device = COM1 #speed = 9600 pin = 2000 #smsc-id = #port = 1 #connect-allow-ip = 127.0.0.1 Any help is highly appeciated. rgs, cslook __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/
Difficulty in setting up the DLR
Hi all, I have difficulty to set the DLR works for my kannel. My current configuration is to store the delivery report into MySQL database server but I didn't get any delivery report store to MySQL after I send the messages. What I do is, I send a sms to kannel by using http://192.168.0.98:13013/cgi-bin/sendsms?username=testerpassword=foobarto =0122126189from=0122112880text=Message+From+Gateway After I sent the message, I check the status and I got this: Kannel bearerbox version `1.1.6'. System Linux, release 2.4.8-26mdk, version #1 Sun Sep 23 17:06:39 CEST 2001, machine i586. Hostname smsgateway, IP 192.168.0.98. Libxml version 20403. Using MySQL 3.23.47. Using checking malloc. Status: running, uptime 0d 0h 12m 3s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 0 (0 queued), sent 1 (0 queued), store size 0 DLR: 0 queued, using mysql storage Box connections: smsbox, IP 127.0.0.1 (on-line 0d 0h 11m 6s) SMSC connections: WMODBAT2[WMODB] (online 723s, rcvd 0, sent 4, failed 0, queued 0 msgs) and I check the bearerbox console, I got this: 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: international starting with + (+60122126189) 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: TP-Validity-Period: 24.0 hours 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- AT+CMGS=37^M 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: send command status: 1 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- 0011000B910621126281F9A71ACDF27C1E3E974146F9BB0D3A86E9E57B380F0A9EC36937 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- ^Z 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: -- 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: -- +CMGS: 93 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: -- OK 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: send command status: 0 2002-04-15 09:39:30 [1] DEBUG: Dumping 0 messages and 0 acks to store Can anyone tell me what's wrong with it? I attached my kannel.conf, dlr-mysql.dlr and dlr table structure below. best regard, Conteng. --kannel.conf-- group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /usr/local/gateway/log/bearerbox.log log-level = 4 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1;192.168.0.* unified-prefix = +60,0;+6012,012 access-log = /usr/local/gateway/log/beareraccess.log store-file = /usr/local/gateway/log/smsDlr.store dlr-storage = mysql include = dlr-mysql.conf # SMSC CONNECTIONS group = smsc smsc = at2 smsc-id = WMODB modemtype = wavecom device = /dev/ttyS0 speed = 9600 pin = 7151071 group = modems id = wavecom name = WMODB detect-string = WAVECOM # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-file = /usr/local/gateway/log/smsbox.log log-level = 4 access-log = /usr/local/gateway/log/smsboxaccess.log # SEND-SMS USERS group = sendsms-user username = tester password = foobar default-sender = +60122112880 # SERVICES group = sms-service keyword = nop text = You asked nothing and I did it! # there should be default always group = sms-service keyword = default text = No service spesified max-messages = 0 catch-all = true -dlr-mysql.conf--- group = mysql-connection id = dlr-db host = localhost mysql-username = kannel mysql-password = password database = kannel_dlr group = dlr-mysql mysql-id = dlr-db table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-service = service field-url = url field-mask = mask field-status = status -dlr table structure-- mysql desc dlr; +-+--+--+-+-+---+ | Field | Type | Null | Key | Default | Extra | +-+--+--+-+-+---+ | smsc| varchar(40) | YES | | NULL| | | ts | varchar(40) | YES | | NULL| | | destination | varchar(40) | YES | | NULL| | | service | varchar(40) | YES | | NULL| | | url | varchar(255) | YES | | NULL| | | mask| int(10) | YES | | NULL| | | status | int(10) | YES | | NULL| | +-+--+--+-+-+---+ 7 rows in set (0.00 sec)
RE: Difficulty in setting up the DLR
AT2 module does not currently utilize DLR. DLR is module specific, and AT2 has no code to do delivery reports. -- Oded Arbel m-Wise Inc. [EMAIL PROTECTED] You mentioned your name as if I should recognize it, but beyond the obvious facts that you are a bachelor, a solicitor, a freemason, and an asthmatic, I know nothing whatever about you. -- Sherlock Holmes, The Norwood Builder -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 12:59 PM To: [EMAIL PROTECTED] Subject: Difficulty in setting up the DLR Hi all, I have difficulty to set the DLR works for my kannel. My current configuration is to store the delivery report into MySQL database server but I didn't get any delivery report store to MySQL after I send the messages. What I do is, I send a sms to kannel by using http://192.168.0.98:13013/cgi-bin/sendsms?username=testerpass word=foobarto =0122126189from=0122112880text=Message+From+Gateway After I sent the message, I check the status and I got this: Kannel bearerbox version `1.1.6'. System Linux, release 2.4.8-26mdk, version #1 Sun Sep 23 17:06:39 CEST 2001, machine i586. Hostname smsgateway, IP 192.168.0.98. Libxml version 20403. Using MySQL 3.23.47. Using checking malloc. Status: running, uptime 0d 0h 12m 3s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 0 (0 queued), sent 1 (0 queued), store size 0 DLR: 0 queued, using mysql storage Box connections: smsbox, IP 127.0.0.1 (on-line 0d 0h 11m 6s) SMSC connections: WMODBAT2[WMODB] (online 723s, rcvd 0, sent 4, failed 0, queued 0 msgs) and I check the bearerbox console, I got this: 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: international starting with + (+60122126189) 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: TP-Validity-Period: 24.0 hours 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- AT+CMGS=37^M 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: send command status: 1 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- 0011000B910621126281F9A71ACDF27C1E3E974146F9BB0D3A86E9E57B 380F0A9EC36937 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- ^Z 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: -- 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: -- +CMGS: 93 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: -- OK 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: send command status: 0 2002-04-15 09:39:30 [1] DEBUG: Dumping 0 messages and 0 acks to store Can anyone tell me what's wrong with it? I attached my kannel.conf, dlr-mysql.dlr and dlr table structure below. best regard, Conteng. --kannel.conf- - group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /usr/local/gateway/log/bearerbox.log log-level = 4 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1;192.168.0.* unified-prefix = +60,0;+6012,012 access-log = /usr/local/gateway/log/beareraccess.log store-file = /usr/local/gateway/log/smsDlr.store dlr-storage = mysql include = dlr-mysql.conf # SMSC CONNECTIONS group = smsc smsc = at2 smsc-id = WMODB modemtype = wavecom device = /dev/ttyS0 speed = 9600 pin = 7151071 group = modems id = wavecom name = WMODB detect-string = WAVECOM # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-file = /usr/local/gateway/log/smsbox.log log-level = 4 access-log = /usr/local/gateway/log/smsboxaccess.log # SEND-SMS USERS group = sendsms-user username = tester password = foobar default-sender = +60122112880 # SERVICES group = sms-service keyword = nop text = You asked nothing and I did it! # there should be default always group = sms-service keyword = default text = No service spesified max-messages = 0 catch-all = true -dlr-mysql.conf--- group = mysql-connection id = dlr-db host = localhost mysql-username = kannel mysql-password = password database = kannel_dlr group = dlr-mysql mysql-id = dlr-db table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-service = service field-url = url field-mask = mask field-status = status -dlr table structure-- mysql desc dlr; +-+--+--+-+-+---+ | Field | Type | Null | Key | Default | Extra | +-+--+--+-+-+---+ | smsc| varchar(40) | YES | | NULL| | | ts | varchar(40) | YES | | NULL| | | destination | varchar(40) | YES | | NULL| | | service | varchar(40) | YES | | NULL| | | url | varchar(255) | YES | | NULL| | | mask| int(10) | YES | |
Re: Difficulty in setting up the DLR
Does DLR support AT? I have change my smsc to AT but doesn't seen to help much.. My smsc configuration now are: group = smsc smsc = at modemtype = wavecom device = /dev/ttyS0 pin = 7151071 and I got this in the bearerbox console 2002-04-15 12:13:55 [9] DEBUG: Started thread 10 (gw/bb_boxc.c:boxc_sender) 2002-04-15 12:14:19 [9] DEBUG: boxc_receiver: sms received 2002-04-15 12:14:19 [7] DEBUG: smscconn_sender (AT: /dev/ttyS0): sending message 2002-04-15 12:14:19 [7] DEBUG: international starting with + (+60122126189) 2002-04-15 12:14:19 [7] DEBUG: TP-Validity-Period: 24.0 hours 2002-04-15 12:14:19 [7] DEBUG: AT: Command: AT+CMGS=28 2002-04-15 12:14:19 [7] DEBUG: Read from modem: '' 2002-04-15 12:14:19 [7] DEBUG: AT: Command: 0011000B910621122188F0A710C8721E744787E7F379BD5E87C3E1 2002-04-15 12:14:23 [7] DEBUG: Read from modem: '+CMGS: 94O' 2002-04-15 12:14:23 [7] DEBUG: send command status: 0 2002-04-15 12:14:23 [1] DEBUG: Dumping 0 messages and 0 acks to store 2002-04-15 12:14:31 [6] DEBUG: smscconn (AT: /dev/ttyS0): new message received 2002-04-15 12:14:31 [10] DEBUG: boxc_sender: sent message to 127.0.0.1 2002-04-15 12:14:31 [9] DEBUG: boxc_receiver: got ack best regards, conteng Oded Arbel writes: AT2 module does not currently utilize DLR. DLR is module specific, and AT2 has no code to do delivery reports. -- Oded Arbel m-Wise Inc. [EMAIL PROTECTED] You mentioned your name as if I should recognize it, but beyond the obvious facts that you are a bachelor, a solicitor, a freemason, and an asthmatic, I know nothing whatever about you. -- Sherlock Holmes, The Norwood Builder -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 12:59 PM To: [EMAIL PROTECTED] Subject: Difficulty in setting up the DLR Hi all, I have difficulty to set the DLR works for my kannel. My current configuration is to store the delivery report into MySQL database server but I didn't get any delivery report store to MySQL after I send the messages. What I do is, I send a sms to kannel by using http://192.168.0.98:13013/cgi-bin/sendsms?username=testerpass word=foobarto =0122126189from=0122112880text=Message+From+Gateway After I sent the message, I check the status and I got this: Kannel bearerbox version `1.1.6'. System Linux, release 2.4.8-26mdk, version #1 Sun Sep 23 17:06:39 CEST 2001, machine i586. Hostname smsgateway, IP 192.168.0.98. Libxml version 20403. Using MySQL 3.23.47. Using checking malloc. Status: running, uptime 0d 0h 12m 3s WDP: received 0 (0 queued), sent 0 (0 queued) SMS: received 0 (0 queued), sent 1 (0 queued), store size 0 DLR: 0 queued, using mysql storage Box connections: smsbox, IP 127.0.0.1 (on-line 0d 0h 11m 6s) SMSC connections: WMODBAT2[WMODB] (online 723s, rcvd 0, sent 4, failed 0, queued 0 msgs) and I check the bearerbox console, I got this: 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: international starting with + (+60122126189) 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: TP-Validity-Period: 24.0 hours 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- AT+CMGS=37^M 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: send command status: 1 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- 0011000B910621126281F9A71ACDF27C1E3E974146F9BB0D3A86E9E57B 380F0A9EC36937 2002-04-15 09:39:27 [6] DEBUG: AT2[WMODB]: -- ^Z 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: -- 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: -- +CMGS: 93 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: -- OK 2002-04-15 09:39:30 [6] DEBUG: AT2[WMODB]: send command status: 0 2002-04-15 09:39:30 [1] DEBUG: Dumping 0 messages and 0 acks to store Can anyone tell me what's wrong with it? I attached my kannel.conf, dlr-mysql.dlr and dlr table structure below. best regard, Conteng. --kannel.conf- - group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar log-file = /usr/local/gateway/log/bearerbox.log log-level = 4 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1;192.168.0.* unified-prefix = +60,0;+6012,012 access-log = /usr/local/gateway/log/beareraccess.log store-file = /usr/local/gateway/log/smsDlr.store dlr-storage = mysql include = dlr-mysql.conf # SMSC CONNECTIONS group = smsc smsc = at2 smsc-id = WMODB modemtype = wavecom device = /dev/ttyS0 speed = 9600 pin = 7151071 group = modems id = wavecom name = WMODB detect-string = WAVECOM # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 13013 log-file = /usr/local/gateway/log/smsbox.log log-level = 4 access-log = /usr/local/gateway/log/smsboxaccess.log # SEND-SMS USERS group = sendsms-user username = tester
Motorola g18
Hi, Does anybody know if Kannel 1.1.6 is compatible with GSM modem Motorola g18, I have found some info about compatibilty with Siemsns MC35 ? Thanks in advance, Wojtek Dabrowski
Does Kannel works with Logica's SMPP 3.3?
I'm not having problems binding/submiting msgs from Kannel to CMG's SMSC over SMPP 3.4 but I'm having problems only submiting msgs to Logica's SMSC over SMPP 3.3. Any help? Many thanks!