Hi Nikos Thanks for the information. I have added the reset-string but its the same problem, please take a look on my configuration and my log bearbox attached bellow. http://old.nabble.com/file/p28387463/smskannel.conf smskannel.conf http://old.nabble.com/file/p28387463/logkannel logkannel Best regards -- Arway Taha System Engineer S.A.R.L. Alpha ENGINEERING - Tunisia Résidence El Habib, Les Berges du Lac 1053 Tunis | URL : www.alpha-engineering.net | Tel : +216 71 96 49 06 | Fax : +216 71 96 41 53 | Mob : +216 26 77 31 51 | Gtalk : [email protected]
Nikos Balkanas wrote: > > Hi, > > ^Z throws an error. This corresponds to reset string. You need to > configure > it in your modems group. Please read User's guide about it. > > BR, > Nikos > ----- Original Message ----- > From: "arway" <[email protected]> > To: <[email protected]> > Sent: Wednesday, April 28, 2010 12:39 PM > Subject: Generic error: ERROR > > > > Hello > > I have the same problem like you, im bloked, please tell mee if you have > solved this problem. > When i try to send sms with bearerbox and sendsms i have this generic > error. > My GSM modem is an usb siemens mc35 mounted on /dev/ttyACM0 > > Thanks > Best Regards.. > > > > Drew Stockler wrote: >> >> This mornig I was getting this error in the bearerbox log. It was because >> I had modemtype = wavecom. I changed it to auto and I was able to send my >> first text messages. I then saved that config file and started working a >> config file that would include dlr storage in mysql. That didnt go to >> well >> so i reverted back to the config file that worked. However I started to >> get this error again.Β It just repeats. Everything seems to connect >> correctly until i send a message. the username and passwords are marked >> out but they are correct in the config file and the url. >> >> http://localhost:13004/cgi-bin/sendsms?username=*****&password=****&to=4043078165&text=test >> >> DEBUG: boxc_receiver: sms received >> 2009-01-06 15:20:35 [7358] [13] DEBUG: send_msg: sending msg to box: >> <127.0.0.1> >> 2009-01-06 15:20:37 [7358] [6] DEBUG: AT2[/dev/ttyS0]: >> TP-Validity-Period: >> 24.0 hours >> 2009-01-06 15:20:37 [7358] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=17^M >> 2009-01-06 15:20:37 [7358] [6] DEBUG: AT2[/dev/ttyS0]: <-- > >> 2009-01-06 15:20:37 [7358] [6] DEBUG: AT2[/dev/ttyS0]: send command >> status: 1 >> 2009-01-06 15:20:37 [7358] [6] DEBUG: AT2[/dev/ttyS0]: --> >> 0011000A8104347018560000A704F4F29C0E >> 2009-01-06 15:20:37 [7358] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z >> 2009-01-06 15:20:39 [7358] [6] DEBUG: AT2[/dev/ttyS0]: <-- > >> 2009-01-06 15:20:39 [7358] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR >> 2009-01-06 15:20:39 [7358] [6] ERROR: AT2[/dev/ttyS0]: Generic error: >> ERROR >> 2009-01-06 15:20:39 [7358] [6] DEBUG: AT2[/dev/ttyS0]: send command >> status: -1 >> 2009-01-06 15:20:39 [7358] [6] DEBUG: AT2[/dev/ttyS0]: --> AT+CMGS=17^M >> 2009-01-06 15:20:39 [7358] [6] DEBUG: AT2[/dev/ttyS0]: <-- > >> 2009-01-06 15:20:39 [7358] [6] DEBUG: AT2[/dev/ttyS0]: send command >> status: 1 >> 2009-01-06 15:20:39 [7358] [6] DEBUG: AT2[/dev/ttyS0]: --> >> 0011000A8104347018560000A704F4F29C0E >> 2009-01-06 15:20:40 [7358] [6] DEBUG: AT2[/dev/ttyS0]: --> ^Z >> 2009-01-06 15:20:42 [7358] [6] DEBUG: AT2[/dev/ttyS0]: <-- > >> 2009-01-06 15:20:42 [7358] [6] DEBUG: AT2[/dev/ttyS0]: <-- ERROR >> 2009-01-06 15:20:42 [7358] [6] ERROR: AT2[/dev/ttyS0]: Generic error: >> ERROR >> 2009-01-06 15:20:42 [7358] [6] DEBUG: AT2[/dev/ttyS0]: send command >> status: -1 >> >> Here is the config file >> >> # >> # Sample configuration file for Kannel bearerbox on Debian. >> # See the documentation for explanations of fields. >> # >> >> # HTTP administration is disabled by default. Make sure you set the >> # password if you enable it. >> >> group = core >> admin-port = 13000 >> admin-password = bar >> admin-deny-ip = "*.*.*.*" >> admin-allow-ip = "" >> smsbox-port = 13003 >> wdp-interface-name = "*" >> log-file = "/var/log/kannel/bearerbox.txt" >> log-level = 0 >> box-deny-ip = "*.*.*.*" >> box-allow-ip = "127.0.0.1" >> >> >> >> group = smsc >> smsc = at >> modemtype = auto >> device = /dev/ttyS0 >> my-number = 13124010078 >> sms-center =13123149810 >> connect-allow-ip = 127.0.0.1 >> >> >> >> group = sms-service >> keyword = >> keyword-regex = .* >> catch-all = yes >> max-messages = 0 >> get-url = "http://localhost/sms?phone=%p&text=%a" >> >> group = sendsms-user >> username = ******* >> password = **** >> max-messages = 10 >> concatenation = true >> >> group = smsbox >> bearerbox-host = 127.0.0.1 >> sendsms-port = 13004 >> global-sender = 3124010078 >> log-file = "/var/log/kannel/smsbox.txt" >> log-level = 0Β Β Β >> >> include= "/usr/share/doc/kannel/examples/modems.conf" >> >> >> >> >> >> >> > > -- > View this message in context: > http://old.nabble.com/AT2--dev-ttyS0-%3A-Generic-error%3A-ERROR-tp21319735p28367512.html > Sent from the Kannel - User mailing list archive at Nabble.com. > > > > > -- View this message in context: http://old.nabble.com/AT2--dev-ttyS0-%3A-Generic-error%3A-ERROR-tp21319735p28387463.html Sent from the Kannel - User mailing list archive at Nabble.com.
