Re: FID get null (2)

sangprabv <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <1243329051.6969.25.camel@MNC009>
Is it Indosat thing? You need to generate your own transid or use the
internal Kannel's message id.



Willy


On Tue, 2009-05-26 at 04:42 -0400, Benjamin Heryanto wrote:
> Dear List i check from log get this 
> 
> GET /push?&uid=abc&pwd=pwd&serviceid=12345&transid=(null)&smstype=0&msisdn=62858805&sms=test
> 
> 
> Content-Length:
> 118..Content-Type: text/xml....<?xml
> version='1.0'?><PUSH><STATUS>0</STATUS><TRANSID>(null)</TRANSID><MSG>Messagge success</MSG>
> 
> thats why operator reaction with null , how to make the transid become
> like this?
> GET /push?&uid=abc&pwd=pwd&serviceid=12345&transid=&smstype=0&msisdn=62858805&sms=test
> 
> only if there is no foreign id 
> 
> 
> this is snip of our scripts (it work for MO but not via sendsms / push
> system coz not need trx-id for push
> 
>  /* Get trx-id */
>     if (octstr_search(url, octstr_create("transid="), 0) == -1) {
>         octstr_format_append(url, "&transid=%S", sms->sms.foreign_id);
>     }
> 
> 
> Regards
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.