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

Yuan LIU yliu11 at hotmail.com
Sun Mar 4 22:36:14 MST 2007


>From: Doug Lytle <support at drdos.info>
>Date: Sun, 04 Mar 2007 13:56:35 -0500
>
>Yuan LIU wrote:
>>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?
>
>If you are dialing via a PRI or a device that supports call supervision, 
>this is the case.  If you are using a standard POTS line, the call is 
>assumed answered immediately.  This has been covered many times on this 
>list, search the archives for code fragments on how to deal with such a 
>situation.
>
>Doug

Thanks for the explanation, Doug and Eric.  Yes I came across those threads 
several times, just didn't quite relate to call files.

Yuan Liu




More information about the asterisk-users mailing list