Hello!

the problem is: then dlrmask=8 and emi2 protocol in use kannel crashes.
because we got ack EMI message
(for example
2002-11-15 15:49:42 [10] DEBUG: EMI2[MTS]: emi2 parsing packet:
<29/00046/R/51/A//0070951044112:151102154939/DC>
) and try to use E50_AMSG field from this message, which dosn't exist.

this fix helps me.
--- smsc_emi2.c.orig    Wed Nov 13 15:06:39 2002
+++ smsc_emi2.c Wed Nov 13 15:08:25 2002
@@ -976,7 +976,7 @@ static int emi2_handle_smscreq (SMSCConn
                  * Recode the msg structure with the given msgdata.
                  * Note: the DLR URL is delivered in msg->sms.dlr_url
already.
                  */
-                dlrmsg->sms.msgdata =
octstr_duplicate(emimsg->fields[E50_AMSG]);
+                               dlrmsg->sms.msgdata = octstr_create("");
                 octstr_hex_to_binary(dlrmsg->sms.msgdata);
                 dlrmsg->sms.sms_type = report;

with best wishes
 German Aksenov
phone: (095)258-7258 ext. 7836


                                                                                       
                                    
                      Stipe Tolj                                                       
                                    
                      <tolj@wapme-syste        To:       [EMAIL PROTECTED]            
                                    
                      ms.de>                   cc:       [EMAIL PROTECTED], 
[EMAIL PROTECTED]                          
                                               Subject:  Re: kannel 1.2.1 crashes then 
dlr in use                          
                      15.11.2002 14:57                                                 
                                    
                                                                                       
                                    
                                                                                       
                                    




> p.s. may be somebody check this part code and fix it.

could you please sum up the essence of the mail thread?! what is the
problem?

Stipe

[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
 wapme.net - wherever you are





Reply via email to