Dear Stipe and users of Kannel
 
Please guide to get rid of this problem
 
I am getting the error " malformed addr "192" expect at least 7 digits, I explored all of your correspondences and tried
 
So within gw/smsc/smsc_smpp.c:handle_pdu() we would call the _receive_failed() at appropriate places with the "so long unpacked" PDU and destroy the message after we have the access.log writen.
BTW, reviewing the code here, I see a bug:

gw/smsc/smsc_smpp.c:1337:  if (pdu->u.deliver_sm.esm_class & (0x04|0x08)) {

where we process currently pdu->type == data_sm ?? this should be pdu->u.data_sm.esm_class here, right?
you are right here, typo. Fixed in cvs. Thanks!
 
my Logs are
 
2006-11-03 15:33:38 [3860] [6] DEBUG: SMPP[SMPP:172.18.42.1:2775/2775:192:192]: Sending enquire link:
2006-11-03 15:33:38 [3860] [6] DEBUG: SMPP PDU 0x8cd0558 dump:
2006-11-03 15:33:38 [3860] [6] DEBUG:   type_name: enquire_link
2006-11-03 15:33:38 [3860] [6] DEBUG:   command_id: 21 = 0x00000015
2006-11-03 15:33:38 [3860] [6] DEBUG:   command_status: 0 = 0x00000000
2006-11-03 15:33:38 [3860] [6] DEBUG:   sequence_number: 63 = 0x0000003f
2006-11-03 15:33:38 [3860] [6] DEBUG: SMPP PDU dump ends.
2006-11-03 15:33:38 [3860] [7] DEBUG: SMPP[SMPP:172.18.42.1:2775/2775:192:192]: Sending enquire link:
2006-11-03 15:33:38 [3860] [7] DEBUG: SMPP PDU 0x8cd0558 dump:
2006-11-03 15:33:38 [3860] [7] DEBUG:   type_name: enquire_link
2006-11-03 15:33:38 [3860] [7] DEBUG:   command_id: 21 = 0x00000015
2006-11-03 15:33:38 [3860] [7] DEBUG:   command_status: 0 = 0x00000000
2006-11-03 15:33:38 [3860] [7] DEBUG:   sequence_number: 64 = 0x00000040
2006-11-03 15:33:38 [3860] [7] DEBUG: SMPP PDU dump ends.
but nothing changes, error persists, can you please help me out to get rid of this, TELCO guys refused to make any changes
at there end, we are running our services with Telenor Pakistan in Pakistan.
 
Regards
mark

Reply via email to