[asterisk-users] When does local leg in call file start?

Eric "ManxPower" Wieling eric at fnords.org
Sun Mar 4 11:40:48 MST 2007


Yuan LIU wrote:
> For a simple call file like
> 
> Channel: Zap/g1/XXXXXXX
> RetryTime: 60
> WaitTime: 30
> Context: from-file
> Extension: s
> Priority: 1
> 
> I noticed that s at from-file started to execute regardless of the state of 
> the outgoing call.  Is this supposed to be?  So far I can only set a 
> Wait() in the local leg and hope the remote party picks up soon enough.
> 
> I thought call file extension will start execution only when the 
> outgoing leg is answered.  Or is there some way to detect this?

FXO ports are considered "answered" as soon as dialing is finished. 
This is because most telcos do not provide answer supervision.

PRI (and maybe E&M ports) and FXS ports do not have this issue.


More information about the asterisk-users mailing list