Unplugging USB GSM Modem and replugging

2009-06-11 Thread Dennis Low Weng Kin
Hi everyone, I am running Kannel 1.4.3 in Fedora Core 10. For the moment, I am using a USB GSM Modem and in my setting, I mapped the device to /dev/ttyUSB0. However, if I unplugged and replug the GSM Modem to my PC, the port will change to ttyUSB1. Therefore, my Kannel will not be able to loca

Re: Unplugging USB GSM Modem and replugging

2009-06-11 Thread seikath
the KISS solution : at the head of the kannel start/stop script include short bash script to detect the latest device name of the modem the script should remove if existing the old simlink and create new simlink to the real usb device named like "/dev/MyUsbModem" use that in the kannel config

RE: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Dennis Low Weng Kin
Thanks for you immediate reply. So you are saying that I should detect the device name and change the device name in the kannel config accordingly? I've tried to write a udev rule to map the usb port to use the port name "/dev/GSMMODEM". It works well at first. When I unplug the modem, and re

Re: Unplugging USB GSM Modem and replugging

2009-06-11 Thread seikath
i know udev rule is not reliable, because its executed at boot time again, parse the dmesg each time you start/stop kannel , reset proper simlink and use cronted monitoring script to check the kannel state and according to the state to use the start/stop srcipt Dennis Low Weng Kin wrote: Thanks

RE: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Dennis Low Weng Kin
OK. I will try it. Thanks a lot. Regards, Low > Date: Thu, 11 Jun 2009 11:25:44 +0300 > From: seik...@gmail.com > CC: users@kannel.org > Subject: Re: Unplugging USB GSM Modem and replugging > > i know udev rule is not reliable, because its executed at boot time > again, > parse the dmesg each

Re: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Milan P. Stanic
On Thu, 2009-06-11 at 11:25, seikath wrote: > i know udev rule is not reliable, because its executed at boot time > again, > parse the dmesg each time you start/stop kannel , reset proper simlink > and use cronted monitoring script to check the kannel state and according to > the state to use the

Re: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Kenny
IMHO and based on my personal experience a serial modems is just what you need. They are equally stable and 'fast'. Fast enough to manage your traffic efficiently. -- Kenny e: ke...@nuobjects.com w: www.nuObjects.com Bulk SMS Solutions | Managed Hosting | Enterprise Application Development On

RE: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Dennis Low Weng Kin
Hi Milan, Can you give me some guidance and link to accomplish what you've just mentioned? Thanks in advance. > Date: Thu, 11 Jun 2009 12:59:36 +0200 > From: m...@arvanta.net > To: users@kannel.org > Subject: Re: Unplugging USB GSM Modem and replugging > > On Thu, 2009-06-11 at 11:25, seikath

Re: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Milan P. Stanic
On Fri, 2009-06-12 at 02:07, Dennis Low Weng Kin wrote: > Can you give me some guidance and link to accomplish what you've just > mentioned? I don't have that for modem/phone or kannel but here is what I use for mounting mp4 player (line from /etc/udev/rules.d/local.rules): SUBSYSTEMS=="scsi", AT

Re: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Alvaro Cornejo
There was a thread about this sometime ago. I'll try to look for it later. Note that, for the workarround above, you might get into troubles if you do have several equal usb modems. Each modem will have its own sim with -maybe- different carrier/service/plan/etc. With the above procedure, you wil

Re: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Milan P. Stanic
On Thu, 2009-06-11 at 12:43, Alvaro Cornejo wrote: > There was a thread about this sometime ago. I'll try to look for it later. > > Note that, for the workarround above, you might get into troubles if > you do have several equal usb modems. > > Each modem will have its own sim with -maybe- differ

RE: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Dennis Low Weng Kin
Thanks > Date: Thu, 11 Jun 2009 20:44:46 +0200 > From: m...@arvanta.net > To: users@kannel.org > Subject: Re: Unplugging USB GSM Modem and replugging > > On Thu, 2009-06-11 at 12:43, Alvaro Cornejo wrote: > > There was a thread about this sometime ago. I'll try to look for it later. > > > > No

