Nisan Bloch wrote:
>
> so what we do is
>
> in deliver_sm
>
> if (smpp->smpp_msg_id_type == 1) {
> char buf[64];
> sprintf(buf,"%Lx", atoll(octstr_get_cstr(msgid)));
> tmp = octstr_format("%s", buf);
> } else
> tmp = octstr_duplicate(msgid);
>
> /* strip leading zeros */
> octstr_strip_char(tmp,'0');
>
> And then in submit_sm_resp.
>
> if (smpp->smpp_msg_id_type == 2) {
> char buf[64];
> sprintf(buf,"%Lx",
> atoll(octstr_get_cstr(pdu->u.submit_sm_resp.message_id)));
> tmp = octstr_format("%s", buf);
> } else
> tmp = octstr_duplicate(pdu->u.submit_sm_resp.message_id);
>
> /* strip leading zeros */
> octstr_strip_char(tmp,'0');
>
> Anywant want a patch?
definetly! please post a clean one against current cvs tree and we'll
add it.
Stipe
[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG
Vogelsanger Weg 80
40470 D�sseldorf
Tel: +49-211-74845-0
Fax: +49-211-74845-299
E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are