Hi, How can we force kannel to set esm_class to 0 for submit_sm when a udh is also passed. Currently, I have changed the pdu->u.submit_sm.esm_class to ESM_CLASS_SUBMIT_DEFAULT_SMSC_MODE in gw/smsc/smsc_smpp.c. Now when I send a message with no UDH, the esm_class is set to 0 , but when a UDH is sent along, the esm_class is set to 64. I need it to be set to 0. The UDH is for concatenated message, its value is %05%00%03%01%01%01. So how can esm_class be set?? Any suggestions?
Thanks Shayan
