<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>I work with Kamailio as Proxy and a call manager. From a MI_datagram script I manage kamailio. My script check the current data rate on different links. So if the max data rate is reached my script must cancel the call. That works good because I can use t_reply or sl_send_reply from request route and send cancel or status error.<br><br>But in one case I need to cancel the call after receiving the trying (after INIVTE) from the call manager (because the call manager could preempt a call to free some space one the link) <br><br>My trouble is that i can't use t_reply or sl_send _reply from REPLY_ROUTE and to cancel the call properly i need to send a status error, so i can't use t_uac_dlg from my management interface (because this function sends request only).<br><br>I didn't find out a solution to do this, so is someone have one ...?<br><br>Thanks,<br>Koon <br><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>