I will appreciate anyone's help on this error trying to send a msg through
a sierra airbus 881. Error 404 Answer Unknown Request, I have tried
extensively and I get this answer no matter what I send to sendsms.  I am
surprised since the drivers to read the airbus card work well, and
bearerbox loads well too.. I am beginning to think it is the modem not
setup to send sms messages?...

Of course, not without protesting a bit here for the very scarce
documentation there is on the sendsms option, and the description of its
parameters.  Kannel guys, please, beautiful program, I know that we
developers ought to research the documentation and the archives, but
pleeease, a small paragraph describing the sendsms command and its
parameters will save a good half a day of hacking. :)

Please help,

As you can see in the following, the AT command set of the sierra card
responds well:

2010-01-21 18:08:11 [14917] [6] INFO: AT2[sierra]: init device
2010-01-21 18:08:11 [14917] [6] INFO: AT2[sierra]: speed set to 9600
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: --> ATZ^M
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: <-- OK
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: --> AT^M
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: <-- OK
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: --> AT&F^M
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: <-- OK
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: --> ATE0^M
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: <-- OK
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: --> AT+IFC=2,2^M
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: <-- OK
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: --> AT+CPIN?^M
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: <-- +CPIN: READY
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: <-- OK
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: --> AT+CMGF=0^M
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: <-- OK
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: --> AT+CSMS=?^M
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: <-- OK
2010-01-21 18:08:11 [14917] [6] DEBUG: AT2[sierra]: -->
AT+CGDCONT=1,"IP","proxy"^M
2010-01-21 18:08:12 [14917] [6] DEBUG: AT2[sierra]: <-- OK
2010-01-21 18:08:12 [14917] [6] INFO: AT2[sierra]: AT SMSC successfully
opened.

----> this is the smssierra.conf card

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = foobar
status-password = foobar
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "/tmp/access.log"

group = smsc
smsc = at
smsc-id = sierra
device = /dev/ttyUSB0
speed = 9600
modemtype = auto

group = modems
id = sierra
name = "Sierra Wireless, Inc. XX881 Device"
detect-string = "Sierra Wireless, Inc."
init-string = AT+CGDCONT=1,"IP","proxy"

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"

---------> lynx command:
lynx -dump
"http://localhost:13013/sendsms?username=tester&password=foobar&to=1xxxxxxx&text=hello&from=6543210";

Guys, many thanks
CS




Reply via email to