[Asterisk-Users] Billing

Eric Wieling aka ManxPower eric at fnords.org
Tue Apr 19 03:23:42 MST 2005


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?

This is the way it works with ANALOG FXO ports.



More information about the asterisk-users mailing list