19 Dec
2011
19 Dec
'11
7:14 p.m.
Hi, I am trying to originate a call, using a mod command through the xml_rpc, but I am doing something wrong - not sure what it is. I post this url: http://1.2.3.4/webapi/originate?{origination_caller_id_number=14007654321}sofia/carriers/111#18001234567@4.5.6.7%20&playback(/vr/migstory.wav) (numbers and IPs modified here) The reponse I get is this: -USAGE: <call url> <exten>|&<application_name>(<app_args>) [<dialplan>] [<context>] [<cid_name>] [<cid_num>] [<timeout_sec>] I can do other commands directly in the browser like this (such as http://1.2.3.4/webapi/show?calls) without any problems. Therefore my conclusion is that I am doing something wrong in this syntax for http. Any ideas? Thanks in advance! //Anders