Re: Unplugging USB GSM Modem and replugging

2009-06-11 Thread Alvaro Cornejo
I found the thread: In kannel userlist the thread is called "Connecting USB GSM phones" dated 8-10-06 Hope helps Alvaro |-| EnvĂ­e y Reciba Datos y m

Can't compile kannel with ssl suppor

2009-06-11 Thread Alvaro Cornejo
Hi All I'm trying to migrate my kannel installation from fedora6 to fedora10, but I when running ./configure it complains that the openssl I use is not multithread ... Configuring parameters ... checking which malloc to use... native malloc enabling local time enabling cookies enabling HTTP/1

registered delivery

2009-06-11 Thread Iain Dooley
hi there, i've just received a report back from my aggregator that some of my requests are coming through with "registered_delivery=0" in them which is (alledgedly) causing droppage of large numbers of DLR messages. i can't see anything about this in the userguide and what's most strange is

Re: Can't compile kannel with ssl suppor

2009-06-11 Thread Nikos Balkanas
Yeap, That's about right. In most distros openssl is not multithrteaded. Download latest sources and compile with: config threads shared enable-rc5 --prefix=/usr/local/64 BR, Nikos - Original Message - From: "Alvaro Cornejo" To: "users" Sent: Friday, June 12, 2009 5:18 AM Subject:

registered_delivery - clarification

2009-06-11 Thread Iain Dooley
hi all, i received some clarification back from the carrier: it was only the first of a multipart message that got registered_delivery = 1, then any subsequent parts of the multipart message had registered_delivery = 0. this seems pretty sensible seeing as, from my perspective, a concatenated m

Re: registered_delivery - clarification

2009-06-11 Thread Alejandro Guerrieri
registered_delivery gets set to nonzero when dlr-mask and dlr-url are present. Assuming that you're in fact setting those parameters, I see your point. I'm not sure what the regular behaviour should be, when a message is being split by kannel? Let's analyze the facts further: I assume the behavio

Re: registered_delivery - clarification

2009-06-11 Thread Nikos Balkanas
Yes, That is correct behaviour and is SMSc depended. BR, Nikos - Original Message - From: "Iain Dooley" To: Sent: Friday, June 12, 2009 8:28 AM Subject: registered_delivery - clarification hi all, i received some clarification back from the carrier: it was only the first of a mult

smsc bombardment without smsbox running

2009-06-11 Thread Jessica.vonGunten-Hinke
Hi All, I have a strange situation. I set up kannel. It was a functional setup but it was on a computer whose IP didn't have access to my SMSC's port. Later I made the "real" setup on another computer and more or less abandoned the other. Bearerbox remained set to start at boot on the origin

Re: registered_delivery - clarification

2009-06-11 Thread Nikos Balkanas
Hi, I don't think it makes much sense to have individual verification for each part. The SMSc should respond with OK if message succesfully assembled and delivered as a whole; else if any part fails, failure. After all, if any part fails, correct behaviour would be to resend the whole SMS. Add

Re: registered_delivery - clarification

2009-06-11 Thread Iain Dooley
Hi Alejandro, present. Assuming that you're in fact setting those parameters, I see your point. I'm not sure what the regular behaviour should be, when a message is being split by kannel? Let's analyze the facts further: I assume the behaviour now is only to set registered_delivery = 1 on the

Re: registered_delivery - clarification

2009-06-11 Thread Iain Dooley
I should add to my last email that I think that all messages (even single part messages) should have entries in both message and message_part; ie. the system treats a single part message as a special kind of multipart message rather than the other way around. cheers iain On Fri, 12 Jun 2009,

Re: smsc bombardment without smsbox running

2009-06-11 Thread Nikos Balkanas
Hi, The only thing that I can think of, is that an *smsbox* (or SQLbox) got active somehow. I mean, you were sure that no network access was to the SMSc, and yet there was. How difficult would be to start smsbox? Propably someone needed to use it and enabled the network and smsbox. The only co