<div dir="ltr"><font color="#3366ff"><font><font face="tahoma,sans-serif">Hi,<br><br>My question concerns Call Control.<br><br>When a SIP call&#39;s timer ends, Call Control uses dlg_end_dlg MI command of the dialog module to send a BYE to the UA.<br>

Can I intercept the BYE message, drop it, change it and send instead an INVITE or a REDIRECT using (maybe) the UAC module?<br>The INVITE/REDIRECT would connect the UA to a media gateway to announce a message when the session ends.<br>

Any ideas?<br><br>This also leads to thoughts on accounting and rating.<br>In the case of sending and INVITE, the rating of the call becomes inaccurate since there&#39;s no BYE when the call ends, but only after the media gateway&#39;s announcement ends.<br>

In the case of a REDIRECT, the UA sends a BYE to the established call before the INVITE to the media gateway, and thus rating remains totally accurate.<br>What do you think?<br><br>Thanks</font></font></font><br><font color="#3366ff"><font face="tahoma, sans-serif">RA</font></font><br>


</div>