Re: GSM Modem init-string
Follow up. I had to set the init-string to init-string = AT+CNMI=0,0,0,0,0 I found the Nokia AT doc's. http://simon.dehartog.nl/datasheets/protocols/Nokia_at_commands.pdf They helped. Jimmy McMillan wrote: Hi all. I'm currently using a Nokia 9500 as a GSM modem. I have sucessfully used this phone with gnokii to send out a few SMS. Now I'm working with kannel to get it working as a HTTP SMS service. I thought i had my conf file perfect until i recieved the following message. 2005-08-02 15:28:20 [1209] [6] DEBUG: AT2[/dev/ttyACM0]: -- Nokia 2005-08-02 15:28:20 [1209] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK 2005-08-02 15:28:20 [1209] [6] PANIC: Where are the modem definitions ?!?! 2005-08-02 15:28:20 [1209] [6] PANIC: ./bearerbox(gw_panic+0x174) [0x80c9178] So i read a little more about the 'modem definitions' and I setup a simple definition. group = modems id = 9500 detect-string = Nokia Now when I start bearerbox it seems to get stuck in an endless loop of initazing the modem. The error seems to be CMS ERROR: +CMS ERROR: 301 (SMS service of ME reserved) I'm not sure what I'm doing wrong, and where to go from here. Any help would be appreciated. The following is the output of the loop. 2005-08-02 15:32:18 [1247] [0] INFO: HTTP: Opening server at port 13000. 2005-08-02 15:32:18 [1247] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2005-08-02 15:32:18 [1247] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2005-08-02 15:32:18 [1247] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2005-08-02 15:32:18 [1247] [0] DEBUG: starting smsbox connection module 2005-08-02 15:32:18 [1247] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2005-08-02 15:32:18 [1247] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2005-08-02 15:32:18 [1247] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2005-08-02 15:32:18 [1247] [0] INFO: DLR rerouting for smsc id (null) disabled. 2005-08-02 15:32:18 [1247] [0] INFO: AT2[/dev/ttyACM0]: configuration doesn't show modemtype. will autodetect 2005-08-02 15:32:18 [1247] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 1247. 2005-08-02 15:32:18 [1247] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 1247. 2005-08-02 15:32:18 [1247] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 1247. 2005-08-02 15:32:18 [1247] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 1247. 2005-08-02 15:32:18 [1247] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 1247. 2005-08-02 15:32:18 [1247] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread) 2005-08-02 15:32:18 [1247] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2005-08-02 15:32:18 [1247] [0] INFO: 2005-08-02 15:32:18 [1247] [0] INFO: Kannel bearerbox II version 1.4.0 starting 2005-08-02 15:32:18 [1247] [0] INFO: MAIN: Start-up done, entering mainloop 2005-08-02 15:32:18 [1247] [0] DEBUG: AT2[/dev/ttyACM0]: start called 2005-08-02 15:32:18 [1247] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 1247. 2005-08-02 15:32:18 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem speed. 2005-08-02 15:32:18 [1247] [6] INFO: AT2[/dev/ttyACM0]: opening device 2005-08-02 15:32:18 [1247] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 1247. 2005-08-02 15:32:18 [1247] [7] DEBUG: sms_router: time to sleep 2005-08-02 15:32:18 [1247] [7] DEBUG: sms_router: list_len = 0 2005-08-02 15:32:18 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2005-08-02 15:32:19 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2005-08-02 15:32:19 [1247] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200 2005-08-02 15:32:19 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: -- ^M 2005-08-02 15:32:21 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M 2005-08-02 15:32:21 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK 2005-08-02 15:32:21 [1247] [6] INFO: AT2[/dev/ttyACM0]: closing device 2005-08-02 15:32:21 [1247] [6] INFO: AT2[/dev/ttyACM0]: detect speed is 115200 2005-08-02 15:32:21 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem type 2005-08-02 15:32:21 [1247] [6] INFO: AT2[/dev/ttyACM0]: opening device 2005-08-02 15:32:21 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2005-08-02 15:32:22 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2005-08-02 15:32:22 [1247] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200 2005-08-02 15:32:22 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: -- ^M 2005-08-02 15:32:24 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M 2005-08-02 15:32:24 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK 2005-08-02 15:32:24 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF^M 2005-08-02 15:32:24 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK 2005-08-02 15:32:24 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0^M 2005-08-02 15:32:24 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0 2005-08-02 15:32:24 [1247] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK 2005-08-02 15:32:24
[kannel] GSM Modem/Phone Linux USB
It is possible to simply hook a cell phone up to my Linux machine using the USB data cable and allow that to act as a SMSC/GSM modem? Are most phones semi-supported in that the AT commands will be standard? How do I tell my Linux machine that the USB connection is an AT Modem? How hard is this, and are there any links that someone could friendly show me. Thanks everyone. Jimmy
SMSC Options
First let me explain that I'm in the US, and this is my first message to this list, nice to meet you all ;) I''ve been reading about the SMSC options, and I'm rather confused. I'm currently working on making a SMS gateway server for another company this will be sending mass MMS messages to thousands of users. I've looked into using GSM modems, for instance, getting 15-20 cingular phones or PCMCIA cards and setting them up round-robin style with kannel, but I'm unpleased with this option. I'm really interested in the TCP/IP options, like SMPP and/or CMG SMS, but I have no idea where to find these solutions. I've googled until my fingers were bleeding and the only thing I could find was http://www.simplewire.com/ . They are majorly pricey especially for begining testing purposes. Are their any other SMPP or CMG providers that I'm not finding? I'd rather go the internet way instead of the hardware way, can someone point me in the proper path? Thanks in advance. Jimmy
Re: SMSC Options
Stephane, Yeah, I came across that page as well. Didn't see anything reguard TAP in the kannel docs, so I ignored it. But then again, I'm not sure what UCP is either. As another responder misunderstood, let me explain my situation a little more in depth. What I was mentioning about mass MMS messages, didn't refer to marketing. We are not looking to spam people with MMS. The company that I will be working with will provide video content to their customers via MMS. The user will subscribe to their services and be charged per video. The only problem is the company is currently working with a SMS gateway service located in london, and they wish to look a little closer to home. That's where I come in. They have set up their own string of phones to relay the messages but it's just not applicable in this situation, that's why I'm looking from something like SMPP services. As for the HTTP protocol, and using an SMS gateway provider, That's basically what I'm trying to become. If i just relayed my messages from my SMS gateway to another gateway, wouldn't that be a little rhetorical? Please, if I'm completely misunderstood in everything I'm saying, tell me. Thanks again, Jimmy Stephane Rosa wrote: Hi Jimmy, by googling SMSC USA UCP I got this hit : http://www.gsmfavorites.com/sms/smsc-list/ As I can see, the providers in the US are most likely to use TAP, which is an old pager protocol that Kannel does not support (as far as I know). You could probably contact european providers (since GSM is much more developped there) and maybe they can offer you UCP over TCP/IP even if you're overseas. A mobile phone pool could also work, but remember that Kannel also support HTTP protocol, if you can find an SMS gateway provider using web based interface that might be a solution as well. HTH -- Stephane Rosa IT Security Network Specialist, EMEA Tel: +41 21 966-1238 Cell: +41 79 616-0828 Stryker EMEA Grand Rue 92 CH-1820 Montreux http://www.europe.stryker.com *Jimmy McMillan [EMAIL PROTECTED]* Sent by: [EMAIL PROTECTED] 18-05-05 16:50 To users@kannel.org cc Subject SMSC Options First let me explain that I'm in the US, and this is my first message to this list, nice to meet you all ;) I''ve been reading about the SMSC options, and I'm rather confused. I'm currently working on making a SMS gateway server for another company this will be sending mass MMS messages to thousands of users. I've looked into using GSM modems, for instance, getting 15-20 cingular phones or PCMCIA cards and setting them up round-robin style with kannel, but I'm unpleased with this option. I'm really interested in the TCP/IP options, like SMPP and/or CMG SMS, but I have no idea where to find these solutions. I've googled until my fingers were bleeding and the only thing I could find was http://www.simplewire.com/ . They are majorly pricey especially for begining testing purposes. Are their any other SMPP or CMG providers that I'm not finding? I'd rather go the internet way instead of the hardware way, can someone point me in the proper path? Thanks in advance. Jimmy