I wrote the documentation for the meta-data functionality and of course
I'vechecked the code at that moment to figure out the inner details of it's
functionality.

I've just re-checked the code and, while there's an entry for the smsc-id as
a valid parameter on the smpp-tlv group, I didn't found any place on the
code where this parameter is read an used when binding the TLV definitions.

Please check on gw/smsc/smpp_pdu.c around line 108, it reads "name", "tag",
"length" and "type", but not "smsc-id".

In short: while you'd be able to put "smsc-id" on your "smpp-tlv" group,
it'll be ignored.

Regards,

Alejandro

2009/8/7 Nikos Balkanas <[email protected]>

> Hi,
>
> This is a straightforward one. I am surprised it is not in the user guide.
> Just add in the smpp-tlv group:
>
> smsc-id = <smscID>
>
> You need to have defined <smscID> beforehand in your smsc definition.
>
> BR,
> Nikos
> ----- Original Message ----- From: "Rolandow" <[email protected]>
> To: <[email protected]>
> Sent: Friday, August 07, 2009 12:56 PM
> Subject: How to bind smpp-tlv to a specific smsc group
>
>
>
>  Hi all,
>>
>> I need to start working with the smpp-tlv mechanism as supported in the
>> latest release of Kannel. I read the snapshot userguid, and there was a
>> briefly description how to implement this.
>>
>> From the manual I found:
>>
>> group = smpp-tlv
>> name = my_tlv_name
>> tag = 0x1601
>> type = octetstring
>> length = 20
>>
>> This sounds very clear, but how does Kannel know for which smsc group this
>> extra TLV is? I have several connections on my Kannel installation, so I
>> think I need to specify somehow which SMSC is using extra TLV's?
>>
>> How can I do this?
>>
>> Thanks in advance!
>>
>> Kind regards,
>> Roland.
>>
>>
>
>

Reply via email to