Hello, Does someone got similar issue ?
Regards -----Original Message----- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of info.ubichip Sent: lundi 15 février 2010 13:49 To: users@kannel.org Subject: Using Portech modem Hello All, I would like to use a portech GSM gateway MV-370 on a kannel 1.4.3 version, I'm able to send basic sms by hand using telnet as the following example : Telnet 192.168.1.121 username:voip password:**** User level = admin Command : logout,module,module1,module2 >module Getting module 1.. Got!! Press 'ctrl-x' to release module 1. at+cmgf=1 OK At+cmgs="1122334455" >test +CMGS:30 So I make a configuration in kannel as follow : group = smsc smsc = at smsc-id = portech allowed-smsc-id = portech log-level = 0 log-file = "/var/log/kannel/portech.log" device = telnet host = 192.168.1.121 port = 23 login-prompt = "username:" password-prompt = "password:" smsc-username = "voip" smsc-password = "1234" modemtype = portech validityperiod = 172 keepalive = 10 my-number = 0012345678 sim-buffering = true I got the following error, it is like the telnet session is not initialized correctly : 2010-02-15 13:43:50 [32013] [8] INFO: AT2[portech]: trying to use speed <115200> from modem definition 2010-02-15 13:43:50 [32013] [8] INFO: AT2[portech]: opening device 2010-02-15 13:43:50 [32013] [8] DEBUG: Connecting to <192.168.1.121> 2010-02-15 13:43:50 [32013] [8] DEBUG: AT2[portech]: device opened. Telnet mode = 1 2010-02-15 13:43:50 [32013] [8] DEBUG: AT2[portech]: --> ^M 2010-02-15 13:43:52 [32013] [8] DEBUG: AT2[portech]: --> AT^M 2010-02-15 13:43:57 [32013] [8] DEBUG: AT2[portech]: <-- username: AT 2010-02-15 13:44:03 [32013] [8] DEBUG: AT2[portech]: --> AT^M 2010-02-15 13:44:08 [32013] [8] DEBUG: AT2[portech]: <-- password: ** 2010-02-15 13:44:08 [32013] [8] DEBUG: AT2[portech]: <-- bad username or password!!! 2010-02-15 13:44:08 [32013] [8] DEBUG: AT2[portech]: <-- exit... 2010-02-15 13:44:12 [32013] [8] DEBUG: AT2[portech]: --> AT^M 2010-02-15 13:44:21 [32013] [8] INFO: AT2[portech]: Closing device 2010-02-15 13:44:21 [32013] [8] INFO: AT2[portech]: speed in modem definition don't work, will autodetect Does someone got similar issue with this type of modem ? My second question is : as you could see after the telnet connection, I have to specify the command 'module' to get full access to the AT command of the modem, does there is a way to put it in the init-string in the modem definition ? If yes how to send a carriage return in the init-string parameter (I have already some AT+CNMI....' command to process. Thanks in advance for your help