Hello,

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:

kamcmd tm.cancel "CALLID" "NNN"

kamcmd tm.cancel "CALLID" "NNN INVITE"

With kamcmd should be an option to force string input parameter to rpc command, iirc, like:

kamcmd tm.cancel "CALLID" s:NNN

Let us know if it works.

Cheers,
Daniel

On 13/01/14 02:38, 无愿无悔 wrote:
Hello everyone:
I want to know what is the parameter for the RPC function "tm.cancel" in the TM module ?

I input the parameters such as :

tm.cancel d90be24a4553d076@Yml5cC5oYWlnzs5uZXQ 2
 
but it can accept the only parameter,and inform me "error 400-Callid and CSeq expected as parameters " .

The context of the Callid.s is "d90be24a4553d076@Yml5cC5oYWlnzs5uZXQ".

But the context of the CSeq.s is "if you get this string, you don't check rpc_scan return code!!!(very bad)".

Could you give me an example ?


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda