Ok guys, After setting up AT + CMEE = 1 now I can see the error. It's ERROR 38, means network service provider is not available. That's because I ran out of credit of my calling card. After I refill the credit, I can send sms again.
However, I have 2 questions: 1. Kannel shows that it can receive sms, but it doesn't show in playsms inbox. DEBUG: AT2[astridosms]: Numeric sender (international) <+6281513003016> DEBUG: AT2[astridosms]: User data length read as (15) DEBUG: AT2[astridosms]: Udh decoding done len=15 udhi=0 udhlen=0 udh='' WARNING: smsbox_list empty! WARNING: smsbox_list empty! WARNING: smsbox_list empty! DEBUG: AT2[astridosms]: --> AT+CNMA^M DEBUG: AT2[astridosms]: <-- OK DEBUG: Started thread 9 (gw/bb_boxc.c:function) DEBUG: Thread 9 (gw/bb_boxc.c:function) maps to pid 3715. INFO: Client connected from <127.0.0.1> DEBUG: Started thread 10 (gw/bb_boxc.c:boxc_sender) DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) maps to pid 3715. DEBUG: send_msg: sending msg to box: <127.0.0.1> DEBUG: boxc_sender: sent message to <127.0.0.1> DEBUG: boxc_receiver: sms received DEBUG: send_msg: sending msg to box: <127.0.0.1> DEBUG: boxc_receiver: got ack DEBUG: Dumping 1 messages and 0 acks to store DEBUG: AT2[astridosms]: TP-Validity-Period: 24.0 hours DEBUG: AT2[astridosms]: --> AT+CMGS=46^M DEBUG: AT2[astridosms]: <-- > DEBUG: AT2[astridosms]: send command status: 1 DEBUG: AT2[astridosms]: --> 0011000D91261815033010F60000A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C765105CFEB6A7C965B90F DEBUG: AT2[astridosms]: --> ^Z DEBUG: AT2[astridosms]: <-- > DEBUG: AT2[astridosms]: <-- +CMGS: 142 DEBUG: AT2[astridosms]: <-- OK DEBUG: AT2[astridosms]: send command status: 0 DEBUG: boxc_receiver: heartbeat with load value 0 received Smsbox message: INFO: Starting to service <Test ke playsms> from <+6281513003016> to <1234> DEBUG: executing sms-service '/usr/local/bin/kannel_incoming 2006-02-13+09:55:41 %2B6281513003016 Test+ke+playsms' DEBUG: message length 35, sending 1 messages 2. It seems that when I receive sms, kannel/playsms will send a message to the sender: Empty reply from service provider. Why's that? I don't want it to send anything when it receives a sms. Thank you very much, Fajar On Monday 13 February 2006 07:38 am, adi wrote: > On Sun, Feb 12, 2006 at 07:29:16PM +0100, Stipe Tolj wrote: > > now, that's a good question. > > > > 1234 is interpreted here as the receiver for the MO message, hence your > > GSM modem device. I don't see where we put that number in as "default" or > > something. > > nope ... > > smsc_at.c: > > if (octstr_len(privdata->my_number)) { > message->sms.receiver = octstr_duplicate(privdata->my_number); > } else { > /* Put a dummy address in the receiver for now (SMSC requires * > one) */ message->sms.receiver = octstr_create_from_data("1234", 4); } > > > But this is obviously not the reason why the MT messages don't > > leave your modem. > > yes, as a matter of fact, whatever number we choose as my-number, it would > be always ignored by smsc. > > Regards, > > P.Y. Adi Prasaja -- Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial http://linux2.arinet.org 17:44:56 up 55 min, 2.6.15-1.1830_FC4 GNU/Linux Let's use OpenOffice. http://www.openoffice.org