[asterisk-users] Help! How to get ANSWEREDTIME after DIAL a ZAP channel?

Charles Wang lazy.charles at gmail.com
Tue Feb 20 23:40:58 MST 2007


Dear all,

I tried to make a call with extensions.conf.

exten=> _00[1-9].,1,Dial(zap/g1/${EXTEN})
exten=> _00[1-9].,2,NoOP(ANSWEREDTIME=${ANSWEREDTIME})
exten=> _00[1-9].,102,Hangup

But the 2 and 102 will not be executed.

So I can get the correct answered time via 2.

Is any idea about it?

Is it the problem of my ZAP channel's configuration?

My zapata.conf is as below:

[channels]
language=en
context=default
busydetect=no
callprogress=no
switchtype=euroisdn
pridialplan=unknown
prilocaldialplan=unknown
overlapdial=yes
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
channel => 1-15,17-31


-- 

Best Regards
Charles


More information about the asterisk-users mailing list