I faced something similar once,

Check smsbox.log , look at sender's phone number it
should be +436643918269 
check if kannel replaced the sign "+" to something
else 
then use unified-prefix to fix it 

I just fixed my problem like this, i dont know if this
is suitable for you

Nick



--- Oded Arbel <[EMAIL PROTECTED]> wrote:
> Tampier Thomas wrote:
> 
> >Hi list
> >
> >my kannel is unstabke in terms of send sms from php
> srcipts.. my scripts 
> >are called by a sms-service from kannel and i use
> "echo" to reply to the 
> >SMS-Devices... My problem is, that each time i try
> to send a sms i get an 
> >ERROR -> and sometimes the SMS is sent, sometimes
> not. I use a Siemens 
> >TC35 as SMS center. i use cvs-20020618 version of
> kannel.
> >does anybody know whats the problem?
> >
> >thx in advance
> >T
> >
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]: <--
> +CMT: ,23
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]: <--
>
>069134660405F1040C91346634192896000020700112544348044AB55A0D
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]:
> >Numeric sender (international) <+436643918269>
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]: -->
> AT+CNMA^M
> >2002-07-10 21:51:44 [8] DEBUG: boxc_sender: sent
> message to <127.0.0.1>
> >2002-07-10 21:51:44 [7] DEBUG: boxc_receiver: got
> ack
> >2002-07-10 21:51:44 [7] DEBUG: boxc_receiver: sms
> received
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]: <--
> OK
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]:
> international starting with + (+436643918269)
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]:
> TP-Validity-Period: 24.0 hours
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]: -->
> AT+CMGS=38^M
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]: <--
> >
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]:
> send command status: 1
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]: -->
>
>0011000C913466341928960000A71BC2349D5E06C9CBE7F49C2E4F97E56537689A2E83E6E9311A
> >2002-07-10 21:51:44 [5] DEBUG: AT2[/dev/ttyS0]: -->
> ^Z
> >2002-07-10 21:51:45 [5] DEBUG: AT2[/dev/ttyS0]: <--
> >
> >2002-07-10 21:51:45 [5] DEBUG: AT2[/dev/ttyS0]: <--
> ERROR
> >2002-07-10 21:51:45 [5] DEBUG: AT2[/dev/ttyS0]:
> send command status: -1
> >2002-07-10 21:51:45 [5] DEBUG: AT2[/dev/ttyS0]: -->
> AT+CMGS=38^M
> >2002-07-10 21:51:45 [5] DEBUG: AT2[/dev/ttyS0]: <--
> >
> >2002-07-10 21:51:45 [5] DEBUG: AT2[/dev/ttyS0]:
> send command status: 1
> >2002-07-10 21:51:45 [5] DEBUG: AT2[/dev/ttyS0]: -->
>
>0011000C913466341928960000A71BC2349D5E06C9CBE7F49C2E4F97E56537689A2E83E6E9311A
> >2002-07-10 21:51:45 [5] DEBUG: AT2[/dev/ttyS0]: -->
> ^Z
> >2002-07-10 21:51:48 [5] DEBUG: AT2[/dev/ttyS0]: <--
> >
> >2002-07-10 21:51:48 [5] DEBUG: AT2[/dev/ttyS0]: <--
> +CMGS: 140
> >2002-07-10 21:51:48 [5] DEBUG: AT2[/dev/ttyS0]: <--
> OK
> >2002-07-10 21:51:48 [5] DEBUG: AT2[/dev/ttyS0]:
> send command status: 0            
> >
>
>__________________________________________________________________
> >
> >
> >
> >  
> >
> This looks ok - the message was sent successfuly,
> eventually. what 
> happens is that when you deliver an MT to the AT2
> module, it attempts to 
> send it to the modem. sometime, for various reasons,
> the modem will 
> reject the MT, in which case the driver will try
> again until it either 
> succeeds or fails 3 times. in the logs here you can
> see a message that 
> was tried once, failed, tried again and sent
> successfuly the second time.
> 
> -- 
> Oded Arbel
> m-Wise mobile solutions
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

Reply via email to