<div dir="ltr">Hi Jayesh,<div><br></div><div>yes, I think this behavior can be added. </div><div><br></div><div>As a workaround you can check the credit data before relaying the INVITE so you can reject it immediately in case of lacking enough credit. Have you tried that?</div>
<div><br></div><div style>Regards,</div><div style>Carlos.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 17, 2013 at 10:57 AM, Jayesh Nambiar <span dir="ltr"><<a href="mailto:jayesh1017@gmail.com" target="_blank">jayesh1017@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div>I was testing out the cnxcc module and it works well for prepaid credit handling. One problem that I saw with the module is that if the credit is insufficient it still allows the call to pass and then disconnect within a second.</div>

<div>Is it possible that if the credit is insufficient for the call, the dialog can be terminated before the call is placed with a 4xx kind of response !! Just a thought.</div><div><br></div><div>Thanks,</div><div><br></div>

<div>--- Jayesh</div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Carlos<div><a href="http://caruizdiaz.com" target="_blank">http://caruizdiaz.com</a></div><div>+595981146623</div>
</div>