Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

GSM modem locking up with KANNEL

  • 04-10-2011 06:36PM
    #1
    Registered Users, Registered Users 2 Posts: 40


    Hi

    I hope this is the right forum

    I am using KANNEL via /dev/ttyS0 that is talking to a WAVECOM GSM modem for receiving and sending SMS messages.

    For the most part it works really well, except for the occasional lock-up of the GSM modem. It appears to be a bit random though. KANNEL reports that it cannot open the port and retries. I have even tried rebooting the OS but that doesn't help.

    The funny thing is that if the stop bearerbox/smsbox, and literally enter minicom (pointing to /dev/ttyS0) and exiting the app (allowing it to reset the modem), then kannel starts up again without a problem.

    I am a bit perplexed by this behaviour, and hope that someone can give me some ideas.

    I am running kannel 1.4.3 on fedora core 15 as a VM on ESXi. The serial port is only active and assigned to the VM. its disabled for all other VM's.

    TIA


Comments

  • Registered Users, Registered Users 2 Posts: 1,726 ✭✭✭gerryk


    Maybe send a reset command to the modem?

    echo \+\+\+ AT\&H0 ATZ >/dev/ttyS0


  • Registered Users, Registered Users 2 Posts: 1,726 ✭✭✭gerryk


    You may need to stick a few CR (\n) in there too, when I think about it.


Advertisement