You're using %3F to separate them, which is "?" where you should use "&".
Your meta-data decodes as:

   ?smpp?session_info=00?service_op=2


Where it should be:


?smpp?session_info=00&service_op=2

Which is encoded as:

   %3Fsmpp%3Fsession_info%3D00%26service_op%3D2


Hope it helps,


Alex
On Fri, Jan 21, 2011 at 11:18 AM, Kanchan K <kathuria.kanc...@gmail.com>wrote:

> I have to set ussd_service_op and its_session_info.Defined both in the
> config file.Sending the request as
>
>
> http://192.168.0.4:13013/cgi-bin/sendsms?to=2724&from=4444&text=testing&username=tester&password=foobar&meta-data=%3Fsmpp%3Fsession_info%3D00%3Fservice_op%3D2
>
> If i give either of the TLV (either session_info or service_op) i am
> getting it correct.Also in the above request only the first TLV is set
> corerctly and the second one is being ignored.
>
> My question is -how do i make both of them work?
>
>
> On Fri, Jan 21, 2011 at 3:41 PM, Alejandro Guerrieri <
> alejandro.guerri...@gmail.com> wrote:
>
>> Please ellaborate? Attach logs, examples, etc.
>>
>> Regards,
>>
>> Alex
>>
>>
>> On Fri, Jan 21, 2011 at 8:40 AM, Kanchan K <kathuria.kanc...@gmail.com>wrote:
>>
>>> Hi,
>>> i need to set 2 optional paramanters in the send sms http request.Can
>>> anybody suggest how to set the same in the url?
>>> I have tried few combinations but only one is recognized and the other is
>>> being ignored or both of them are not recognized.
>>>
>>> Thanks in advance
>>>
>>
>>
>

Reply via email to