Re: [SR-Users] cnxcc module insufficient credit

2013-07-29 Thread Jayesh Nambiar
Hey Carlos,
I would test and get back.

--- Jayesh
On Jul 29, 2013 7:27 PM, "Carlos Ruiz Díaz" 
wrote:

> Hi Jayesh,
>
> I just applied the changes and updated the documentation. Please give it a
> try.
>
> Regards,
> Carlos
>
>
> On Wed, Jul 17, 2013 at 11:01 PM, Jayesh Nambiar wrote:
>
>> Thank you Carlos.
>>
>> --- Jayesh
>>
>>
>> On Wed, Jul 17, 2013 at 11:19 PM, Carlos Ruiz Díaz <
>> carlos.ruizd...@gmail.com> wrote:
>>
>>> Ok. Right now I'm short in time but this weekend I'm gonna schedule
>>> myself this.
>>>
>>>  I'll let you know.
>>>
>>> Carlos.
>>>
>>>
>>> On Wed, Jul 17, 2013 at 11:40 AM, Jayesh Nambiar 
>>> wrote:
>>>
 Thanks for the reply Carlos. Checking before relaying the call is how I
 am doing it right now but it feels like it would have been more neater if
 done in the cnxcc module itself since it is anyways checking the credit
 after the call is active !!

 I would wait for that behavior though in the cnxcc module. Thanks again.

 --- Jayesh


 On Wed, Jul 17, 2013 at 8:32 PM, Carlos Ruiz Díaz <
 carlos.ruizd...@gmail.com> wrote:

> 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  > 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@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
> --
> Carlos
> http://caruizdiaz.com
> +595981146623
>
> ___
> 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
>
>

 ___
 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


>>>
>>>
>>> --
>>> Carlos
>>> http://caruizdiaz.com
>>> +595981146623
>>>
>>> ___
>>> 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
>>>
>>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> Carlos
> http://caruizdiaz.com
> +595981146623
>
> ___
> 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
>
>
___
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


Re: [SR-Users] cnxcc module insufficient credit

2013-07-29 Thread Carlos Ruiz Díaz
Hi Jayesh,

I just applied the changes and updated the documentation. Please give it a
try.

Regards,
Carlos


On Wed, Jul 17, 2013 at 11:01 PM, Jayesh Nambiar wrote:

> Thank you Carlos.
>
> --- Jayesh
>
>
> On Wed, Jul 17, 2013 at 11:19 PM, Carlos Ruiz Díaz <
> carlos.ruizd...@gmail.com> wrote:
>
>> Ok. Right now I'm short in time but this weekend I'm gonna schedule
>> myself this.
>>
>> I'll let you know.
>>
>> Carlos.
>>
>>
>> On Wed, Jul 17, 2013 at 11:40 AM, Jayesh Nambiar wrote:
>>
>>> Thanks for the reply Carlos. Checking before relaying the call is how I
>>> am doing it right now but it feels like it would have been more neater if
>>> done in the cnxcc module itself since it is anyways checking the credit
>>> after the call is active !!
>>>
>>> I would wait for that behavior though in the cnxcc module. Thanks again.
>>>
>>> --- Jayesh
>>>
>>>
>>> On Wed, Jul 17, 2013 at 8:32 PM, Carlos Ruiz Díaz <
>>> carlos.ruizd...@gmail.com> wrote:
>>>
 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 
 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@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>


 --
 Carlos
 http://caruizdiaz.com
 +595981146623

 ___
 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


>>>
>>> ___
>>> 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
>>>
>>>
>>
>>
>> --
>> Carlos
>> http://caruizdiaz.com
>> +595981146623
>>
>> ___
>> 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
>>
>>
>
> ___
> 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
>
>


-- 
Carlos
http://caruizdiaz.com
+595981146623
___
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


Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Jayesh Nambiar
Thank you Carlos.

--- Jayesh


On Wed, Jul 17, 2013 at 11:19 PM, Carlos Ruiz Díaz <
carlos.ruizd...@gmail.com> wrote:

> Ok. Right now I'm short in time but this weekend I'm gonna schedule myself
> this.
>
> I'll let you know.
>
> Carlos.
>
>
> On Wed, Jul 17, 2013 at 11:40 AM, Jayesh Nambiar wrote:
>
>> Thanks for the reply Carlos. Checking before relaying the call is how I
>> am doing it right now but it feels like it would have been more neater if
>> done in the cnxcc module itself since it is anyways checking the credit
>> after the call is active !!
>>
>> I would wait for that behavior though in the cnxcc module. Thanks again.
>>
>> --- Jayesh
>>
>>
>> On Wed, Jul 17, 2013 at 8:32 PM, Carlos Ruiz Díaz <
>> carlos.ruizd...@gmail.com> wrote:
>>
>>> 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 
>>> 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@lists.sip-router.org
 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


>>>
>>>
>>> --
>>> Carlos
>>> http://caruizdiaz.com
>>> +595981146623
>>>
>>> ___
>>> 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
>>>
>>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> Carlos
> http://caruizdiaz.com
> +595981146623
>
> ___
> 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
>
>
___
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


Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Carlos Ruiz Díaz
Ok. Right now I'm short in time but this weekend I'm gonna schedule myself
this.

I'll let you know.

Carlos.


On Wed, Jul 17, 2013 at 11:40 AM, Jayesh Nambiar wrote:

> Thanks for the reply Carlos. Checking before relaying the call is how I am
> doing it right now but it feels like it would have been more neater if done
> in the cnxcc module itself since it is anyways checking the credit after
> the call is active !!
>
> I would wait for that behavior though in the cnxcc module. Thanks again.
>
> --- Jayesh
>
>
> On Wed, Jul 17, 2013 at 8:32 PM, Carlos Ruiz Díaz <
> carlos.ruizd...@gmail.com> wrote:
>
>> 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 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@lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>>
>> --
>> Carlos
>> http://caruizdiaz.com
>> +595981146623
>>
>> ___
>> 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
>>
>>
>
> ___
> 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
>
>


-- 
Carlos
http://caruizdiaz.com
+595981146623
___
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


Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Jayesh Nambiar
Thanks for the reply Carlos. Checking before relaying the call is how I am
doing it right now but it feels like it would have been more neater if done
in the cnxcc module itself since it is anyways checking the credit after
the call is active !!

I would wait for that behavior though in the cnxcc module. Thanks again.

--- Jayesh


On Wed, Jul 17, 2013 at 8:32 PM, Carlos Ruiz Díaz  wrote:

> 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 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@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
> --
> Carlos
> http://caruizdiaz.com
> +595981146623
>
> ___
> 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
>
>
___
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


Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Carlos Ruiz Díaz
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 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@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Carlos
http://caruizdiaz.com
+595981146623
___
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


[SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Jayesh Nambiar
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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users