<div><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Hello everyone:</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">I want to know what is the parameter for the RPC function "tm.cancel" in the TM module ?</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">I input the parameters such as :</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">tm.cancel d90be24a4553d076@Yml5cC5oYWlnzs5uZXQ 2</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">but it can accept the only parameter,and inform me "error 400-Callid and CSeq expected as parameters " .</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">The context of the Callid.s is "d90be24a4553d076@Yml5cC5oYWlnzs5uZXQ".</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">But the context of the CSeq.s is "if you get this string, you don't check rpc_scan return code!!!(very bad)".</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Could you give me an example ?</span>
</div><div><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Message: 3</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Date: Mon, 13 Jan 2014 09:00:53 +0100</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">From: Daniel-Constantin Mierla <</span><a href="mailto:miconda@gmail.com" target="_blank" style="outline: none; cursor: pointer; color: rgb(30, 84, 148); font-family: 'lucida Grande', Verdana; line-height: 23px; ">miconda@gmai<wbr>l.com</a><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">></span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">To: "Kamailio (SER) - Users Mailing List"</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><</span><a href="mailto:sr-users@lists.sip-router.org" target="_blank" style="outline: none; cursor: pointer; color: rgb(30, 84, 148); font-family: 'lucida Grande', Verdana; line-height: 23px; ">sr-users@lis<wbr>ts.sip-route<wbr>r.org</a><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">></span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Subject: Re: [SR-Users] The RPC Function in The TM Module</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Message-ID: <</span><a href="mailto:52D39D35.5000205@gmail.com" target="_blank" style="outline: none; cursor: pointer; color: rgb(30, 84, 148); font-family: 'lucida Grande', Verdana; line-height: 23px; ">52D39D35.500<wbr>0205@gmail.c<wbr>om</a><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">></span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Content-Type: text/plain; charset="utf-8"; Format="flowed"</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Hello,</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">can you try to put callid in between double quotes. Try with the number </span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">only and if it doesn't work, try also with number and method. Like:</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">kamcmd tm.cancel "CALLID" "NNN"</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">kamcmd tm.cancel "CALLID" "NNN INVITE"</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">With kamcmd should be an option to force string input parameter to rpc </span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">command, iirc, like:</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">kamcmd tm.cancel "CALLID" s:NNN</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Let us know if it works.</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Cheers,</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><span style="font-family: 'lucida Grande', Verdana; line-height: 23px; ">Daniel</span><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><br>hi,</div><div>I try to put callid between double quotes.Like:</div><div>tm.cancel "CALLID" "NNN"</div><div>but it inform : error: 400-Transactions not found.</div><div>the context of the callid is " "CALLID" "</div><div>the context of the Cseq is " "NNN" " .</div><div>note:</div><div>Thus,the double quotes is treated as a part of the string.</div><div><br></div><div><br style="font-family: 'lucida Grande', Verdana; line-height: 23px; "><br></div>