<div dir="ltr"><div><div><div>Hello,<br></div>Can somebody please help me in passing parameters in HTTP GET Request. I&#39;m using mi_json to send commands to opensips. I wanted to end a running dialog based on certain conditions. For example, if my dialog-id is 1368:1091608310; I would normally run opensipsctl fifo dlg_end_dlg 1368 1091608310 from the CLI.<br>
<br>I tried the following from the http client:<br>GET /json/dlg_end_dlg?params=1368%201091608310 (Adding a space with %20)<br>GET /json/dlg_end_dlg?params=1368:1091608310 (sending the colon)<br>GET /json/dlg_end_dlg?params=1368%3A1091608310 (URL encoded the colon)<br>
<br></div>But nothing above works. Somehow the params dont reach as expected to the opensips. When I run a command that dont expect any params it works well. <br>For eg: GET /json/dlg_list works well and returns the running dialogs in json format as expected. But commands with parameters just fails !!<br>
<br></div><div>I tried googling for examples but couldn&#39;t find much and I&#39;m just doing trial and error for a while :(<br></div><div><br></div>--- Jayesh<br><div><div><br></div></div></div>