[SR-Users] cnxcc module insufficient credit

Carlos Ruiz Díaz carlos.ruizdiaz at gmail.com
Wed Jul 17 17:02:59 CEST 2013


Hi Jayesh,

yes, I think this behavior can be added.

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?

Regards,
Carlos.


On Wed, Jul 17, 2013 at 10:57 AM, Jayesh Nambiar <jayesh1017 at gmail.com>wrote:

> Hi All,
> 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.
> 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.
>
> Thanks,
>
> --- Jayesh
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Carlos
http://caruizdiaz.com
+595981146623
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130717/6f1bd04c/attachment-0001.html>


More information about the sr-users mailing list