Hello,
you don't have to put the name of the parameters there, only the value
-- I see state:i and group:1 being set as values and they are wrong,
should be i and 1 there.
Cheers,
Daniel
On 21.03.18 15:03, David Villasmil wrote:
Any help on this, guys?
ᐧ
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
<mailto:david.villasmil.work@gmail.com>
phone: +34669448337
On Tue, Mar 20, 2018 at 11:01 PM, David Villasmil
<david.villasmil.work(a)gmail.com
<mailto:david.villasmil.work@gmail.com>> wrote:
Hello guys,
I'm trying to call an xmlrpc method with parameters like:
<?xml version="1.0"?>
<methodCall>
<methodName>dispatcher.set_state</methodName>
<params>
<param>
<value><string>state:i</string></value>
</param>
<param>
<value><string>group:1</string></value>
</param>
<param>
<value><string>sip:1.2.3.4:5060
<http://1.2.3.4:5060></string></value>
</param>
</params>
</methodCall>
I'm getting back "Invalid Parameters".
I can't find any documentation as to _how_ to call it with parameters.
Can anyone help?
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
<mailto:david.villasmil.work@gmail.com>
phone: +34669448337 <tel:+34%20669%2044%2083%2037>
ᐧ
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training - April 16-18, 2018, Berlin -
www.asipto.com
Kamailio World Conference - May 14-16, 2018 -
www.kamailioworld.com