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

Yuan LIU yliu11 at hotmail.com
Sun Mar 4 11:12:02 MST 2007


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?

Yuan Liu




More information about the asterisk-users mailing list