[asterisk-users] a2billing for residential voip usage

Landy Landy landysaccount at yahoo.com
Thu Jun 17 07:23:01 CDT 2010


I reinstalled a2billing, now 1.7. Created a trunk, call plan, rate card, added rate, and added rate to call plan. After creating a new customer (CC) now I was able to place a call through a2billing only for the new customers. 

In voip settings I added a "SIP Config" with the same information as in my current extensions since I would like to re-use these extension numbers to monitor them. Also changed the context for these to a2billing. When I try to call from these extension I get "Enter your pin" prompt. Now I'm stuck here. 

Other than inserting the record into the mysql table how can I espcify the account number and/or cc number and password for a new customer?

Thanks.

--- On Thu, 6/17/10, Vahan Yerkanian <vahan at arminco.com> wrote:

> From: Vahan Yerkanian <vahan at arminco.com>
> Subject: Re: [asterisk-users] a2billing for residential voip usage
> To: asterisk-users at lists.digium.com
> Date: Thursday, June 17, 2010, 1:47 AM
> On 6/17/10 12:49 AM, Steve Edwards
> wrote:
> > On Wed, 16 Jun 2010, Landy Landy wrote:
> >
> >    
> >> I'm unable to place any calls through a2billing. I
> followed instructions
> >> here: http://trac.asterisk2billing.org/cgi-bin/trac.cgi/wiki/F.A.Q
> to
> >> DISABLE "PIN number request" Prompt for some users
> but, I'm not able to
> >> place any calls.
> >>
> >> I created a trunk with the same name as in my
> sip.conf and I'm not able
> >> to make any calls. I don't know what I'm missing.
> >>
> >> This is the output when trying to call:
> >> == Using SIP RTP CoS mark 5
> >>     -- Executing
> [812022418071 at a2billing:1] Answer("SIP/1433631307-00000015",
> "") in new stack
> >>     -- Executing
> [812022418071 at a2billing:2] Wait("SIP/1433631307-00000015",
> "2") in new stack
> >>     -- Executing
> [812022418071 at a2billing:3] AGI("SIP/1433631307-00000015",
> "a2billing.php,3") in new stack
> >>     -- Launched AGI Script
> /var/lib/asterisk/agi-bin/a2billing.php
> >> 
>    --<SIP/1433631307-00000015>AGI
> Script a2billing.php completed, returning -1
> >>
> >> I can't debug it or anything I'm stuck please
> help.
> >>      
> >
> If you have CLI version of PHP installed, you can also try
> running
> 
> /var/lib/asterisk/agi-bin/a2billing.php
> 
> directly from the shell, and keep feeding it CR/LF, you'll
> see step-by-step variable assignment and hopefully the error
> message that stops it from working. You'll need
> display_errors on in php.ini for this as well.
> 
> Most probably you're missing a PHP module or your SQL
> connection is failing.
> 
> HTH,
> Vahan
> 
> 
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar
> every Thurs:
>            
>    http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 


      



More information about the asterisk-users mailing list