Re: unicode
Hai, morecode=1 to my smsbox bearerbox can't start Bearerbox never depends on this as per my knowledge ... When you use morecode=1 check your kannel log, it suppose to print converting message UCS2 to UTF-8. get-url="" title="http://172.17.37.147/kannel/default.aspx?phone=%qtext=%abinary=%b" href="http://172.17.37.147/kannel/default.aspx?phone=%qtext=%abinary=%b" target="_blank"> http://172.17.37.147/kannel/default.aspx?phone=%qtext=%abinary=%b text = %a is better to handle total message. and why are you specifying binary ... What kind of error you getting in ASP.NET (ofcourse, I don't have any idea about .Net). Regards, Prasad On 7/13/06, issam [EMAIL PROTECTED] wrote: Hello thank you for your response when I add morecode=1 to my smsbox bearerbox can't start but the error is generated by asp.net because he consider an url containing this caracter ' as dangerous but I always have a problem when i send a message to my smsbox with a request for delivery report via http he send it 2 twice the same message group = coreadmin-port = 13000admin-password = barsmsbox-port = 13002log-file = /kannel/smsbox.loglog-level = 0access-log = /kannel/access.log dlr-storage = mysqlstore-file = /kannel.store group = mysql-connectionid = mydlrhost = localhostusername = rootpassword =database = dlrmax-connections = 5 group = dlr-dbid = mydlrtable = dlr1field-smsc = smscfield-timestamp = tsfield-destination = destinationfield-source = sourcefield-service = servicefield-url = "">field-mask = mask field-status = statusfield-boxc-id = boxc group = sqlboxid = mydlrsmsbox-id = smsbox1bearerbox-host = localhostsmsbox-port = 13005smsbox-port-ssl = falsesql-log-table = sent_smssql-insert-table = send_smsglobal-sender = 06121 log-file = /sqlbox.loglog-level = 0 group = smsboxbearerbox-host = localhostbearerbox-is-sqlbox = truesendsms-port = 13001smsbox-id = smsbox1log-file = /smsbox.loglog-level = 0 group = smscsmsc = smppsmsc-id = smsc1host = xxxport = xxxreceive-port = smsc-username = smsc-password = system-type = VMAaddress-range = enquire-link-interval = 15source-addr-ton = 0source-addr-npi = isdndest-addr-ton = 1dest-addr-npi = isdnsource-addr-autodetect = false my-number = group = sendsms-userusername = testerpassword = foobarmax-messages = 3concatenation = truedlr-url="" title="http://172.17.37.147/kannel/default.aspx?type=%d" href="http://172.17.37.147/kannel/default.aspx?type=%25d" target="_blank"> http://172.17.37.147/kannel/default.aspx?type=%d group = sms-servicekeyword = defaulttext = No service specifiedassume-plain-text = truemax-messages = 0concatenation = trueget-url="" title="http://172.17.37.147/kannel/default.aspx?phone=%qtext=%abinary=%b" href="http://172.17.37.147/kannel/default.aspx?phone=%25qtext=%25abinary=%25b" target="_blank"> http://172.17.37.147/kannel/default.aspx?phone=%qtext=%abinary=%b group = smsbox-routesmsbox-id = smsbox1smsc-ids = smsc1 - Original Message - From: Kavuri Prasad To: issam Cc: users@kannel.org Sent: Thursday, July 13, 2006 3:29 AM Subject: Re: unicode Hai Issam, When you are sending unicode message use morecode=1 option in SMSBOX SETUP. So this will convert incoming message to UTF-8. But Could not fetch content error may not be related to this CHARECTER SET problem. It is mor likely a connection between smsbox and bearerbox or some other application you are connectiong too. Chek you configuration again. I think, it is better to post your configuration to Kannel user group so some one should point out the mistake Think about it . Regards, Prasad On 7/12/06, issam [EMAIL PROTECTED] wrote: yes, I have only a default section to receive incoming messagefor my text message (in arabic) normally i receive some thing like 06330655063406440678 but kannel traduce it to 06)3306('06)' and when he tryto execute my url it generate an errormy problem is how to tel to kannel to correct send unicode to my urlI use fedora core 4 x86_64 french thanksissam- Original Message -From: Stipe Tolj [EMAIL PROTECTED] To: issam [EMAIL PROTECTED] Cc: users@kannel.orgSent: Tuesday, July 11, 2006 3:08 PMSubject: Re: unicode issam wrote: hello I try to send a unicode message from my phone to kannel but he generate an error and send me a message Could not fetch content, sorry. how can I correctly receive a correct unicode 0609 (i use smpp connection with my provider) thanks Hmm, so you send a unicode message (which real language icons embedded?) and the response is could not fetch content. This seems like smsbox received the message, but couldn't resolve the keyword or other routing criteria for the required sms-service. Did you try to use a single 'default' sms-service to hook all incoming messages to that? Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architectureKannel Software Foundation (KSF)
web application and e-mail application
Hi, Just installed kannel, can someone please guide me how to setup a email plugin and a web interface client software to be able to send and receive sms’s via Kannel. Ziyaad
RE:daily snapshot link 404
Hi, Yes all the links under http://www.kannel.org/download.shtml for the Daily Snapshots are not linked correctly. This problem recently occurred when the Kannel Server went through maintenance. Please see http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html You used to see the latest User Guide from CVS, now you see the Fedora default page. I hope someone who has access to the Kannel Server, can kindly restore this. Thanks
Kannel's site is down ?
Is kannel site down ? i get no access, no ping, no cvs access to kannel server.Do you have the same case ?
Re: SQLBOX question
It's ok, i got the sqlbox workingBut still have one problem :I have PGSQL going on the server, created a user owning a database and configured my db group to fit that, the db connexion is ok, but sqlbox throw an error in sqlbox.log :-2006-07-14 16:19:16 [7744] [0] INFO: Added logfile `/var/log/smgs/sqlbox.log' with level `0'.2006-07-14 16:19:16 [7744] [0] ERROR: PGSQL: connection to database 'smgstest' failed! 2006-07-14 16:19:16 [7744] [0] PANIC: PGSQL: could not connect to server: Connection refused Is the server running on host localhost and accepting TCP/IP connections on port 1735355439? 2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox(gw_panic+0xe1) [0x806c030]2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox [0x8060731]2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox(dbpool_increase+0xe1) [0x8060cf0] 2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox(dbpool_create+0x79) [0x8060dba]2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox(sqlbox_init_pgsql+0x2f4) [0x80538b5]2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox(main+0x379) [0x805087f] 2006-07-14 16:19:16 [7744] [0] PANIC: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7b39ea2]2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox [0x804f911]- Verifying with netstat, postgresql is listening, and i can log into db and create any table i want.here's my conf :--SQLBOX-- group = sqlbox# id corresponds to id in group = mysql-connection.# this is analogous to id in group = dlr-dbid = dlr-01-db# smsbox-id indicates the box where SQL-injected messages appear to be coming from smsbox-id = smsbox-01# bearerbox host to connect tobearerbox-host = 127.0.0.1# smsbox port to be listening onsmsbox-port = 13002smsbox-port-ssl = false # sql-log-table is the table used to log all sent messagessql-log-table = sent_sms# sql-insert-table is the table that is monitored for new messages to sendsql-insert-table = send_sms# global sender: If no sender is specified in sql-insert-table then this # value is used.global-sender = 06121log-file = /var/log/smgs/sqlbox.loglog-level = 0# ssl-client-certkey-file = # ssl-server-cert-file = # ssl-server-key-file = # ssl-trusted-ca-file = --SQLBOX-- --SMSBOX--smsbox.conf smsc.conf smsc-fake.conf[EMAIL PROTECTED]:/etc/smgs# cat smsbox.confgroup = smsboxbearerbox-host = localhost log-file = /var/log/kannel/smsbox.loglog-level = 0mo-recode = truehttp-request-retry = 10http-queue-delay = 60smsbox-id = smsbox-01sendsms-port = 13002bearerbox-is-sqlbox=true --SMSBOXBEARERBOX-- group = coreadmin-port = 13000admin-password = fxxbarstatus-password = sTtxadmin-deny-ip = *.*.*.*admin-allow-ip = 127.0.0.1box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1wdp-interface-name = *log-file = /var/log/kannel/bearerbox.loglog-level = 0access-log = /var/log/kannel/access.log smsbox-port = 13001store-file = /var/log/kannel/storedlr-storage = pgsql--BEARERBOX-- --SMSC-- group = smscsmsc = fakesmsc-id = SMPP-01-FAKEport = 1connect-allow-ip = 127.0.0.1--SMSC-- --PGSQLCONNEXION-- group = pgsql-connectionid = dlr-01-dbhost = localhostusername = testpassword = testdatabase = testmax-connections = 6--PGSQLCONNEXION-- --DLR-DB-- group = dlr-dbid = dlr-01-dbtable = dlrfield-smsc = smscfield-timestamp = datefield-destination = dafield-source = soafield-service = servicefield-url = "">field-mask = maskfield-status = status field-boxc-id = boxcid--DLR-DB-- On 7/1/06, Mi Reflejo [EMAIL PROTECTED] wrote: Maybe this snapshot isn't CVS HEAD version. Follow these steps:# cvs -d:pserver:[EMAIL PROTECTED]:/home/cvs co gateway# cvs -d:pserver:[EMAIL PROTECTED]:/home/cvs co sqlbox# cd sqlbox# make patch # cd ../gateway# ./configure [PARAMS]# make# make installMartinOn 6/30/06, Fourat Zouari [EMAIL PROTECTED] wrote: Thanks for your help, I got it, but not working ... I downloaded the latest snapshot of kannel untared the kannel-snapshot, renamed the folder to gateway/ downloaded sqlbox from cvs, moved it to the same
Re: SQLBOX question
Hi Fourat, please test add the line port=5432 or port=the_port_of_postgres in the pgsql-connection group. ;p On 7/14/06, Fourat Zouari [EMAIL PROTECTED] wrote: It's ok, i got the sqlbox working But still have one problem : I have PGSQL going on the server, created a user owning a database and configured my db group to fit that, the db connexion is ok, but sqlbox throw an error in sqlbox.log : - 2006-07-14 16:19:16 [7744] [0] INFO: Added logfile `/var/log/smgs/sqlbox.log' with level `0'. 2006-07-14 16:19:16 [7744] [0] ERROR: PGSQL: connection to database 'smgstest' failed! 2006-07-14 16:19:16 [7744] [0] PANIC: PGSQL: could not connect to server: Connection refused Is the server running on host localhost and accepting TCP/IP connections on port 1735355439? 2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox(gw_panic+0xe1) [0x806c030] 2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox [0x8060731] 2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox(dbpool_increase+0xe1) [0x8060cf0] 2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox(dbpool_create+0x79) [0x8060dba] 2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox(sqlbox_init_pgsql+0x2f4) [0x80538b5] 2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox(main+0x379) [0x805087f] 2006-07-14 16:19:16 [7744] [0] PANIC: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7b39ea2] 2006-07-14 16:19:16 [7744] [0] PANIC: /usr/local/sbin/sqlbox [0x804f911] - Verifying with netstat, postgresql is listening, and i can log into db and create any table i want. here's my conf : --SQLBOX-- group = sqlbox # id corresponds to id in group = mysql-connection. # this is analogous to id in group = dlr-db id = dlr-01-db # smsbox-id indicates the box where SQL-injected messages appear to be coming from smsbox-id = smsbox-01 # bearerbox host to connect to bearerbox-host = 127.0.0.1 # smsbox port to be listening on smsbox-port = 13002 smsbox-port-ssl = false # sql-log-table is the table used to log all sent messages sql-log-table = sent_sms # sql-insert-table is the table that is monitored for new messages to send sql-insert-table = send_sms # global sender: If no sender is specified in sql-insert-table then this # value is used. global-sender = 06121 log-file = /var/log/smgs/sqlbox.log log-level = 0 # ssl-client-certkey-file = # ssl-server-cert-file = # ssl-server-key-file = # ssl-trusted-ca-file = --SQLBOX-- --SMSBOX-- smsbox.conf smsc.conf smsc-fake.conf [EMAIL PROTECTED]:/etc/smgs# cat smsbox.conf group = smsbox bearerbox-host = localhost log-file = /var/log/kannel/smsbox.log log-level = 0 mo-recode = true http-request-retry = 10 http-queue-delay = 60 smsbox-id = smsbox-01 sendsms-port = 13002 bearerbox-is-sqlbox=true --SMSBOX-- --BEARERBOX-- group = core admin-port = 13000 admin-password = fxxbar status-password = sTtx admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 wdp-interface-name = * log-file = /var/log/kannel/bearerbox.log log-level = 0 access-log = /var/log/kannel/access.log smsbox-port = 13001 store-file = /var/log/kannel/store dlr-storage = pgsql --BEARERBOX-- --SMSC-- group = smsc smsc = fake smsc-id = SMPP-01-FAKE port = 1 connect-allow-ip = 127.0.0.1 --SMSC-- --PGSQLCONNEXION-- group = pgsql-connection id = dlr-01-db host = localhost username = test password = test database = test max-connections = 6 --PGSQLCONNEXION-- --DLR-DB-- group = dlr-db id = dlr-01-db table = dlr field-smsc = smsc field-timestamp = date field-destination = da field-source = soa field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxcid --DLR-DB-- -- Humberto Figuera - Using Linux 2.6.17 Usuario GNU/Linux 369709 Caracas - Venezuela GPG Key Fingerprint = 5AAC DF0C 00F4 2834 28BA 37AD 3364 01D1 74CA 0603
Prioritising MO/MT messages
Hello all. A scenario I'm experiencing at the moment involves a large (several thousand) number of MT messages being pushed through Kannel, during which it looks like MO messages (and the routing of them to the appropriate URLs) gets relegated to a back seat; that is, a delay of several minutes can take place between Kannel receiving the MO message, and it getting around to pushing it to the correct URL: smsbox.log:2006-07-15 12:52:13 [8487] [4] INFO: Starting to service Test from HANDSET to SHORTCODE smsbox.log:2006-07-15 12:53:08 [8487] [4] INFO: Starting to service Test from HANDSET to SHORTCODE smsbox.log:2006-07-15 12:55:10 [8487] [9] DEBUG: Parsing URL `http://URL/?source=HANDSETdestination=SHORTCODEmessage=Test': smsbox.log:2006-07-15 12:55:10 [8487] [9] DEBUG: Query: source=HANDSETdestination=SHORTCODEmessage=Test smsbox.log:2006-07-15 13:01:22 [8487] [9] DEBUG: Parsing URL `http://URL/?source=HANDSETdestination=SHORTCODEmessage=Test': smsbox.log:2006-07-15 13:01:22 [8487] [9] DEBUG: Query: source=HANDSETdestination=SHORTCODEmessage=Test As the log above displays, I sent in two messages (both saying Test) to the shortcode, 1 minute apart. I was some minutes (between 3 and 8) minutes before either of those messages were routed to the URL for that shortcode. During this time we were successfully sending 100s of MT messages (pushed using the HTTP interface) to handsets to the same SMSC as I would have sent the above message from (i.e there's only one for that carrier), but on a different shortcode and from a different server (i.e. an entirely different service!). It appears that restarting Kannel wipes the queue of messages, as any sent between restarts are happily accepted but never routed. I have started using the store file to see whether that makes a difference. It's also worth noting that the service with the MT messages also requests DLRs (down to deliver to handset), so for every MT message there are 1 - 2 MO messages with DLR information. These also apparently get queued, in favour of the outgoing MT messages. Is there a way of prioritising MT messages to be a lower priority to MO messages? Or even prioritising services one over another? Or perhaps this is a file descriptor problem -- would increasing the number of FDs allow more messages to be sent during a given time? Have you any other ideas / experience? Regards David Ritchie
Couldnot write to device
i have made some progress this morning. first of all i discovered the correct device to use on my freebsd box and how to test it. i can now do: cu -s 115200 -l /dev/ttyU0 i then get connect and can type in commands: Connected at OK so it speaka my language. so i changed smskannel.conf to: group = smsc smsc = at smsc-id = WT modemtype = auto dev = /dev/ttyU0 speed = 115200 port = 1 connect-allow-ip = 127.0.0.1 log-file = /var/log/smsc.log log-level = 0 tail -f /var/log/smsc.log shows (i'm rewriting this by hand so some formatting omitted): opening device speed set to 115200 Couldnot write to device System error 35: Resource temporarily unavailable Do i need to configure my modem type differently? i read in Appendix A that module at has been dropped and module at2 is now called at. if i type at2 when connected to the device via cu, then i get ERROR. does this mean that i should install a version of kannel prior to 1.2.x in order to use the at module? cheers iain