you need to configure your modem to pass sms to kannel. Use CNMI
command for that in your init string. Check userguide & search mailing
list for details.

|-----------------------------------------------------------------------------------------------------------------|
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 Thu, Apr 7, 2011 at 3:06 PM, Randy Saborio
<[email protected]> wrote:
> Hi,
>
> I'm using Ubuntu 10.10 64 bits, Kannel 1.4.3-2 and a Huawei E226 modem. I'm
> able to send SMS using AT commands directly and HTTP interface too but I'm
> unable to receive SMS. Bearerbox and  smsbox doesn't show any activity when
> I sent an SMS to the modem's number. Here is my configuration:
>
> group = core
> admin-port = 13000
> admin-password = ****
> smsbox-port = 13003
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 0
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> store-type = spool
> store-location = "/var/lib/kannel/sms"
> unified-prefix="-,+XXX"
>
> group = smsc
> smsc = at
> smsc-id = he226
> modemtype = huawei_e226_00
> device = /dev/ttyUSB1
> my-number = "+XXXXXXXXXXX"
> pin = XXXX
> connect-allow-ip = 127.0.0.1
> sim-buffering = false
> log-file = "/var/log/kannel/he226.log"
> log-level = 0
>
> group = modems
> id = huawei_e226_00
> name = "Huawei E226"
> detect-string = "huawei"
> message-storage = SM
> speed = 460800
> no-pin = true
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13131
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
>
> group = sendsms-user
> username = XXXX
> password = XXXX
> user-deny-ip = "*.*.*.*"
> user-allow-ip = "127.0.0.1"
>
> group = sms-service
> keyword = help
> get-url =
> "http://localhost:8080/services/rest/?method=...&mobileNumber=%p&command=%s";
> accepted-smsc = he226
> omit-empty = true
> catch-all = true
>
>
> Any help will be REALLY appreciated.
> Thanks!
>
> Randy

Reply via email to