<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
can you try to put callid in between double quotes. Try with the
number only and if it doesn't work, try also with number and method.
Like:<br>
<br>
kamcmd tm.cancel "CALLID" "NNN"<br>
<br>
kamcmd tm.cancel "CALLID" "NNN INVITE"<br>
<br>
With kamcmd should be an option to force string input parameter to
rpc command, iirc, like:<br>
<br>
kamcmd tm.cancel "CALLID" s:NNN<br>
<br>
Let us know if it works.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 13/01/14 02:38, 无愿无悔 wrote:<br>
</div>
<blockquote cite="mid:tencent_5AD94758797A41887932AFCA@qq.com"
type="cite">
<div>Hello everyone:</div>
<div>I want to know what is the parameter for the RPC function
"tm.cancel" in the TM module ?</div>
<div><br>
</div>
<div>I input the parameters such as :</div>
<div><br>
</div>
<div>tm.cancel d90be24a4553d076@Yml5cC5oYWlnzs5uZXQ 2</div>
<div> </div>
<div>but it can accept the only parameter,and inform me "error
400-Callid and CSeq expected as parameters " .</div>
<div><br>
</div>
<div>The context of the Callid.s is
"d90be24a4553d076@Yml5cC5oYWlnzs5uZXQ".</div>
<div><br>
</div>
<div>But the context of the CSeq.s is "if you get this string, you
don't check rpc_scan return code!!!(very bad)".</div>
<div><br>
</div>
<div>Could you give me an example ?</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>