You need to pass the value on the meta-data field. For example:

....&meta-data=?smpp?my-custom-var=1

(urlencoded of course)

Regards,

Alex

On Wed, Dec 2, 2009 at 9:01 AM, Elton Hoxha <[email protected]> wrote:

> Hi guys,
>
> I`m trying to use kannel for sending ussd request and receiving back using
> SMPP.
>
> my conf for TLV is:
>
> group = smpp-tlv
> name = my-custom-var
> tag = 0x0501
> type = integer
> length = 2
> smsc-id = test
>
> Using this I`m able to call my application by dialing ussd shortcodes, but
> I`m not able to terminate the session immediately.
>
> Also the values of ussd parameters take place under the VALUE parameter of
> TLV itself which is not present in the above conf. How can I manipulate this
> parameter if its not configurable in kannel?
>
> P.S this is an example I found googling around;
>
> Field Size Octets Type Description  Parameter Tag 2 Integer 0x0501  Length
> 2 Integer Length of value part in octets  Value 1 Integer This value can
> be one of the following values:
>
> 0 = PSSD Indication
> 1 = PSSR Indication
> 2 = USSR Request
> 3 = USSN Request
>
> 4 to 15 = Reserved
>
> 16 = PSSD Response
> 17 = PSSR Response
> 18 = USSR Confirm
> 19 = USSN Confirm
>
> 20 to 31 = Reserved
> 32 to 255 = Vendor specific operations
>

Reply via email to