Check your settings/config .... 

This may be half relevant? 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02313.html
 
> Initially I tried the "no-pin=true" in my modem settings. This didn't seem to work.
>
> I added a pin to my phone and then added a pin entry into my config file and now 
> everything works

[*chomp*]

>
> 2004-05-12 15:52:29 [5] DEBUG: AT2[S55]: --> AT+CMGS=44^M
> 2004-05-12 15:52:29 [5] DEBUG: AT2[S55]: <-- >
> 2004-05-12 15:52:29 [5] DEBUG: AT2[S55]: send command status: 1
> 2004-05-12 15:52:29 [5] DEBUG: AT2[S55]: -->  
> 0031000A8106848179470000A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C765 
> 105CFEB6A7C965B90F
> 2004-05-12 15:52:29 [5] DEBUG: AT2[S55]: --> ^Z
> 2004-05-12 15:52:50 [5] DEBUG: AT2[S55]: send command status: -1

It could be different for different versions of kannel.
It could be other settings too?

What phone are you using and what config are you using for that phone and
is all okay there?  An AT commandset manual for the phone you use
would be a useful thing to try and find. check CNMI string and others .....

James.

On Thu, Sep 02, 2004 at 09:00:15AM +0000, Miguel Costa wrote:
> Hello,
> 
> I want to send a sms to a celular phone, however, an error occur always 
> when I try: "send command status: -1"
> I don't understand what is the problem.
> Can anybody help me?
> 
> Tks
> 
> -- Miguel Costa
> 
> 
> 004-09-02 08:53:57 [21762] [3] INFO: sendsms used by <fastaccess>
> 2004-09-02 08:53:57 [21762] [3] INFO: sendsms sender:<fastaccess:13013> 
> (127.0.0.1) to:<351962538289> msg:<miguel>
> 2004-09-02 08:53:57 [21762] [3] DEBUG: message length 6, sending 1 messages
> 2004-09-02 08:53:57 [21762] [3] DEBUG: Status: 202 Answer: <Sent.>
> 2004-09-02 08:53:57 [21762] [3] DEBUG: HTTP: Resetting HTTPClient for 
> `127.0.0.1'.
> 2004-09-02 08:53:57 [21753] [8] DEBUG: boxc_receiver: sms received
> 2004-09-02 08:53:57 [21753] [8] DEBUG: send_msg: sending msg to box: 
> <127.0.0.1>
> 2004-09-02 08:53:59 [21753] [6] DEBUG: AT2[MODEM]: TP-Validity-Period: 
> 24.0 hours
> 2004-09-02 08:53:59 [21753] [6] DEBUG: AT2[MODEM]: --> AT+CMGS=20^M
> 2004-09-02 08:53:59 [21753] [6] DEBUG: AT2[MODEM]: <-- >
> 2004-09-02 08:53:59 [21753] [6] DEBUG: AT2[MODEM]: send command status: 1
> 2004-09-02 08:53:59 [21753] [6] DEBUG: AT2[MODEM]: --> 
> 0011000C815391263528980000A706EDF4B95E6603
> 2004-09-02 08:53:59 [21753] [6] DEBUG: AT2[MODEM]: --> ^Z
> 2004-09-02 08:54:01 [21753] [6] DEBUG: AT2[MODEM]: <-- >
> 2004-09-02 08:54:01 [21753] [6] DEBUG: AT2[MODEM]: <-- ERROR
> 2004-09-02 08:54:01 [21753] [6] DEBUG: AT2[MODEM]: send command status: -1
> 2004-09-02 08:54:01 [21753] [6] DEBUG: AT2[MODEM]: --> AT+CMGS=20^M
> 2004-09-02 08:54:01 [21753] [6] DEBUG: AT2[MODEM]: <-- >
> 2004-09-02 08:54:01 [21753] [6] DEBUG: AT2[MODEM]: send command status: 1
> 2004-09-02 08:54:01 [21753] [6] DEBUG: AT2[MODEM]: --> 
> 0011000C815391263528980000A706EDF4B95E6603
> 2004-09-02 08:54:02 [21753] [6] DEBUG: AT2[MODEM]: --> ^Z
> 2004-09-02 08:54:06 [21753] [6] DEBUG: AT2[MODEM]: <-- >
> 2004-09-02 08:54:06 [21753] [6] DEBUG: AT2[MODEM]: <-- ERROR
> 2004-09-02 08:54:06 [21753] [6] DEBUG: AT2[MODEM]: send command status: -1
> 2004-09-02 08:54:06 [21753] [6] DEBUG: AT2[MODEM]: --> AT+CMGS=20^M
> 2004-09-02 08:54:06 [21753] [6] DEBUG: AT2[MODEM]: <-- >
> 2004-09-02 08:54:06 [21753] [6] DEBUG: AT2[MODEM]: send command status: 1
> 2004-09-02 08:54:06 [21753] [6] DEBUG: AT2[MODEM]: --> 
> 0011000C815391263528980000A706EDF4B95E6603
> 2004-09-02 08:54:07 [21753] [6] DEBUG: AT2[MODEM]: --> ^Z
> 2004-09-02 08:54:09 [21753] [6] DEBUG: AT2[MODEM]: <-- >
> 2004-09-02 08:54:09 [21753] [6] DEBUG: AT2[MODEM]: <-- ERROR
> 2004-09-02 08:54:09 [21753] [6] DEBUG: AT2[MODEM]: send command status: -1
> 2004-09-02 08:54:58 [21762] [1] DEBUG: HTTP: Destroying HTTPClient area 
> 0x92ceab8.
> 2004-09-02 08:54:58 [21762] [1] DEBUG: HTTP: Destroying HTTPClient for 
> `127.0.0.1'.

Reply via email to