Hi! Sorry but I can't find any information in the UG which describes either my problem or help me solving my problem! So please rewrite it not for me but for other users who may have in future a com.s.a.t device!
Martin -----Ursprüngliche Nachricht----- Von: Nikos Balkanas [mailto:[email protected]] Gesendet: Donnerstag, 07. Oktober 2010 15:08 An: Martin; 'Alvaro Cornejo' Cc: [email protected] Betreff: Re: Siemens TC35i built in coM.sat ISDN Plus 2 Once again. Please read UG. It details all these issues. Don't expect us to rewrite it here, just for you. BR, Nikos ----- Original Message ----- From: "Martin" <[email protected]> To: "'Alvaro Cornejo'" <[email protected]> Cc: <[email protected]> Sent: Thursday, October 07, 2010 12:10 PM Subject: AW: Siemens TC35i built in coM.sat ISDN Plus 2 Hi! CMEE=1 or 2 should be the init string correct? I tried both but only get a generic error - maybe kannel is not talking to one of the two built in TC35i. Logfile: 2010-10-07 10:30:49 [2739] [6] DEBUG: AT2[/dev/ttyS1]: --> AT+CMEE=2^M 2010-10-07 10:30:49 [2739] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK 2010-10-07 10:30:49 [2739] [6] INFO: AT2[/dev/ttyS1]: AT SMSC successfully opened. 2010-10-07 10:30:59 [2739] [6] DEBUG: AT2[/dev/ttyS1]: <-- ERROR 2010-10-07 10:30:59 [2739] [6] ERROR: AT2[/dev/ttyS1]: Generic error: ERROR Is there some information available how to "write/build" a new "driver"? I think the main problem is that the comsat device isn’t built to be a sms gateway - yes it can send sms via rs232 but normally it is used to be a 2 channel ISDN <-> GSM Gateway - so I think I'm talking only to the main board with this AT commands and not directly with one of the two TC35 modules. The TC35i are no boxes - they are industrial style - no power or rs232 plug only pcb with flat cable and antenna so I think its not possible to disasamble the comsat device for only use one TC35i module :( Regards Martin -----Ursprόngliche Nachricht----- Von: Alvaro Cornejo [mailto:[email protected]] Gesendet: Mittwoch, 06. Oktober 2010 23:45 An: Martin Cc: [email protected] Betreff: Re: Siemens TC35i built in coM.sat ISDN Plus 2 Martin For the error you get with the modem use CMEE=1 or 2 to have the modem display detailed error message. About smsbox not showing/running: kannel is composed of 3 programs: bearerbox, smsbox and wapbox. All 3 uses the same config file but need to be run separately: bearerbox path/kannel.conf [A must. must be the first to be executed] smsbox. path/kannel.conf [http interface. needs bearerbox running] wapbox path/kannel.conf [only needed for wap messaging. Needs bearerbox running] Check the manual for running options and details 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 3:48 PM, Martin <[email protected]> wrote: > Thanks you very much, Alvaro Cornejo, for the hint about the PIN which is > now disabled and I think I've configured nearly everything I need. > But if I understand kannel correct I should be able to connect to the > sendsms-port via browser (IE, FF, ...) > But the port won't be opened when I look with netstat on the kannel host I > only see > admin-port = 13000 and smsbox-port = 13011 tcp and 9200 and 9201 as udp are > open > > Logfile: > 2010-10-06 22:17:39 [3242] [6] INFO: AT2[/dev/ttyS1]: opening device > 2010-10-06 22:17:39 [3242] [6] DEBUG: AT2[/dev/ttyS1]: device opened > 2010-10-06 22:17:40 [3242] [6] DEBUG: AT2[/dev/ttyS1]: device opened > 2010-10-06 22:17:40 [3242] [6] INFO: AT2[/dev/ttyS1]: init device > 2010-10-06 22:17:40 [3242] [6] INFO: AT2[/dev/ttyS1]: speed set to 19200 > 2010-10-06 22:17:40 [3242] [6] DEBUG: AT2[/dev/ttyS1]: --> ATZ^M > 2010-10-06 22:17:40 [3242] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 22:17:40 [3242] [6] DEBUG: AT2[/dev/ttyS1]: --> AT^M > 2010-10-06 22:17:40 [3242] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 22:17:40 [3242] [6] DEBUG: AT2[/dev/ttyS1]: --> AT&F^M > 2010-10-06 22:17:41 [3242] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 22:17:41 [3242] [6] DEBUG: AT2[/dev/ttyS1]: --> ATE0^M > 2010-10-06 22:17:41 [3242] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 22:17:41 [3242] [6] DEBUG: AT2[/dev/ttyS1]: --> AT\Q3^M > 2010-10-06 22:17:41 [3242] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 22:17:41 [3242] [6] DEBUG: AT2[/dev/ttyS1]: --> AT+CMGF=0^M > 2010-10-06 22:17:41 [3242] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 22:17:41 [3242] [6] DEBUG: AT2[/dev/ttyS1]: --> AT+CSMS=?^M > 2010-10-06 22:17:41 [3242] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 22:17:41 [3242] [6] DEBUG: AT2[/dev/ttyS1]: --> > AT+CNMI=1,2,0,1,1^M > 2010-10-06 22:17:41 [3242] [6] DEBUG: AT2[/dev/ttyS1]: <-- OK > 2010-10-06 22:17:41 [3242] [6] INFO: AT2[/dev/ttyS1]: AT SMSC successfully > opened. > 2010-10-06 22:17:51 [3242] [6] DEBUG: AT2[/dev/ttyS1]: <-- ERROR > 2010-10-06 22:17:51 [3242] [6] ERROR: AT2[/dev/ttyS1]: Generic error: ERROR > > Kannel.conf > > group = core > admin-port = 13000 > admin-password = pwd > admin-deny-ip = "" > admin-allow-ip = "*.*.*.*" > smsbox-port = 13011 > wdp-interface-name = "*" > log-file = "/var/log/kannel/bearerbox.log" > box-deny-ip = "" > box-allow-ip = "*.*.*.*" > > group = smsc > smsc = at > modemtype = siemens-tc35 > device = /dev/ttyS1 > speed = 19200 > > group = smsbox > bearerbox-host = localhost > sendsms-port = 13013 > sendsms-chars = "0123456789 " > access-log = "kannel.access" > log-file = "smsbox.log" > log-level = 0 > > group = sendsms-user > username = sms > password = pwd4sms > > group = modems > id = siemens_tc35 > name = "Siemens TC35" > detect-string = "coM" > init-string = "AT+CNMI=1,2,0,1,1" > speed = 19200 > no-pin = true > enable-hwhs = "AT\\Q3" > need-sleep = true > > regards > Martin > > -----Ursprόngliche Nachricht----- > Von: Alvaro Cornejo [mailto:[email protected]] > Gesendet: Mittwoch, 06. Oktober 2010 19:30 > An: Martin > Cc: [email protected] > Betreff: Re: Siemens TC35i built in coM.sat ISDN Plus 2 > > 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 >>>> >>>> >>> >>> >>> >> >> >> > >
