RE: kannel AT2 smsc problem

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
If your modem has problems connecting to the cellular network, then Kannel will try to send the message 3 times and if it fails it will be discarded. Writing retry mechanisms into Kannel will be an interesting endeavor, I think, but it will be problematic. how do you define how many times to retry ? what intervals ? it has to be different for each connection, maybe even different for different messages or different receivers. currently the application must handle the retrying if needed, which it does by registering for delivery reports (DLRs) and resends if it doesn't receive a 'delivery successful' report. It's probably good enough for most purposes, if only AT2 would support that. unfortunatly I have yet had time to finish up on DLR support for AT2. I do have code to do that for the 'submission un/successful' and can send you the patches if you like. by monitoring those two DLR events your application can tell if the message was submitted, or was it discarded and need to be resent.

--
Oded Arbel
m-Wise mobile solutions
[email protected]

+972-9-9581711
+972-67-340014

::..
"I saw a woman wearing a sweatshirt with "Guess" on it. I said, "Thyroid problem?"
	-- Arnold Schwarzenegger 




> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Wednesday, June 26, 2002 2:55 PM
> To: [email protected]
> Subject: kannel AT2 smsc problem
> 
> 
> 
> Hello!
> 
> Just I have got the following records in my log file. The 
> message doesn't
> sent to smsc (problem with network provider), but message 
> discarded and
> lost. May be it must retry later (then provider resolve the problem)?
> Thank You very much.
> 
> 2002-06-26 16:44:09 [10] DEBUG: boxc_receiver: sms received
> 2002-06-26 16:44:11 [8] DEBUG: AT2[MTSPH]: international 
> starting with +
> (+79036650526)
> 2002-06-26 16:44:11 [8] DEBUG: AT2[MTSPH]: 
> TP-Validity-Period: 24.0 hours
> 2002-06-26 16:44:11 [8] DEBUG: AT2[MTSPH]: --> AT+CMGS=18^M
> 2002-06-26 16:44:11 [8] DEBUG: AT2[MTSPH]: <-- AT+CMGS=18>
> 2002-06-26 16:44:11 [8] DEBUG: AT2[MTSPH]: send command status: 1
> 2002-06-26 16:44:11 [8] DEBUG: AT2[MTSPH]: -->
> 0011000B919730660525F60000A704F4F29C0E
> 2002-06-26 16:44:11 [8] DEBUG: AT2[MTSPH]: --> ^Z
> 2002-06-26 16:44:15 [8] DEBUG: AT2[MTSPH]: <-- >
> 0011000B919730660525F60000A704F4F29C0E
> 2002-06-26 16:44:15 [8] DEBUG: AT2[MTSPH]: <-- +CMS ERROR: 69
> 2002-06-26 16:44:15 [8] ERROR: AT2[MTSPH]: CMS ERROR: +CMS ERROR: 69
> 2002-06-26 16:44:15 [8] DEBUG: AT2[MTSPH]: send command status: 1
> 2002-06-26 16:44:15 [8] DEBUG: AT2[MTSPH]: --> AT+CMGS=18^M
> 2002-06-26 16:44:15 [8] DEBUG: AT2[MTSPH]: <-- AT+CMGS=18>
> 2002-06-26 16:44:15 [8] DEBUG: AT2[MTSPH]: send command status: 1
> 2002-06-26 16:44:15 [8] DEBUG: AT2[MTSPH]: -->
> 0011000B919730660525F60000A704F4F29C0E
> 2002-06-26 16:44:15 [8] DEBUG: AT2[MTSPH]: --> ^Z
> 2002-06-26 16:44:20 [8] DEBUG: AT2[MTSPH]: <-- >
> 0011000B919730660525F60000A704F4F29C0E
> 2002-06-26 16:44:20 [8] DEBUG: AT2[MTSPH]: <-- +CMS ERROR: 69
> 2002-06-26 16:44:20 [8] ERROR: AT2[MTSPH]: CMS ERROR: +CMS ERROR: 69
> 2002-06-26 16:44:20 [8] DEBUG: AT2[MTSPH]: send command status: 1
> 2002-06-26 16:44:20 [8] DEBUG: AT2[MTSPH]: --> AT+CMGS=18^M
> 2002-06-26 16:44:20 [8] DEBUG: AT2[MTSPH]: <-- AT+CMGS=18>
> 2002-06-26 16:44:20 [8] DEBUG: AT2[MTSPH]: send command status: 1
> 2002-06-26 16:44:20 [8] DEBUG: AT2[MTSPH]: -->
> 0011000B919730660525F60000A704F4F29C0E
> 2002-06-26 16:44:20 [8] DEBUG: AT2[MTSPH]: --> ^Z
> 2002-06-26 16:44:26 [8] DEBUG: AT2[MTSPH]: <-- >
> 0011000B919730660525F60000A704F4F29C0E
> 2002-06-26 16:44:26 [8] DEBUG: AT2[MTSPH]: <-- +CMS ERROR: 69
> 2002-06-26 16:44:26 [8] ERROR: AT2[MTSPH]: CMS ERROR: +CMS ERROR: 69
> 2002-06-26 16:44:26 [8] DEBUG: AT2[MTSPH]: send command status: 1
> 2002-06-26 16:44:26 [1] DEBUG: Dumping 0 messages and 0 acks to store
> 
> system: Linux Mandrake 8.1 2.2.x kernel
> kannel: latest from snapshot
> modem: Siemens ME45 mobile phone
> 
> with best wishes
>  German Aksenov
> phone: (095)258-7258 ext. 7836
> 
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.