[Asterisk-Users] cmd dial timeout don't work in asterisk 1.2
?
Matt Riddell
matt.riddell at sineapps.com
Sat Nov 19 07:18:30 MST 2005
asterisk user dupont wrote:
> Hello.
>
> My dial timeout worked perfectly on the last asterisk but not on the new.
>
> Here is my extension.conf :
>
> exten => s,1,Answer()
> exten => s,2,noop(${CALLERID})
> exten => s,3,Set(TIMEOUT(response)=20)
> exten => s,4,Background(test)
> exten => s,5,Dial(Zap/2|${CALLERID},15)
> exten => s,6,GoTo(personnedispo,s,1)
> exten => s,106,GoTo(tousoccupe,s,1)
Ok problems with the above:
1) exten => s,5,Dial(Zap/2|${CALLERID},15) should not contain the | - that is
a separator for parameters, so you are setting a timeout of callerid and
options of 15.
2) If you would like to have +101 bridging you need to use the j option to the
dial command now.
--
Cheers,
Matt Riddell
_______________________________________________
http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
More information about the asterisk-users
mailing list