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
dag 29 april 2014 13:41 To: users@kannel.org Subject: SMS ID and DLR-URL concatenation issue Hi everyone, this should be very simple for an expert C programmer to fix. I am trying to edit source of Opensmppbox.c to suit my requirements, but I am very poor in C. What I had was: msg->sm

SMS ID and DLR-URL concatenation issue

2014-04-29 Thread Saurabh Pandey
Hi everyone, this should be very simple for an expert C programmer to fix. I am trying to edit source of Opensmppbox.c to suit my requirements, but I am very poor in C. What I had was: msg->sms.dlr_url = octstr_create("http://someurl.com/myscript.php";); and it was working fine. In my dlr-table