[Asterisk-Users] Billing

Rizwan Chaudhry rizwanch at gmail.com
Tue Apr 19 00:33:45 MST 2005


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



More information about the asterisk-users mailing list