Re: How to set more than one metadata in the http request

2011-01-21 Thread Alejandro Guerrieri
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=00service_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.comwrote:

 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=2724from=text=testingusername=testerpassword=foobarmeta-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.comwrote:

 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






How to set more than one metadata in the http request

2011-01-20 Thread Kanchan K
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