Hello, Can somebody please help me in passing parameters in HTTP GET Request. I'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.
I tried the following from the http client: GET /json/dlg_end_dlg?params=1368%201091608310 (Adding a space with %20) GET /json/dlg_end_dlg?params=1368:1091608310 (sending the colon) GET /json/dlg_end_dlg?params=1368%3A1091608310 (URL encoded the colon) 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. For eg: GET /json/dlg_list works well and returns the running dialogs in json format as expected. But commands with parameters just fails !! I tried googling for examples but couldn't find much and I'm just doing trial and error for a while :( --- Jayesh
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
