As i've written, there is a condition in the beginning of the method smsbox_req_handle() of smsbox.c which will check the UDH length.
The condition is like this
if(udh != NULL && (octstr_len(udh) != octstr_get_char(udh,
0) ? 1))
{
.....
return the string "UDH field misformed, rejected"
}
We convert the whole UDH field data into hexadecimal format like % followed
by the hex-code of the decimal value. Since the condition is taking the
first character of the UDH, it is getting failed.
What do you say????
Regards,
Venu
Andreas Fink wrote:
On Mittwoch, September 19, 2001, at 11:24 Uhr, Venugopal Panchamukhi wrote:Hi,
I'm using the Kannel development version 1.1.5 with EMI/UCP protocol. When i'm trying to send a ring-tone i'm getting the following error.
"UDH field misformed, rejected"
I've gone through the code of smsbox_req_handle() method of smsbox.c. It seems i'm having some problem with the length of UDH.
I'm using our C-application which will fragment the ring-tone in case it is more than 88 bytes. The same application has been running fine with stable version of Kannel i.e., 1.0.3.
We are using the Nokia's Smart Messaging format.
Any idea on this would be appreciated.Thanks & Regards,
Venucan you show the EMI packet which gets sent?
I want to see how the UDH is looking like.
-- Venugopal Panchamukhi Mobile# +358-(0)9-4110 1675 E-Mail: [EMAIL PROTECTED] [EMAIL PROTECTED]
