Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 5:53 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: 1.7 Account Lock not Working Solved
PostPosted: Wed Apr 21, 2010 4:40 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
I have tried the account lock and seems it doesn't work. here is the CLI output.
Quote:
Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
-- <SIP/000000000-08391000> Playing 'digits/minus' (language 'en')
-- <SIP/000000000-08391000> Playing 'digits/1' (language 'en')
-- <SIP/000000000-08391000> Playing 'digits/minus' (language 'en')
-- <SIP/000000000-08391000> Playing 'digits/1' (language 'en')
-- <SIP/000000000-08391000> Playing 'digits/minus' (language 'en')
-- <SIP/000000000-08391000> Playing 'digits/minus' (language 'en')
-- AGI Script a2billing.php completed, returning -1


but looking at A2Billing.php this is what is supposed to happen
Code:
// Check if the locking option is enabled for this account
                if ($result[0][0] == 1 && strlen($result[0][1]) > 0) {
                    $try = 0;
                    do {
                        $return = FALSE;
                        $res_dtmf = $agi -> get_data('prepaid-enter-pin-lock', 3000, 10, '#'); //Please enter your locking code


anybody having this problem.

Rgds
Eamonn

http://www.eatelco.com


Last edited by manugmedia on Wed Apr 21, 2010 5:32 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: 1.7 Account Lock not Working
PostPosted: Wed Apr 21, 2010 5:31 pm 
Offline

Joined: Wed Feb 13, 2008 11:11 am
Posts: 224
OOps! my bad

a close look at AGI log says

Quote:
File prepaid-enter-pin-lock does not exist in any format


created the file and all good now.

Kind regards

Eamonn

http://www.eatelco.com


Top
 Profile  
 
 Post subject: Re: 1.7 Account Lock not Working Solved
PostPosted: Wed Apr 21, 2010 5:42 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
The advantage of reading the "full" log, compared to watching the asterisk CLI is demonstrated yet again ;-)

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group