Hi Dan!

Thanks a lot! Now it works.

You wrote 2009 г., 1:55:55:

> On 1 Dec 2009, at 14:09, Ilya Pichugin wrote:

>>
>> I found my mistake - it was necessary to tune  my e164_class.
>> And now debiting is OK.. but!
>>
>> Why function call_control() always return 1 retcode, even there is
>> balance <=0 (No credit)?
>>
>> I cannot understand..

> Because $retcode is the last function's return code and you called  
> xlog("CALL_CONTROL"); before the switch statement, so you actually  
> test the retcode of xlog.







---------------

Ilya Pichugin




_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to