I have changed the default value of the esm_class, from
ESM_CLASS_SUBMIT_STORE_AND_FORWARD_MODE to
ESM_CLASS_SUBMIT_DEFAULT_SMSC_MODE in line 851 of gw/smsc/smsc_smpp.c,
this have resolved my problem at least for now, tomorrow I have to test
in production.
If something goes wrong I will send the data you are asking, thanks.
The weird thing is that only happened in one of my providers, the other
worked flawless.
Thanks,
Andrés Suero.
El 08/01/2010 06:28 p.m., Nikos Balkanas escribió:
Hi,
Please include in your logs your submit_sm PDU you are sending. Post
also your sendsms URL. Seems somtheing wrong with your udh header.
BR,
Nikos
----- Original Message ----- From: "kanedauy"
<[email protected]>
To: <[email protected]>
Sent: Friday, January 08, 2010 3:44 PM
Subject: Re: kannel 1.4.3 and error Invalid esm_class
No one had this problem ever?
kanedauy wrote:
I have a debian 5 (lenny), and I have kannel 1.4.3, Im having this
problem
when I send sms to a specific provider, the log for this smsc tells me:
2009-12-24 10:20:36 [17305] [26] DEBUG: SMPP[movistar]: Got PDU:
2009-12-24 10:20:36 [17305] [26] DEBUG: SMPP PDU 0x81e91d8 dump:
2009-12-24 10:20:36 [17305] [26] DEBUG: type_name: enquire_link_resp
2009-12-24 10:20:36 [17305] [26] DEBUG: command_id: 2147483669 =
0x80000015
2009-12-24 10:20:36 [17305] [26] DEBUG: command_status: 0 =
0x00000000
2009-12-24 10:20:36 [17305] [26] DEBUG: sequence_number: 74 =
0x0000004a
2009-12-24 10:20:36 [17305] [26] DEBUG: SMPP PDU dump ends.
2009-12-24 10:20:36 [17305] [26] WARNING: SMPP: PDU NULL terminated
string
(message_id) has no NULL.
2009-12-24 10:20:36 [17305] [26] DEBUG: SMPP[movistar]: Got PDU:
2009-12-24 10:20:36 [17305] [26] DEBUG: SMPP PDU 0x81e91d8 dump:
2009-12-24 10:20:36 [17305] [26] DEBUG: type_name: submit_sm_resp
2009-12-24 10:20:36 [17305] [26] DEBUG: command_id: 2147483652 =
0x80000004
2009-12-24 10:20:36 [17305] [26] DEBUG: command_status: 67 =
0x00000043
2009-12-24 10:20:36 [17305] [26] DEBUG: sequence_number: 75 =
0x0000004b
2009-12-24 10:20:36 [17305] [26] DEBUG: message_id: NULL
2009-12-24 10:20:36 [17305] [26] DEBUG: SMPP PDU dump ends.
2009-12-24 10:20:36 [17305] [26] ERROR: SMPP[movistar]: SMSC returned
error code 0x00000043 (Invalid esm_class field data) in response to
submit_sm.
It's a problem in my configuration or is the provider?
my configuration for this smsc is:
# SMSC Movistar
group = smsc
smsc = smpp
smsc-id = movistar
allowed-smsc-id = movistar
preferred-smsc-id = movistar
log-level = 0
log-file = /var/log/kannel/movistar.log
host = ***.***.***.***
port = 7222
receive-port = 7222
our-host = ***.***.***.***
smsc-username = ********
smsc-password = ********
system-type = VMA
enquire-link-interval=10
alt-charset = windows-1252
alt-addr-charset = windows-1252
Please help me.
--
View this message in context:
http://old.nabble.com/kannel-1.4.3-and-error-Invalid-esm_class-tp27060442p27076132.html
Sent from the Kannel - User mailing list archive at Nabble.com.