-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Gilles
Sent: Monday, March 07, 2011 8:14 AM
To: [email protected]
Subject: Re: [asterisk-users] [1.4] Forcing Asterisk/Zaptel to wait
untilcalleeanswers?

On Thu, 3 Mar 2011 08:42:36 -0600, "Danny Nicholas"
<[email protected]> wrote:
>Having traversed this "rabbit-hole" the answer is that it depends on your
>carrier.  If they offer "call-supervision", asterisk can wait for pickup on
>the other side.  The resolution I came up with for my offering:

I was going through the script this afternoon, and have a couple of
questions:

1. Why use ">" instead of "=" to compare the extension with "SIP"?

exten => s,n,Gotoif($["${EXTEN}" > "SIP"]?start)

2. According to www.voip-info.org/wiki/view/Asterisk+cmd+Wait, Wait
only takes one parameter, while WaitExten() can take "m", which plays
music on hold: Is the wiki out of date and you are using a more recent
version of Asterisk than the 1.4 I have?

exten => s,n,Wait(9,m)

Thank you.

#1 is "Lazy notation" to say ${EXTEN} starts with SIP (as opposed to Local
or DAHDI)
#2 Might just be a typo on my part. I frequently switch usage between Wait()
and WaitExten().


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to