[Asterisk-Users] Billing

Areski areski at e-group.org
Tue Apr 19 02:08:24 MST 2005


Why not to use one of the existing CallingCard solutions such  AstCC &
AreskiCC! There are pretty mature already and perhaps it would be better
to add your efforts on one of them!
BTW you can look on the sources to see how we manage 
ANSWEREDTIME & DIALEDTIME! 
Rgds, Areski


On Tue, 2005-04-19 at 09:33, Rizwan Chaudhry wrote:
> Hey
> 
> I want to implement billing in Asterisk for a calling card type application.
> 
> My scenario is like this: PSTN => Asterisk =(IAX)=> Asterisk => PSTN.
> I used the ${ANSWEREDTIME} and ${DIALEDTIME} variables but
> ${ANSWEREDTIME} always gives a value even if the call is not answered.
> e.g. If I dial on a Zap Channel, Zap answers the call the moment the
> channel starts ringing. So I get an answeredtime even if there has
> only been ringing.
> 
> Has anyone encountered this before?
> 
> Regards
> 
> riz
> _______________________________________________
> 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