Code: Select all
sys.Dial("${dst}@mydomain")
Code: Select all
sys.Dial("${dst}@mydomain")
Code: Select all
sys.Dial("1234@dest|4567@dest2|7689@dest3")
"123 & 234 & 345 | 789" ,25
"123 & 234[dt=8] & 345[dt=15] & 456[dt=15] | 789" ,25
Aaron wrote:Yes you can combine the dt option with the ring time-out parameter.
The thing to be aware of is the ring timeout parameter is independent of any OR options in your dial string. Once the ring timeout parameter is reached the sys.Dial command will be terminated and if there were some OR legs that were not reached then they are ignored.
So...case target-expr
when comparison [, comparison]... [then]
body
when comparison [, comparison]... [then]
body
...
[else
body]
end
When /^123/, /^234/, /^345/ then
___ something...
___ something else...
___ something else again...
When aaaaa, bbbbb, cccc then
___ something...
___ anything...
else ...