Re: SMS ID and DLR-URL concatenation issue

2014-04-30 Thread Saurabh Pandey
>> >>> >>> >>> This will replace %%p with %p, %%d with %d and %s with the msgid. >>> >>> >>> >>> Also: I don’t think gw_extract_last() doesn’t exist in the gw library. >>> >>> >>> >>> == Rene

Re: SMS ID and DLR-URL concatenation issue

2014-04-30 Thread spameden
t;> >> >> This will replace %%p with %p, %%d with %d and %s with the msgid. >> >> >> >> Also: I don’t think gw_extract_last() doesn’t exist in the gw library. >> >> >> >> == Rene >> >> >> >> >> >> *From:*

Re: SMS ID and DLR-URL concatenation issue

2014-04-30 Thread Saurabh Pandey
; *From:* Saurabh Pandey [mailto:sam.it.develo...@gmail.com] > *Sent:* dinsdag 29 april 2014 16:55 > *To:* Rene Kluwen > *Cc:* users@kannel.org > *Subject:* Re: SMS ID and DLR-URL concatenation issue > > > > Rene my dlr-url contains other parameters also like %d for dlr etc.

RE: SMS ID and DLR-URL concatenation issue

2014-04-30 Thread Rene Kluwen
e msgid. Also: I don’t think gw_extract_last() doesn’t exist in the gw library. == Rene From: Saurabh Pandey [mailto:sam.it.develo...@gmail.com] Sent: dinsdag 29 april 2014 16:55 To: Rene Kluwen Cc: users@kannel.org Subject: Re: SMS ID and DLR-URL concatenation issue Rene my dlr-url contains o

Re: SMS ID and DLR-URL concatenation issue

2014-04-29 Thread Saurabh Pandey
t.php?msgid=%s”, >> octstr_get_cstr(msgid)); >> >> >> >> Btw, in the code that you gave below, there’s a memory leak. >> >> >> >> == Rene >> >> >> >> *From:* Rene Kluwen [mailto:rene.klu...@chimit.nl] >> *Sent:* d

Re: SMS ID and DLR-URL concatenation issue

2014-04-29 Thread Saurabh Pandey
@chimit.nl] > *Sent:* dinsdag 29 april 2014 15:51 > *To:* 'Saurabh Pandey'; 'users@kannel.org' > *Subject:* RE: SMS ID and DLR-URL concatenation issue > > > > Use octstr_format(http://someurl.com/myscript.php?msgid=%s”, msgid); > > > > This i

RE: SMS ID and DLR-URL concatenation issue

2014-04-29 Thread Rene Kluwen
ne Kluwen [mailto:rene.klu...@chimit.nl] Sent: dinsdag 29 april 2014 15:51 To: 'Saurabh Pandey'; 'users@kannel.org' Subject: RE: SMS ID and DLR-URL concatenation issue Use octstr_format(http://someurl.com/myscript.php?msgid=%s <http://someurl.com/myscript.php?msgid=%25s>

RE: SMS ID and DLR-URL concatenation issue

2014-04-29 Thread Rene Kluwen
Use octstr_format(http://someurl.com/myscript.php?msgid=%s ”, msgid); This is if msgid is a string. If it is an integer use %d instead of %s. == Rene From: users [mailto:users-boun...@kannel.org] On Behalf Of Saurabh Pandey Sent: dinsdag 29