RE: FW: Tariff/3 Kannel (running several SMSC connections using multiple instances of kannel on one box)
-Original Message- From: [EMAIL PROTECTED] [mailto:users-admin;kannel.3glab.org]On Behalf Of Andy Elacion, Jr. Sent: Thursday, 24 October 2002 3:41 PM To: Wilf (Neil Wilkinson) Cc: [EMAIL PROTECTED] Subject: Re: FW: Tariff/3 Kannel (running several SMSC connections using multiple instances of kannel on one box) I have a follow-up questions regarding this. 1. Are all your 3 kannel connection uses only 1 user? no, we had several different users (copied to each config file) for different applications. thats the reason that we had multiple instances - same kannel-user sending on different tarriffs. though as Oded has just pointed out, its not the best solution for all people. 2. How do you handle your reply messages to different provider? we didnt - vodafone only service :( from what i understood when i left the uk (over a year ago now), voda in the uk were going to be bringing out a big number feature which would be a normal MSISDN rather than shortcode - therefore routing on all networks (but not reverse billed on each network). I have no idea whether this has happened yet. wilf
FW: Tariff/3 Kannel (running several SMSC connections using multiple instances of kannel on one box)
thought this may be of interest to the list: -Original Message- From: Wilf (Neil Wilkinson) [mailto:wilf;bigpond.net.au] Sent: Thursday, 24 October 2002 12:51 AM To: Caesare Morata Subject: RE: Tariff/3 Kannel -Original Message- From: Caesare Morata [mailto:Caesare;eyedream.net] Sent: Wednesday, 23 October 2002 5:00 PM To: [EMAIL PROTECTED] Subject: Tariff/3 Kannel Hello Wilf, You mentioned in your mailing list reply that you had 3 kannel running in one box? yup. Could you give me on some insights on how you were able to set it up? no problem: essentially we created 3 kannel.conf files and made small startup scripts for them all. 3 bearer boxes and 3 smsboxes. each kannel.conf had different settings: admin-port=13000/1/2 sendsms-port=13010/1/2 smsbox-port=13020/1/2 we also had 3 connections from the provider (vodafone) using the SEMA/OIS protocol over X.25 - the cisco router therefore maintained 3 persistant connections with the SMSC (over the X.25 line). and also about the tariff class. how did you implement that? the tariffs were quite simple - each connection was a different tarriff (this is not something that the SMSC provided for in its protocol, but each connection could be configured differently by Voda) FYI, we had the following tarriffs: (i) free MO, free MT (ii) 10p MT, usual_tarriff MO (iii) 1UKP MT, usual_tarriff MO however, at the time (over a year ago now), we could only send to and receive from vodafone's customers (we could send to any network on the free tarriff though they couldnt reply). Are you using CIMD2 connections? see above - SEMA/OIS. you r help would be much appreciated. no problem, wilf
RE: SMS reply to kannel, User should not pay
all depends if your smsc provides that tarriff. with vodafone in the uk, we had 3 connections (3 kannels running on the same box all listening on different ports) all with different tarrifs - one of those was free MO and MT. ask your provider for a free MO. Wilf -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Florian SchlumsSent: Wednesday, 23 October 2002 6:41 AMTo: [EMAIL PROTECTED]Subject: SMS reply to kannel, User should not pay Hello I want to establish a service for a footballteam. Before each match, every player should receive a SMS and they should answer with "YES, i've time" or "NO, I can't play". But the answer shouldn't be payed by the player, "Kannel" sould pay all SMS that affects the team. So, and I ment that is supportet by the SMS standard 3.40 and the TP-RP flag. http://www.dreamfabric.com/sms/submit_fo.html Is there a possiblility to useit in kannel? Would be great if you could help me. Best regards Florian
RE: Help For Kannel 1.2 Installation
everyone faces this issue (see http://www.mail-archive.com/users;kannel.3glab.org/ and search for rpm or installation). basically, the rpm was built with old dependancies on the openssl rpm. its not worth trying to install an earlier openssl rpm (security issues found in older versions), just install from source as Ivone suggested (hopefully you wont get the rc5 algorithm problem thats appeared here recently). anyone out there that uses redhat that knows how to make rpms? please make a better one (sorry, i should say one that matches the packages installed by the current openssl rpm) and contribute it or email me some info on how to do it and i'll give it a go, wilf -Original Message- From: [EMAIL PROTECTED] [mailto:users-admin;kannel.3glab.org]On Behalf Of David Bradley Sent: Wednesday, 23 October 2002 1:15 AM To: 'Anil kundu'; [EMAIL PROTECTED] Subject: RE: Help For Kannel 1.2 Installation Hi Anil, I posted a similar question earlier this week. In my case I was trying to deploy the cygwin version on windows. The cygcrypto.dll could not be found. Anybody else faced this issue? -db -Original Message- From: [EMAIL PROTECTED] [mailto:users-admin;kannel.3glab.org]On Behalf Of Anil kundu Sent: mardi 22 octobre 2002 17:03 To: [EMAIL PROTECTED] Subject: Help For Kannel 1.2 Installation Hi Friends, Can anyone help me in installing and configuring Kannel 1.2 on redhat linux 7.3. i have rpm of kannel i.e. kannel-1.2.0-1.i386.rpm . But when i try to use it shows me following error messages libcrypto.so.0.9.6 required libmysqlclient.so.10 required libssl.so.0.9.6 required. Can any one help me in these matter. But when i try to find these files in my machine these are under /usr/lib directory. Regards A new User This message (including any attachments) is confidential and may be privileged information. If you have received it by mistake, please notify the sender by return e-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. CITYLINE INTERNATIONAL (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. CITYLINE INTERNATIONAL (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions orinterferenc -
RE: (no subject)
AFAIK, SMTP is not used by SMSCs themselves, but is often used by people providing SMS Gateways. (In a previous life, I built an SMTP interface to an existing SMS gateway to make it more accessible for clients that didnt have much(any) technical nouse.) That may be why you have heard of it - writing a simple script that reacts to a mail arriving to a certain account (sendmail can provide this i believe) and makes a HTTP transaction with Kannel would do the trick. But as Oded says, SMTP has a heavy pay-load and the client would have to be sent a seperate message for success/failure (and if they are sending thousands of emails, it would be complicated to tarry up the status with the original sms as they would have to parse the emails that are returned). Wilf -Original Message- From: [EMAIL PROTECTED] [mailto:users-admin;kannel.3glab.org]On Behalf Of Oded Arbel Sent: Sunday, 20 October 2002 5:30 PM To: Blesson Paul; [EMAIL PROTECTED] Subject: RE: (no subject) -Original Message- From: Blesson Paul [mailto:blessonpaul;softhome.net] In some documentation, we found that, many commercial SMSC's work with SMTP protocol. Why there is no support for SMTP in Kannel I'm not aware of any SMSC that supports SMTP, or at least - no SMSC that supports SMTP and not one of the other protocols that Kannel can use to deliver SMs. please note that SMTP is not a good protocol to deliver SMs with, as it is designed and optimised for large data transfer (heck - SMTP handshake alone is longer then most SMs). since an SMTP connection is unidirectional, to set up a proper system for SMTP messaging the network provider and content provider both need to set up lots of globally accesiable records which are not directly related to SM. As a result, it was never a requirment for Kannel to have an SMTP driver for SM delivery, and if your provider offers you an option to use a protocol other then SMTP, you better take that offer. OTOH, MMS messaging does have provisions for SMTP messaging, and due to the large size of most MMs, and the complicated nature of the MM* protocols, using SMTP for connections to MMSC is a good idea. -- Oded Arbel m-Wise mobile solutions [EMAIL PROTECTED] +972-9-9581711 (116) +972-67-340014 ::.. We promise according to our hopes, and perform according to our fears.
RE: Request info about GSM modems
-Original Message- From: [EMAIL PROTECTED] Hi, Hi, I'm afraid I only know some of the answers to your questions below (and may well be corrected on some of the answers): I am trying to use Kannel 1.2.0 as SMS Gateway. I am using a GSM Phone as virtual SMSC. The model of GSM Phones used are: Ericsson T39m, Ericsson SH888, Ericsson T68, Nokia 9210, Nokia 7650. I connect this phone to the port COM1 on the machine where is installed Kannel software (file device=/dev/ttyS0), but i had problems. I haven't mounted the device=/dev/ttyS0. I don't know if i need a driver for this kind of modem or if it is supportd automatically by Kannel. 'no' to needing a driver - kannel will have different init strings, etc for different phones but AFAIK many ericsson phones work. i'm fairly sure that your 7650 should be supported but make sure that you have a DLR cable and not a DAU cable. I have read from your email that the general requirement for a phone to be capable of being used as a GSM modem is that it has a cable allowing it to be plugged into an RS232 port; and that it responds to the AT+ command set. The RS232 port is a COM1 port (in unix it corresponds to the device /dev/ttyS0) ??? indeed - you should be able to use minicom to talk to the phone on /dev/ttyS0. How can i set the line-speed to 9600, 8-none-1 and what is a TTY emulator ??? see ref to minicom below Should i set these configurations into the group smsc and modems, like this: yes - but where did you get the init string from in modems.conf? thats the usual place where you may need to research. i'm fortunate, my 7110 worked with the nokiaphone default modem-type (as i expect would your 7650) and minicom: 8-N-1, 19200. Where can i learn more about AT+ commands and how can i test some of these commands with my phone ??? (My OS is Linux Red Hat 7.2) use minicom - if minicom doesnt get a response from the phone then you can be fairly sure that kannel wont either. hope i've been of some help, wilf
RE: Do kannel-1.2.0-1 support Redhat 7.2?
at the risk of saying rtfm, have a look at the mailing list archives: http://www.mail-archive.com/users@kannel.3glab.org/ basically the answer is yes (i'm running kannel 1.2.0-1 on rh7.2), though the rpm has issues. compiling it is far easier (again, read the docs and the archives for hints - and ask specific questions here of course). wilf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of mohamad rizal ramli Sent: Monday, 30 September 2002 6:37 PM To: [EMAIL PROTECTED] Subject: Do kannel-1.2.0-1 support Redhat 7.2? Did kannel-1.2.0-1 support Redhat 7.2 ?
RE: Installation issues
i spent many hours trying to install that rpm (on redhat 7.2). IMHO, the person who made the rpm package had a version of the openssl rpm installed that registered the package libcrypto.so with the rpm database - this is no longer the case with the openssl rpm. therefore that person (or the software they used to create the rpm) assumed that this would be the case on all systems that had the openssl rpm installed. (tbh, i put it down to openssl changing the way they do things rather than a badly made rpm.) i upgraded my openssl rpm to no effect. whats infuriating here is that libcrypto.so is actually installed in /usr/lib (presumably from the openssl install). and i couldnt get the --force --no-deps options to help either. of course, i could just be missing something really simple... my advice to redhat users is not to bother with the rpm (tbh, i never use rpms for actual services if i can help it) especially as the source compilation is quite straight forward for kannel and there are quite a few bug fixes in the daily snapshot. coming to think of it, i dont think that anyone on this list has mentioned that they've had a successful rpm install - did the binaries, etc actually install for you Daniel? Wilf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Wood Sent: Friday, 20 September 2002 10:55 PM To: 'Rene Kluwen' Cc: '[EMAIL PROTECTED]' Subject: RE: Installation issues thanks, it appears to have installed, now I can configure it and hopefully it should work... maybe I should have just looked at the rpm switches more closely? -Original Message- From: Rene Kluwen [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 1:53 PM To: Daniel Wood Cc: Kwok Peng Tuck; [EMAIL PROTECTED] Subject: RE: Installation issues rpm -i --force --nodeps then? (sorry, --nodeps was probably the option you needed to begin with - my bad). - Original Message - Date: Fri September 20, 2002 12:54 PM From: Daniel Wood [EMAIL PROTECTED] To: Rene Kluwen [EMAIL PROTECTED] cc: Kwok Peng Tuck [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: Installation issues Rene, I *think* it was installed by rpm, although 'm not sure as I didn't build this box (and the rpm is present on the file system). Anyhow the --force option didn't work (I had already tried it). Dan -Original Message- From: Rene Kluwen [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 12:29 PM To: Kwok Peng Tuck; [EMAIL PROTECTED] Subject: Re: Installation issues Did you install mysql from source in stead of rpm? In that case, you can safely use the --force option of rpm. -- Rene... - Original Message - Date: Fri September 20, 2002 07:08 PM From: Kwok Peng Tuck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Installation issues have you executed ldconfig ? Daniel Wood wrote: Hi guys, im currently having some installtion problems with the kannel rpm. What should be a simple operation is taking a stupid amount of time to do. Its keeps hanging on the following: error: failed dependencies: libcrypto.so.0.9.6 is needed by kannel-1.2.0-1 libssl.so.0.9.6 is needed by kannel-1.2.0-1 now both these files are in /lib and /usr/lib on a redhat 7.2 box with read/execute permissions, and LD_LIBRARY_PATH=/lib:/usr/lib is in teh env, so I dont know what is going on. Does any one have any ideas? (its probably quiet obvious, but I cant see it). Thanks, Dan
RE: Problem Installing Kannel on Redhat 7.2 using kannel-1.2.0-1.i386.rpm, gateway.tar.gz or kannel-snapshot
sorry Jorge, i have run out of advice for you. what i struggle to work out is what differs between my setup and yours. my install of redhat 7.2 is only a month old and i havent done much else apart from kannel except install php and apache (and turn off the usual services). that configure line sorted everything for me - except maybe that i did a make clean before doing the configure line that you've used below. i seem to remember that the first time i used that (new for me) configure line (with the snapshot tarball) it didnt work, so i did a make clean, a rm config.cache and then started again - maybe that will help. it was definitley that same error that i had though. (next time i have this problem, i'm logging each and every command i issue.) and even though i clearly have all the required components to compile, the rpm still claims it need dependancies that i already have. wilf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jorge San José Sent: Friday, 6 September 2002 5:21 PM To: Kannel Dudas Subject: Problem Installing Kannel on Redhat 7.2 using kannel-1.2.0-1.i386.rpm, gateway.tar.gz or kannel-snapshot Importance: High Hi all, Althought it seems imposible to happen, I am still having the same problem, could you please help me? I am trying to install kannel in three different ways on Redhat-7.2, and I have the following errores: 1 Using kannel-1.2.0-1.i386.rpm (rpm -ivh kannel-1.2.0-1.i386) error:failed for dependencies: libcrypto.so.0.9.6 is needed by kannel-1.2.0-1 libssl.so.0.9.6 is needed by kannel-1.2.0-1 libmysqlclient.so.10 is needed by kannel-1.2.0.-1 2 Using gateway-1.2.0 CC=/usr/bin/gcc ./configure --prefix=/home/kannel --with-ssl=/usr/share/ssl --enable-ssl --d isable-mysql --disable-docs gw/ota_compiler.c:In function 'parse_nose': gw/ota_compiler.c:244:structure has no member named 'children' gw/ota_compiler.c:248:structure has no member named 'children' gw/ota_compiler.c:249:structure has no member named 'children' gw/ota_compiler.c:In function 'parse atribute': gw/ota_compiler.c:356:structure has no member named 'children' gw/ota_compiler.c:357:structure has no member named 'children' make:***[gw/ota_compiler.o] Error 1 3 Using kannel-snapshot CC=/usr/bin/gcc ./configure --prefix=/home/kannel --with-ssl=/usr/share/ssl --enable-ssl --d isable-mysql --disable-docs gw/ota_compiler.c:In function 'parse_nose': gw/ota_compiler.c:244:structure has no member named 'children' gw/ota_compiler.c:248:structure has no member named 'children' gw/ota_compiler.c:249:structure has no member named 'children' gw/ota_compiler.c:In function 'parse atribute': gw/ota_compiler.c:356:structure has no member named 'children' gw/ota_compiler.c:357:structure has no member named 'children' make:***[gw/ota_compiler.o] Error 1 I have installed libxml-1.8.14-2, libxml2-2.4.2-1,libxml2-devel-2.4.2-1, openssl-0.9.6b-8, openssl-devel-0.9.6b-8 I have also installed symlinking the header files of libxml2 to /usr/include/libxml2/libxml and to /usr/local/include/libxml2/libxml Thanks in advance and best regards Jorge San José
RE: Problem Installing Kannel on Redhat 7.2 using gateway.tar.gz or snapshot:source(tarball)
i had similar problems but got round it by using this configure line: CC=/usr/bin/gcc ./configure --prefix=/home/kannel --with-ssl=/usr/share/ssl --enable-ssl --d isable-mysql --disable-docs (all on one line) tbh, i cant remember if it was the --disable-docs or the --with-ssl= parameter that made it work. note that i also have libxml2-devel and openssl-devel rpm packages installed. change the prefix to whatever you like of course. also i managed to get mysql working but only by installing Mysql-devel package and then symlinking the header files to a sensible location. wilf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jorge San José Sent: Wednesday, 4 September 2002 5:27 PM To: Kannel Dudas Subject: Problem Installing Kannel on Redhat 7.2 using gateway.tar.gz or snapshot:source(tarball) Hi dear list, Thanks for your help, but I am not still able to install kannel on Redhat-7.2. I am using gateway.tar.gz or snapshot:source(tarball), and both of them have the same problem: .. .. gw/ota_compiler.c:357:structure has no member named 'children' make:***[gw/ota_compiler.o] Error 1 I have installed libxml and libxml2. Please, help me.Thanks Jorge San José
RE: Problem Installing Kannel 1.2.0.-1 on redhat 7.3 from rpm
i seem to remember having the same problem when installing from rpm on redhat 7.2. it seems that kannel requires these modules $ rpm -qp kannel-1.2.0-1.i386.rpm --requires ... libcrypt.so.1 libcrypto.so.0.9.6 ... but even though i too have openssl and openssl-devel installed, these packages to not show up in the rpm query: $ rpm -qa | grep openssl openssl-0.9.6b-8 openssl-devel-0.9.6b-8 $ rpm -qa | grep libcrypt $ i suggest that you download the sources (so far i've found the daily cvs snapshot no problem although today could be the day its broken). here's my configure line: CC=/usr/bin/gcc ./configure --prefix=/home/kannel --with-ssl=/usr/share/ssl --enable-ssl --d isable-mysql --disable-docs for some reason i couldnt get kannel to compile with just ./configure. you probably want to change the prefix to /usr/local. best of luck, wilf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Kingsley Sent: Monday, 2 September 2002 7:58 AM To: [EMAIL PROTECTED] Subject: RE: Problem Installing Kannel 1.2.0.-1 on redhat 7.3 from rpm Hi, Have checked and I have version openssl-0.9.6b-28 and openssl-devel-0.9.6b-28. and still get this libcrypto.so.0.9.6 and libssl.so.0.9.6 needed by kennel-1.2.01 Have been trying all day (and up to 11pm tonight)! Any more clues. I have tried to find a latter version of this libraries, but cannot find (except on www.openssl.org but these are source files and cannot find any instructions on how to compile or get rpm --anybody help?) Thanks Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Oded Arbel Sent: 01 September 2002 09:14 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Problem Installing Kannel 1.2.0.-1 on redhat 7.3 from rpm You need to install the openssl-devel package. also - make sure that you have the latest 0.9.6 version - 'g' I think: there were a lot of security fixes beween that and the 'c' version which came with RH73 IIRC. -- Oded Arbel m-Wise mobile solutions [EMAIL PROTECTED] +972-9-9581711 (116) +972-67-340014 ::.. Out of register space (ugh) -- vi
RE: Problem Installing Kannel 1.2.0-1 on redhat 7.3 from rpm
did you install openssl from rpm? install openssl-devel as well. i had the same difficulties, installed openssl-devel and then compiled the kannel source code instead of relying on the rpm (as there are bugfixes that i wanted in the daily cvs snapshot). you definitley need openssl-devel.[same_version_as_openssl].rpm either way, wilf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Kingsley Sent: Saturday, 31 August 2002 5:36 AM To: [EMAIL PROTECTED] Subject: Problem Installing Kannel 1.2.0-1 on redhat 7.3 from rpm Hi, Trying to install kannel 1.2.0.-1 on redhat 7.3 from rpm file. Keep getting dependency errors for libcrypto.so.0.9.6 and libssl.so.0.9.6 Can't seem to find these anywhere, but have installed openSSL.0.9.6 which didn't help. Any ideas Thanks Richard Kingsley
RE: Kannel's Capacity
i'm sure there's people with more experience than me out there, but at a previous company, we had a capacity on the line of 40msgs/s. burst tests at 40msgs/s showed that kannel is an extremely lightweight application. the spec of the machine was approx a PIII 800 and i think the CPU never got above 10%. mysql logging was not turned on and the only reason we ever restarted kannel was when we changed the config (i think the longest uptime we left it for was 4 months). our issues were elsewhere in the system so as kannel was never a problem at 40 msgs/s, we never did true performance tests. wilf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of derrickb Sent: Saturday, 31 August 2002 7:14 AM To: [EMAIL PROTECTED] Subject: Kannel's Capacity Greetings all... Boss man has asked me to do the legwork in setting up an SMS application. We are expecting aproximately 1.2 million messages in a 12 hour period per day. And the ramp up to this level of transactions is expected to be pretty much non existant! Each message will require a database hit, transmission to another server, and a reply sent. From what I have seen Kannel will make our lives incredibly simple using the services. We are also looking for an aproximate 10 second or less turnaround on these transactions, 4 seconds being the ultimate goal. What I need to know is how well Kannel can handle the load. Do people out there have experience with VERY high volumes of traffic? What kind of performance can be expected? We have the co-operation of this particular carrier, so we will be plugged directly into the SMSC. I do foresee some sort of load balancing happening before the messages actually do get processed. Any help, experiences, tales of woe would be greatly appreciated. TTYL Derrick Bradbury Consultant Halex Technology Consulting Inc. Phone: 905-763-6529 x229 Fax: 905-886-3055 ICQ: 7489310 MSN: [EMAIL PROTECTED]
RE: kannel install
you may have libxml2 installed but if you installed it from rpm then you wont have the headers files. try installing libxml2-devel.[same_version_number_as_libxml2].rpm - worked for me and i didnt have to symlink any directories. would be a useful thing to have in the documentation as it seems that many redhat people had/have this problem. wilf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jorge San José Sent: Thursday, 29 August 2002 10:08 PM To: Kannel Dudas Subject: kannel install Hi all I have RedHat-7.2 and I am trying install kannel-1.2.0, when I install gateway.tar.gz and I run ./configure touch make depend make it gives me the following problems: make:***[gw/ota_compiler.o] Error 1 I have seen the following e-mail: if you use the latest version (1.2.0) and still fail to configure properly, try simlinking the libxml headers directory as /usr/include/libxml2/libxml or /usr/local/include/libxml2/libxml What does simlinking mean? I can not understand it because I have installed the libxml2-2.4.2 (it was installed when I installed RedHat-7.2)and I can not find the libxml headers directory (or files). Where do I have to look for them? Please, Help me!! Jorge San José
RE: nokia 9110?
-Original Message- From: Oded Arbel [mailto:[EMAIL PROTECTED]] -Original Message- From: Wilf (Neil Wilkinson) [mailto:[EMAIL PROTECTED]] If you don't encounter any interesting features of the handset which will cause it to behave in a radicly different way then other GSM modems (what we make call bugs), then its simply the question fo setting the right modem group settings (if indeed it needs different settings then the nokiaphone modem group from the sample configuration). i've been trying the nokiaphone modem with speed on auto but as i havent got one nokiaphone working yet (tried a 6150, 5110, 9000i, 9110) i'm not sure if its something else i've got wrong. for some reason, no matter what speed, etc i try, i cant seem to get minicom/hyperterminal to actually talk to any of these phones and a 9110 *must* be a gsm modem surely? incidently, the 9110 will also talk to the Nokia 9110 PC Suite through the cable but i cant get HyperTerminal to get any response whatsoever. (of course this means i know that the cable works and that the com port is correct.) surely i must be doing something wrong - usually, would all you have to do is (i) plug phone in and (ii) try settings in minicom/hyperterminal? cheers again, wilf
gnokii (WAS: nokia 9110?)
-Original Message- From: Oded Arbel [mailto:[EMAIL PROTECTED]] -Original Message- From: Wilf (Neil Wilkinson) [mailto:[EMAIL PROTECTED]] one phone type i would like to see kannel support is gnokii - that way any phone that gnokii covers will automatically be supported. (those not in the know: gnokiid (the daemon) provides the use of /dev/gnokii to turn a normal nokia into a GSM modem.) That's an interesting concept - I'll try it. its one that the FAQ says isnt supported atm. the trouble with gnokiid seems to be that it shUts itself down if something terminates connection with it so it might end up being a pain to develop. (gnokii doesnt support the 9110 btw, but it does support the 6150.) one useful thing though is to run gnokiid --debug which allows accepts commands from stdin and returns output to stout. for example i've worked out that the init string is AT+CGMI and the response is Nokia Mobile Phones (note the 's'). i've tried these in modems.conf (see below) but even though minicom can connect to /dev/gnokii (using 19200, 8-N-1, Software or Hardware Flow), kannel cant (again logs below). Kannel version is the daily snapshot. thanks again for the info Oded - one day i'll get my smsc working and it certainly wont be through a lack of trying :) wilf -- modems.conf: group = modems id = gnokii name = Gnokii Virtual Phone detect-string = Nokia Mobile Phones speed = 19200 need-sleep = true #not sure what this should be for gnokii keepalive-cmd = AT+CBC;+CSQ #this appears to work enable-mms = false#not sure what this should be for gnokii init-string = AT+CGMI #works on gnokiid --debug and via minicom kannel.conf: group = smsc smsc = at2 modemtype = gnokii device = /dev/gnokii #keepalive = 4 #uncommenting this line does not make it work #smsc-id = gnokii #port = 1 #uncommenting this line does not make it work #connect-allow-ip = 127.0.0.1 logs on start of kannel: # ./bearerbox -v 0 ../conf/kannel.conf 2002-08-30 15:06:30 [0] INFO: Debug_lvl = 0, log_file = none, log_lvl = 0 2002-08-30 15:06:30 [0] DEBUG: Loading include file `/home/kannel/conf/modems.conf' (on line 36 of file ../conf/kannel.conf). 2002-08-30 15:06:30 [0] WARNING: DLR: using default 'internal' for storage type. 2002-08-30 15:06:30 [0] DEBUG: Kannel bearerbox version `cvs-'. System Linux, release 2.4.7-10, version #1 Thu Sep 6 17:27:27 EDT 2001, machine i686. Hostname matilda, IP 127.0.0.1. Libxml version 20423. Using OpenSSL 0.9.6b [engine] 9 Jul 2001. Using MySQL 3.23.49a. Using native malloc. 2002-08-30 15:06:30 [0] INFO: Added logfile `/home/kannel/log/main.log' with level `0'. 2002-08-30 15:06:30 [0] INFO: Started access logfile `/home/kannel/log/access.log'. 2002-08-30 15:06:30 [0] DEBUG: HTTP: Opening server at port 13000. 2002-08-30 15:06:30 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2002-08-30 15:06:30 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2002-08-30 15:06:30 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2002-08-30 15:06:30 [0] DEBUG: starting smsbox connection module 2002-08-30 15:06:30 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2002-08-30 15:06:30 [0] INFO: AT2[/dev/gnokii]: configuration shows modemtype gnokii 2002-08-30 15:06:30 [0] DEBUG: AT2[/dev/gnokii]: Reading modem definitions from ../conf/kannel.conf 2002-08-30 15:06:30 [0] DEBUG: Loading include file `/home/kannel/conf/modems.conf' (on line 36 of file ../conf/kannel.conf). 2002-08-30 15:06:30 [0] DEBUG: AT2[/dev/gnokii]: Found 11 modems in config 2002-08-30 15:06:30 [0] INFO: AT2[/dev/gnokii]: read modem definition for Gnokii Virtual Phone 2002-08-30 15:06:30 [0] DEBUG: Started thread 5 (gw/smsc/smsc_at2.c:at2_device_thread) 2002-08-30 15:06:30 [5] INFO: AT2[/dev/gnokii]: trying to use speed 19200 from modem definition 2002-08-30 15:06:30 [5] INFO: AT2[/dev/gnokii]: opening device 2002-08-30 15:06:30 [5] DEBUG: AT2[/dev/gnokii]: device opened 2002-08-30 15:06:30 [5] INFO: AT2[/dev/gnokii]: speed set to 19200 2002-08-30 15:06:30 [5] DEBUG: AT2[/dev/gnokii]: -- ^M 2002-08-30 15:06:30 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router) 2002-08-30 15:06:30 [0] INFO: 2002-08-30 15:06:30 [0] INFO: Kannel bearerbox II version cvs- starting 2002-08-30 15:06:30 [0] INFO: MAIN: Start-up done, entering mainloop 2002-08-30 15:06:30 [0] DEBUG: AT2[/dev/gnokii]: start called 2002-08-30 15:06:30 [6] DEBUG: sms_router: time to sleep 2002-08-30 15:06:30 [6] DEBUG: sms_router: list_len = 0 2002-08-30 15:06:32 [5] DEBUG: AT2[/dev/gnokii]: -- AT^M 2002-08-30 15:06:36 [5] DEBUG: AT2[/dev/gnokii]: -- AT^M 2002-08-30 15:06:40 [5] DEBUG: AT2[/dev/gnokii]: -- AT^M 2002-08-30 15:06:44 [5] INFO: AT2[/dev/gnokii]: closing device 2002-08-30 15:06:44 [5] INFO: AT2[/dev/gnokii]: speed in modem definition don't work, will autodetect ...does the same thing for other speeds with the same result. Its worth noting
nokia 9110?
hi all, after my dramas with my nokia 6150 i have now managed to get my hands on a nokia 9000 and a nokia 9110. has anyone had any success with these models (as smscs)? wilf
RE: charset problem
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of ilker Aktuna Sent: Wednesday, 21 August 2002 3:30 PM To: [EMAIL PROTECTED] Subject: RE: charset problem Hi, If I am successful to add that line to the wml source, how shall I remove the original xml declaration tag ? if you're following Oded's idea of running a kind of web proxy which does it for you then it would be really simple to remove the first line using the string manipulation functions of php or perl. if you're a complete newbie to web scripting then php is really easy IMHO. I should remove it, I think... yup. wilf
RE: nokia phone accepts AT but never gets past start called
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Oded Arbel Sent: Monday, 19 August 2002 5:10 PM To: Wilf (Neil Wilkinson); [EMAIL PROTECTED] Subject: RE: nokia phone accepts AT but never gets past start called Are you sure that 9600 is the correct speed ? my Nokia phones connect at 4800 or 19200 (I have two). Also - try autodetecting the modem type. thanks for the reply. seems that if i try 4800 or 19200 it gets further: 2002-08-19 17:40:38 [0] DEBUG: AT2[nk6150]: start called 2002-08-19 17:40:38 [6] DEBUG: sms_router: time to sleep 2002-08-19 17:40:38 [6] DEBUG: sms_router: list_len = 0 2002-08-19 17:40:39 [5] DEBUG: AT2[nk6150]: device opened 2002-08-19 17:40:39 [5] INFO: AT2[nk6150]: init device 2002-08-19 17:40:39 [5] INFO: AT2[nk6150]: speed set to 19200 2002-08-19 17:40:39 [5] DEBUG: AT2[nk6150]: -- AT^M but then never gets past this point. interestingly, the modem.conf file with the distribution sets the default speed of the nokia to 9600... also if i auto the modemtype with 4800 or 19200 it fails and if i auto the modem and leave the speed blank then it defaults to 57600 and fails. i think i've run out of combinations now, wilf -Original Message- From: Wilf (Neil Wilkinson) [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 4:17 AM To: [EMAIL PROTECTED] Subject: nokia phone accepts AT but never gets past start called Hi all, I'm new to Kannel and im trying to get my nokia 6150 to work as an smsc. i'm running gateway-1.2.0 (compiled under redhat 7.2). the bearer box comes up no problem with no errors and the AT2 thread gets as far as start called (see below) but never sends or receives any messages. so it seems that i've got the correct device, and the AT command is accepted successfully. Also, the http status page always shows the phone status as connecting (my guess is that it should change to connected at some point?). Im using the supplied modems.conf (unaltered) with the following excerpt from kannel.conf (im fairly confident that my smsbox is configured correctly as i get Sent. as a response to my sms push): group = core admin-port = 13000 smsbox-port = 13001 admin-password = *** admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 log-file = /home/kannel/log/main.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 unified-prefix = 00358,0 access-log = /home/kannel/log/access.log #include modems include = /home/kannel/conf/modems.conf # SMSC CONNECTIONS group = smsc smsc = at2 modemtype = nokiaphone device = /dev/ttyS1 #speed = 9600 #keepalive = 4 smsc-id = nk6150 #port = 1 #connect-allow-ip = 127.0.0.1 the log file: 2002-08-19 11:36:16 [0] INFO: Added logfile `/home/kannel/log/main.log' with level `0'. 2002-08-19 11:36:16 [0] INFO: 2002-08-19 11:36:16 [0] INFO: Kannel bearerbox II version 1.2.0 starting 2002-08-19 11:36:16 [0] INFO: Started access logfile `/home/kannel/log/access.log'. 2002-08-19 11:36:16 [0] DEBUG: HTTP: Opening server at port 13000. 2002-08-19 11:36:16 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2002-08-19 11:36:16 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2002-08-19 11:36:16 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2002-08-19 11:36:16 [0] DEBUG: starting smsbox connection module 2002-08-19 11:36:16 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2002-08-19 11:36:16 [0] INFO: AT2[nk6150]: configuration shows modemtype nokiaphone 2002-08-19 11:36:16 [0] DEBUG: AT2[nk6150]: Reading modem definitions from ../conf/kannel.conf 2002-08-19 11:36:16 [0] DEBUG: Loading include file `/home/kannel/conf/modems.conf' (on line 36 of file ../conf/kannel.conf). 2002-08-19 11:36:16 [0] DEBUG: AT2[nk6150]: Found 10 modems in config 2002-08-19 11:36:16 [0] INFO: AT2[nk6150]: read modem definition for Nokia Phone 2002-08-19 11:36:16 [0] DEBUG: Started thread 5 (gw/smsc_at2.c:at2_device_thread) 2002-08-19 11:36:16 [5] INFO: AT2[nk6150]: trying to use speed 9600 from modem definition 2002-08-19 11:36:16 [5] INFO: AT2[nk6150]: opening device 2002-08-19 11:36:16 [5] DEBUG: AT2[nk6150]: device opened 2002-08-19 11:36:16 [5] INFO: AT2[nk6150]: speed set to 9600 2002-08-19 11:36:16 [5] DEBUG: AT2[nk6150]: -- ^M 2002-08-19 11:36:16 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router) 2002-08-19 11:36:16 [0] INFO: MAIN: Start-up done, entering mainloop 2002-08-19 11:36:16 [0] DEBUG: AT2[nk6150]: start called 2002-08-19 11:36:16 [6] DEBUG: sms_router: time to sleep 2002-08-19 11:36:16 [6] DEBUG: sms_router: list_len = 0 (Incidently, gnokii code works no problem with the same phone and device name /dev/ttyS1.) Any help would be greatly appreciated, Wilf (Neil Wilkinson) --
RE: nokia phone accepts AT but never gets past start called
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Oded Arbel Sent: Monday, 19 August 2002 9:28 PM To: Wilf (Neil Wilkinson); [EMAIL PROTECTED] Subject: RE: nokia phone accepts AT but never gets past start called I think it would have been a good idea, before running bearerbox on the phone, to try to use it through a terminal program, setting various speeds and other line settings, until you find one that works. possibly this may even be a hardware problem. yup, that occurred to me too - i ran the gnokii software to make sure that the phone and correct device were being used and it worked fine. unfortunatley i cant find anywhere in the gnokii code which talks about the baud rate to use. does anyone know the correct speed and modemtype settings within kannel for a nokia 6150? as it would be great to eliminate these queries from my config. thanks, wilf
nokia phone accepts AT but never gets past start called
Hi all, I'm new to Kannel and im trying to get my nokia 6150 to work as an smsc. i'm running gateway-1.2.0 (compiled under redhat 7.2). the bearer box comes up no problem with no errors and the AT2 thread gets as far as start called (see below) but never sends or receives any messages. so it seems that i've got the correct device, and the AT command is accepted successfully. Also, the http status page always shows the phone status as connecting (my guess is that it should change to connected at some point?). Im using the supplied modems.conf (unaltered) with the following excerpt from kannel.conf (im fairly confident that my smsbox is configured correctly as i get Sent. as a response to my sms push): group = core admin-port = 13000 smsbox-port = 13001 admin-password = *** admin-deny-ip = *.*.*.* admin-allow-ip = 127.0.0.1 log-file = /home/kannel/log/main.log log-level = 0 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1 unified-prefix = 00358,0 access-log = /home/kannel/log/access.log #include modems include = /home/kannel/conf/modems.conf # SMSC CONNECTIONS group = smsc smsc = at2 modemtype = nokiaphone device = /dev/ttyS1 #speed = 9600 #keepalive = 4 smsc-id = nk6150 #port = 1 #connect-allow-ip = 127.0.0.1 the log file: 2002-08-19 11:36:16 [0] INFO: Added logfile `/home/kannel/log/main.log' with level `0'. 2002-08-19 11:36:16 [0] INFO: 2002-08-19 11:36:16 [0] INFO: Kannel bearerbox II version 1.2.0 starting 2002-08-19 11:36:16 [0] INFO: Started access logfile `/home/kannel/log/access.log'. 2002-08-19 11:36:16 [0] DEBUG: HTTP: Opening server at port 13000. 2002-08-19 11:36:16 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2002-08-19 11:36:16 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2002-08-19 11:36:16 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2002-08-19 11:36:16 [0] DEBUG: starting smsbox connection module 2002-08-19 11:36:16 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2002-08-19 11:36:16 [0] INFO: AT2[nk6150]: configuration shows modemtype nokiaphone 2002-08-19 11:36:16 [0] DEBUG: AT2[nk6150]: Reading modem definitions from ../conf/kannel.conf 2002-08-19 11:36:16 [0] DEBUG: Loading include file `/home/kannel/conf/modems.conf' (on line 36 of file ../conf/kannel.conf). 2002-08-19 11:36:16 [0] DEBUG: AT2[nk6150]: Found 10 modems in config 2002-08-19 11:36:16 [0] INFO: AT2[nk6150]: read modem definition for Nokia Phone 2002-08-19 11:36:16 [0] DEBUG: Started thread 5 (gw/smsc_at2.c:at2_device_thread) 2002-08-19 11:36:16 [5] INFO: AT2[nk6150]: trying to use speed 9600 from modem definition 2002-08-19 11:36:16 [5] INFO: AT2[nk6150]: opening device 2002-08-19 11:36:16 [5] DEBUG: AT2[nk6150]: device opened 2002-08-19 11:36:16 [5] INFO: AT2[nk6150]: speed set to 9600 2002-08-19 11:36:16 [5] DEBUG: AT2[nk6150]: -- ^M 2002-08-19 11:36:16 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router) 2002-08-19 11:36:16 [0] INFO: MAIN: Start-up done, entering mainloop 2002-08-19 11:36:16 [0] DEBUG: AT2[nk6150]: start called 2002-08-19 11:36:16 [6] DEBUG: sms_router: time to sleep 2002-08-19 11:36:16 [6] DEBUG: sms_router: list_len = 0 (Incidently, gnokii code works no problem with the same phone and device name /dev/ttyS1.) Any help would be greatly appreciated, Wilf (Neil Wilkinson) --