[Asterisk-Users] astcc dont write to the table cdrs or cards

Doug Harris dogharris at sbcglobal.net
Wed Sep 8 06:57:18 MST 2004


Hi,

I did a cvs update on 03 Sep.

How do I find out all available variables (to agi) in a particular code
version. I tried "show agi get variable", but that wouldnt give me much
info.

Cheers

dh

> -----Original Message-----
> From: Areski [mailto:areski at e-group.org]
> Sent: Wednesday, September 08, 2004 1:38 AM
> To: dogharris at sbcglobal.net; Asterisk Users Mailing List -
> Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] astcc dont write to the table cdrs or
> cards
>
>
> Variables DIALSTATUS: added to CVS head in june/july 2004!
> What is your CVS version?
>
> Areski
>
> On Wed, 2004-09-08 at 03:44, Doug Harris wrote:
> > Hi,
> >
> > I have set-up astcc with outgoing sip channel. Call processing works
> > fine but after the call tables, CDR and Cards does not get updated. At
> > the beginning it goes to the database and fetch card details and
> > correctly provides the card balance etc. Also it indeed write the
> > inuse field (so writing and reading from database works fine).
> >
> > I've inserted a break point as such in the code;
> >
> > $dialstatus = $AGI->get_variable("DIALSTATUS");
> > print STDERR "dial status $dialstatus\n";
> >
> > It seems like dialstatus is not returned (which prints nothing).
> >
> > So obviously later part of the agi does not go through database
> > updating portion (which only happens if dialstatus = Answerd).
> >
> > I am using deadagi to call the astcc.agi script as explained.
> >
> > Can someone explain why this happens ?????
> >
> > Cheers
> >
> > dh
> >
> >
> > ______________________________________________________________________
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>





More information about the asterisk-users mailing list