It work like a charm!!!  thank you very very much Alejandro,

Mario

2009/10/13 Alejandro Guerrieri <alejandro.guerri...@gmail.com>

> Mario,
>
> I've made a couple of patches a few weeks ago that should do the trick for
> you. Please see attached.
> Here's the original thread, with instructions about what the patches do:
>
> http://www.opensubscriber.com/message/de...@kannel.org/12779334.html
>
> I'm working on a more complete solution (involving all dlr's, not only the
> "fake" dlr kannel generates on the submit_sm_resp) but this one should work
> fine for the time being.
>
> After applying the patches, the command_status will be available on %D as
> "dlr_status"
>
> Hope it helps,
>
> Alejandro
>
>
> On Wed, Oct 14, 2009 at 12:10 AM, Mario Noboa <mnobo...@gmail.com> wrote:
>
>> Hi Alejandro, nice to meet you again.
>>
>> I am connected with an operator that send me the result of the billing in
>> the command_status. Are there any way to use %D to get the value of this
>> field in the dlr-url?
>>
>> Thanks!,
>>
>> Mario
>>
>>
>>
>> 2009/5/27 Alejandro Guerrieri <alejandro.guerri...@gmail.com>
>>
>>> Yeah, along with the pdu dump for the incoming deliver_sm.
>>> Regards,
>>>
>>> Alejandro
>>>
>>> On Wed, May 27, 2009 at 3:38 PM, Julien Buratto <
>>> julien.bura...@gmail.com> wrote:
>>>
>>>> Hi Alejandro,
>>>>
>>>> now we are on the same page :-)
>>>> As I was mentioning, I've already tried %D but seems not to pass
>>>> anything back..
>>>>
>>>> does the smsbox log would help ?
>>>>
>>>> Julien
>>>>
>>>> 2009/5/27 Alejandro Guerrieri <alejandro.guerri...@gmail.com>:
>>>> > Julien,
>>>> > The parameter is %D, not %meta-data. You should be able to retrieve
>>>> the
>>>> > meta-data from the current deliver_sm or submit_sm_resp PDU with that
>>>> > parameter.
>>>> > Regards,
>>>> > Alejandro
>>>> > On Wed, May 27, 2009 at 11:45 AM, Julien Buratto <
>>>> julien.bura...@gmail.com>
>>>> > wrote:
>>>> >>
>>>> >> Hi Sorry, maybe my question was not well specified.
>>>> >>
>>>> >> Alejandro I'm already using the smpp-tlv params and words fine.
>>>> >> What I was wondering is I can pass those variables back to DLRs
>>>> >>
>>>> >> When I send an sms I use "dlr-url=http://www.domain.com?sender=%P";
>>>> and
>>>> >> I get the sender=<some number>, but if I use the dlr-url as:
>>>> >> http://www.domain.com?sender=%P&meta-data=%meta-data I don't get
>>>> >> anything (even if the logs show that some meta-data where detected).
>>>> >>
>>>> >> So I was wonder if:
>>>> >> a) there is a special var that I need to pass to a dlr-url to get
>>>> those
>>>> >> params
>>>> >> b) if passing back TLVs to dlr-url was already supported.
>>>> >>
>>>> >> Thanks again
>>>> >> Julien
>>>> >>
>>>> >> 2009/5/26 Nikos Balkanas <nbalka...@gmail.com>:
>>>> >> > Hi,
>>>> >> >
>>>> >> > 1) Yes, it is supported in1.4.3.
>>>> >> > 2) AFAIK works only with SMPP amd need to have a tlv group defined
>>>> to
>>>> >> > use
>>>> >> > it.
>>>> >> >
>>>> >> > BR,
>>>> >> > Nikos
>>>> >> > ----- Original Message ----- From: "Julien Buratto"
>>>> >> > <julien.bura...@gmail.com>
>>>> >> > To: <users@kannel.org>
>>>> >> > Sent: Tuesday, May 26, 2009 3:19 PM
>>>> >> > Subject: SMPP - meda-data DLRs - getting parameters in DLR
>>>> >> >
>>>> >> >
>>>> >> >> Hi,
>>>> >> >>
>>>> >> >> normally I use some variables passed to the dlr-url parameters
>>>> such as
>>>> >> >> %P in order to get status informations.
>>>> >> >> Now that I'm using cvs version with meta-data, I was wondering if
>>>> >> >> anyone knows how to get the meta-data from deliver_sm PDUs in DLR
>>>> >> >> urls.
>>>> >> >>
>>>> >> >> I've tried %D param wich was documented in smsbox.c, but I don't
>>>> know
>>>> >> >> if:
>>>> >> >> 1) it's already supported feature
>>>> >> >> 2) I was looking at the right place
>>>> >> >>
>>>> >> >> Thanks
>>>> >> >>
>>>> >> >> --
>>>> >> >> Julien Buratto
>>>> >> >>
>>>> >> >
>>>> >> >
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> Julien Buratto
>>>> >>
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Julien Buratto
>>>>
>>>
>>>
>>
>

Reply via email to