By your logs, it seems kannel can communicate with one of your modems directly.
Check userguide. There is a config parameter to disable the use of the PIN. As it seems you are connecting directly to one of the modems test to set a the pin value in kannel config. Hope helps Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Wed, Oct 6, 2010 at 11:48 AM, Martin <[email protected]> wrote: > Hi! > > Thank you for your help, I created the modems.conf and I setup the config > but it seems that the TC35 won't work because there is a manager for the two > TC35i in the box and it handle the AT commands to the specified channel so I > think it's very hard for me to get the box running because my linux skills > are medium but hardware skill especially for SMSC are nearly zero. With > minicom a can "talk" to the gateway but that doesn't help me. > If someone else have any idea which can help me please send it :) > > Logfile: > 2010-10-06 18:24:45 [5363] [6] INFO: AT2[/dev/ttyS1]: opening device > 2010-10-06 18:24:45 [5363] [6] DEBUG: AT2[/dev/ttyS1]: device opened > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: device opened > 2010-10-06 18:24:46 [5363] [6] INFO: AT2[/dev/ttyS1]: init device > 2010-10-06 18:24:46 [5363] [6] INFO: AT2[/dev/ttyS1]: speed set to 19200 > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: --> ATZ^M > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: --> AT^M > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: --> AT&F^M > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: --> ATE0^M > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: --> AT\Q3^M > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 18:24:46 [5363] [6] DEBUG: AT2[/dev/ttyS1]: --> AT+CPIN?^M > 2010-10-06 18:24:47 [5363] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 18:24:56 [5363] [6] DEBUG: AT2[/dev/ttyS1]: <-- ERROR > 2010-10-06 18:24:56 [5363] [6] ERROR: AT2[/dev/ttyS1]: Generic error: ERROR > 2010-10-06 18:24:56 [5363] [6] DEBUG: AT2[/dev/ttyS1]: --> AT+CPIN?^M > 2010-10-06 18:24:57 [5363] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 18:24:57 [5363] [6] ERROR: AT2[/dev/ttyS1]: Opening failed. > Terminating > 2010-10-06 18:24:57 [5363] [6] INFO: AT2[/dev/ttyS1]: closing device > > On this comsat device I don’t need a PIN because its already configured so > the comsat device "manager" setup the two Siemens modems so I can talk to > them without any need of a PIN or something like that. > > Regards Martin > > > > -----Ursprüngliche Nachricht----- > Von: Alvaro Cornejo [mailto:[email protected]] > Gesendet: Mittwoch, 06. Oktober 2010 18:14 > An: Martin > Cc: [email protected] > Betreff: Re: Siemens TC35i built in coM.sat ISDN Plus 2 > > Search the lists for an available siemens modem definition. There is > also an example in the source code. You should add it to your kannel > config file. > > Regarding the command from the manufacturer, Kannel does not support > it. It uses standard AT commands. You should check if your modem > supports it. if not you will have to develop your own driver. > > Regards > > Alvaro > > > |--------------------------------------------------------------------------- > --------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > > On Wed, Oct 6, 2010 at 10:59 AM, Martin <[email protected]> wrote: >> Hi! >> The main problem is that kannel or bearerbox is asking for the modem >> definitions which I don’t have >> >> Logfile bearerbox.log: >> 2010-10-06 17:42:07 [3517] [6] DEBUG: AT2[/dev/ttyS1]: device opened >> 2010-10-06 17:42:07 [3517] [6] INFO: AT2[/dev/ttyS1]: speed set to 19200 >> 2010-10-06 17:42:07 [3517] [6] DEBUG: AT2[/dev/ttyS1]: --> ^M >> 2010-10-06 17:42:09 [3517] [6] DEBUG: AT2[/dev/ttyS1]: --> AT^M >> 2010-10-06 17:42:09 [3517] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK >> 2010-10-06 17:42:09 [3517] [6] DEBUG: AT2[/dev/ttyS1]: --> AT&F^M >> 2010-10-06 17:42:09 [3517] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK >> 2010-10-06 17:42:09 [3517] [6] DEBUG: AT2[/dev/ttyS1]: --> ATE0^M >> 2010-10-06 17:42:09 [3517] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK >> 2010-10-06 17:42:09 [3517] [6] DEBUG: AT2[/dev/ttyS1]: --> ATI^M >> 2010-10-06 17:42:09 [3517] [6] DEBUG: AT2[/dev/ttyS1]: <-- coM.s.a.t. ISDN >> Plus, Version 4.3.5 >> 2010-10-06 17:42:09 [3517] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK >> 2010-10-06 17:42:09 [3517] [6] PANIC: Where are the modem definitions ?!?! >> 2010-10-06 17:42:09 [3517] [6] PANIC: /usr/sbin/bearerbox(gw_panic+0x101) >> [0x80c60f1] >> 2010-10-06 17:42:09 [3517] [6] PANIC: /usr/sbin/bearerbox [0x8064ffb] >> 2010-10-06 17:42:09 [3517] [6] PANIC: /usr/sbin/bearerbox [0x806b3d5] >> 2010-10-06 17:42:09 [3517] [6] PANIC: /usr/sbin/bearerbox [0x80bd3b0] >> >> kannel.conf: >> group = smsc >> smsc = at >> modemtype = auto >> device = /dev/ttyS1 >> speed = 19200 >> >> I know from the manufacture that I can send a sms via terminal with >> at$smssend=<channel>,”<number>”,”<text>”<enter> >> >> for example: at$smssend=1,”+43660303030”,”Hello here I am!” >> >> regards >> Martin >> >> >> -----Ursprüngliche Nachricht----- >> Von: Alvaro Cornejo [mailto:[email protected]] >> Gesendet: Mittwoch, 06. Oktober 2010 16:56 >> An: Martin >> Cc: [email protected] >> Betreff: Re: Siemens TC35i built in coM.sat ISDN Plus 2 >> >> Kannel uses "drivers" to talk to smsc's. The main drivers it has is >> SMPP and AT commands. If your modem suports it you just need to >> configure kannel with the specific driver for your equipment. >> >> The TC35 is(was?) a serial modem. So you should be able to connect to >> it with the AT driver. However I don't know how do you phisically >> conect to the device. Kannel AT driver uses dev/ttyxxx for defining >> the output physical port; therefore you need to verify that your OS >> does map each modem to a dev/ttyxxx sp you can configure that device >> in kannel. >> >> Hope helps >> >> Alvaro >> >> >> > |--------------------------------------------------------------------------- >> --------------------------------------| >> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier >> celular y Nextel >> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via >> SMS y GPRS online >> Visitenos en www.perusms.NET www.smsglobal.com.mx y >> www.pravcom.com >> >> >> >> On Wed, Oct 6, 2010 at 6:04 AM, Martin <[email protected]> wrote: >>> Hello! >>> >>> >>> >>> I´ve a little problem to get kannel work on my debian. >>> >>> I´ve a coM.sat ISDN Plus 2 which have two TC35i built in, I only wanna > use >>> channel 1 with one sim card. I´ve tested the comsat device with the >> software >>> originally shipped with and especially sms works fine. So now I don’t > have >>> any idea how I can get it to work with kannel – maybe someone of you can >>> help me! >>> >>> >>> >>> German information about the comsat device can be found at >>> http://www.comsat.de/DE/GSM-Gateway/ISDN/ISDN-Plus-2-Kanal.htm >>> >>> >>> >>> Regards Martin >>> >>> >> >> >> > > >
