From: Doug Lytle <[EMAIL PROTECTED]>
Date: Sun, 04 Mar 2007 13:56:35 -0500

Yuan LIU wrote:
I noticed that [EMAIL PROTECTED] 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


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to