Re: callback_num

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization The Kannel Group
Message-ID <[email protected]>
Rafael Ugolini wrote:

> Hi,
>    I sent a message a time to the list but i got nothing, so im sending 
> again...
>    I need to send messages with a specific callback_num, LG celphones 
> doesnt reply the message without this option.
>    Im using SMPP 33/34 in a CDMA Network. I tried to set callback_num in 
> smsc_smpp.c :
> 
> line 429    pdu->u.submit_sm.callback_num = 3030;

almost. As you see in gw/smsc/smpp_pdu.def:240 callback_num is an Octstr type.

Hence do

   pdu->u.submit_sm.callback_num = octstr_create("3030");

to populate the field with the value.

Good luck.

Stipe

mailto:stolj_{at}_wapme.de
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------
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.