sendsms.php is your own dev??? Check kannel documentation to see the correct
syntax for kannel sendsms
|-----------------------------------------------------------------------------------------------------------------|
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 15, 2008 at 1:54 PM, Carlos Ruiz Diaz <[EMAIL PROTECTED]
> wrote:
> Hello.
> I've downloaded and installed minicom to test the mobile connection
> and after all I get connected and now I stop receiving the error but I
> can't send any messages :S. Unknow request said the sendsms.php
> script.
>
> On Wed, Oct 15, 2008 at 11:57 AM, Alvaro Cornejo
> <[EMAIL PROTECTED]> wrote:
> > Hi Carlos
> >
> > Your problem is not related to your phone number but the connection with
> > the device. Try to connect to the device using another terminal program
> > such as minicom or cu.
> >
> >
> > On Wed, 2008-10-15 at 11:05 -0400, Carlos Ruiz Diaz wrote:
> >> Hello all.
> >> I am new in kannel but once I started it keeps very busy :) .
> >> I am testing the gateway and when I ran bearerbox I get the following
> >> error again and again:
> >>
> >> 2008-10-15 10:41:50 [6373] [6] DEBUG: AT2[/dev/rfcomm0]: <-- ERROR
> >> 2008-10-15 10:41:50 [6373] [6] ERROR: AT2[/dev/rfcomm0]: Generic error:
> ERROR
> >> 2008-10-15 10:41:50 [6373] [6] ERROR: AT2[/dev/rfcomm0]: Opening
> >> failed. Terminating
> >>
> >> When i first configure it I use the system device /dev/ttyACM0 but i
> >> replaced it with a bluetooth connection trough /dev/rfcomm0.
> >> My phone is a nokia n80 and i am pretty sure that it's working fine.
> >>
> >> The following conf snippet is /etc/kannel.conf:
> >>
> >> include = "/usr/src/gateway-1.4.1/doc/examples/modems.conf"
> >>
> >> group = core
> >> admin-port = 13000
> >> smsbox-port = 13001
> >> admin-password = test
> >> #log-file = "/tmp/kannel.log"
> >> #log-level = 0
> >> box-deny-ip = "*.*.*.*"
> >> box-allow-ip = "127.0.0.1"
> >>
> >> group = smsc
> >> smsc = at
> >> modemtype = auto
> >> #modemtype = nokia-n80
> >> #device=/dev/ttyACM0
> >> device=/dev/rfcomm0
> >> my-number = +595981xxxxxx #I remove part of the number
> >> sms-center = +595981yyyyyy #I remove part of the number
> >> connect-allow-ip = 127.0.0.1
> >> log-level = 0
> >>
> >> group = smsbox
> >> bearerbox-host = 127.0.0.1
> >> sendsms-port = 13013
> >> global-sender = +595981xxxxxx
> >> log-level = 0
> >>
> >> group = sendsms-user
> >> username = tester
> >> password = test
> >> concatenation= true
> >> max-messages = 10
> >>
> >> group = sms-service
> >> keyword =
> >> keyword-regex = .*
> >> catch-all = yes
> >> max-messages = 0
> >> get-url = "http://localhost/sms?phone=%p&text=%a"
> >>
> >>
> >> I don't know exactly how is the format of my-number. I guess that is
> >> "+" + DDI + operator-prefix + user-number.
> >>
> >> Thanks in advance. Any help will be highly appreciated!
> >>
> >
> >
>