Re: post-xml issues

"Tim Kehres" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <001a01c258b2$7b9ffa20$0500a8c0@banaue>
Good evening,
    Originating Address (OA)
    This does not get set in the resulting XML object.  In the smsbox.c code, the generation of this field is dependent upon trans->send_sender.   Why is this the case?  Is there any reason we don't want to propogate this information?    Or might there be a problem in the setting of this value?

  Are you sure its not the destination address? When an SMS comes in, it always can know the sender but not the destination.
Yes, I've double checked this, and it is the phone number of the GSM modem, not the originating address that is present in the <da> field of the resulting XML.  This is what I would expect, however no <oa> field is present, which seems odd.   After all, the sender information will be required by almost any application using this information in order to construct a reply.
    UDH Element
    This is also not being generated.  I'm getting ready to dig into the code on this one, but thought I'd check in case anyone else has already tracked this one down.

  If there's no UDH, the element is probably not there.
This is probably just due to my ignorance, but isn't a UDH present on all SMS messages?

Best Regards,

-- Tim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.