Few more datapoints missed to furnish: # Kannel bearerbox version `1.4.3'. # OS in which this setup is running: 12.04.1 LTS, Precise Pangolin
On Sat, Jan 26, 2013 at 8:02 AM, Ganesh Kondal <[email protected]>wrote: > Hello Kannel Users: > > First of all thank you for all your questions/answers, cause of which I > could learn / use Kannel in Production for the past 2 years. > > *Setup & Problem Faced:* > # Recently we added a new Vodafone postpaid SIM card in a wavecom modem > # After receiving SMSs for a while (may be few hours or few days) - we get > the " CMTI notification received, but no message found in memory!" error > # Once we receive this - "got +CMT but pdu_extract failed" message > follows. > # Next to that we see 'Generic ERROR' messages being printed in the modem > log & the modem stops receiving SMS > # Modem details: > - Wavecom fastrack modem > - model : WM16919 > > > *Tries done & cron (temp fix)* > a) I have tried adding sim-buffering=true > b) CNMI indicator in the init-string > c) Now, there is a cron job that looks for this issue & restarts the > bearerbox / sms box whenever the 'no message found in memory!' is seen. > > *Question* > 1) Why is this error thrown " CMTI notification received, but no message > found in memory!" > Any help or suggestion to resolve this is deeply appreciated. > > > Thank you. > Ganesh > > > *Kannel Configuration Used:* > ================================= > # group=core defined first. > .. > > # wavecom 0 - 2 modems are connected. > group = smsc > smsc = at > smsc-id=wavecom0 > denied-smsc-id=wavecom1 > modemtype = wavecom > device = /dev/ttyUSB0 > speed = 115200 > #pin = > > # wavecom 1 > group = smsc > smsc = at > smsc-id=wavecom1 > denied-smsc-id=wavecom0 > modemtype = wavecom > device = /dev/ttyUSB1 > speed = auto > #speed = auto -- auto detected the speed as 115200 > log-level=0 > log-file =/var/log/kannel/wavecom1.log > sim-buffering=true > sms-center=+919884005444 > > ###################### > ### MODEM TYPE > ###################### > group = modems > id = wavecom > name = wavecom > detect-string = "WAVECOM" > init-string="AT+CNMI=2,2,0,0,0;+CMEE=1" > > > ###################### > ### SMS BOX SETUP > ### > ###################### > group = smsbox > bearerbox-host = localhost > sendsms-port = 13013 > sendsms-chars = 0123456789 > global-sender = 9789111273 > access-log=/var/log/neroor/kannel/smsboxAccess.log > log-file=/var/log/neroor/kannel/smsboxLogFile.log > log-level = 0 > > group = sendsms-user > username= foo > password= bar > max-messages = 10 > concatenation = true > > > group = sms-service > accepted-smsc=wavecom1 > keyword = > max-messages=0 > get-url = "application url defined here" > > group = sms-service > accepted-smsc=wavecom0 > keyword = > max-messages=0 > get-url = "application url defined here" > > > *modem log* > *==========* > > 2013-01-25 18:08:20 [5297] [7] DEBUG: AT2[wavecom1]: <-- +CMTI: "SM",1 > 2013-01-25 18:08:20 [5297] [7] DEBUG: AT2[wavecom1]: +CMTI incoming SMS > indication: +CMTI: "SM",1 > 2013-01-25 18:08:21 [5297] [7] INFO: AT2[wavecom1]: CMTI received, but no > message-storage is set in confiuration.setting now to <SM> > 2013-01-25 18:08:21 [5297] [7] INFO: System error 2: No such file or > directory > 2013-01-25 18:08:21 [5297] [7] DEBUG: AT2[wavecom1]: --> AT+CPMS="SM"^M > 2013-01-25 18:08:21 [5297] [7] DEBUG: AT2[wavecom1]: <-- AT+CPMS="SM" > 2013-01-25 18:08:21 [5297] [7] DEBUG: AT2[wavecom1]: <-- +CPMS: 1,25,1,25 > 2013-01-25 18:08:21 [5297] [7] DEBUG: AT2[wavecom1]: <-- OK > 2013-01-25 18:08:21 [5297] [7] DEBUG: AT2[wavecom1]: --> AT+CMGR=1^M > 2013-01-25 18:08:21 [5297] [7] DEBUG: AT2[wavecom1]: <-- AT+CMGR=1 > 2013-01-25 18:08:21 [5297] [7] DEBUG: AT2[wavecom1]: <-- +CMGR: "REC > UNREAD","+919443542654",,"13/01/25,18:08:22+22" > 2013-01-25 18:08:21 [5297] [7] DEBUG: AT2[wavecom1]: <-- SUB 28 NITHILA > 2744 > 2013-01-25 18:08:21 [5297] [7] ERROR: AT2[wavecom1]: got +CMT but > pdu_extract failed > 2013-01-25 18:08:21 [5297] [7] DEBUG: AT2[wavecom1]: <-- OK > 2013-01-25 18:08:21 [5297] [7] DEBUG: AT2[wavecom1]: not deleted. > 2013-01-25 18:08:21 [5297] [7] ERROR: AT2[wavecom1]: CMTI notification > received, but no message found in memory! > 2013-01-25 18:08:21 [5297] [7] ERROR: System error 1: Operation not > permitted > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: --> AT+CPMS?^M > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: <-- AT+CPMS? > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: <-- +CPMS: > "SM",1,25,"SM",1,25 > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: <-- OK > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: 1 messages waiting in > memory > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: --> AT+CMGR=1^M > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: <-- AT+CMGR=1 > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: <-- +CMGR: "REC > READ","+9194433322222",,"13/01/25,18:08:22+22" > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: <-- Test Message here > 2013-01-25 18:08:29 [5297] [7] ERROR: AT2[wavecom1]: got +CMT but > pdu_extract failed > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: <-- OK > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: not deleted. > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: --> AT+CMGR=2^M > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: <-- AT+CMGR=2 > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: <-- ERROR > 2013-01-25 18:08:29 [5297] [7] ERROR: AT2[wavecom1]: Generic error: ERROR > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: failed to get message > 2. > 2013-01-25 18:08:29 [5297] [7] DEBUG: AT2[wavecom1]: --> AT+CMGR=3^M > >
