[Asterisk-Users] Rolling dialplan... best practice?

Peer Oliver Schmidt posde at theinternet.de
Wed Dec 21 02:29:28 MST 2005


Erik wrote

> Create an waiting extension:
> exten => _*XX*XX,1,wait(${EXTEN{1:2})
> exten => _*XX*XX,1,dial($EXTEN{3:2})
> 
> Then dial using that waiting extension:
> 
> exten => s,2,Dial(${E25}&Local/*18*${E24}&Local/*30*${E28}&Local/*42*${E28}&Local/*56*${E22})
> 
> This wil dial all the numbers at the same time, however eacht local number waits a bit longer before executing the dial, hence it hunts :)
> 
> So ${E25} will ring instant, ${E24} starts ringing 18 seconds later, ${E28} starts 12 seconds after ${E24} (timing is related to the 1st phone ringing)

This is bloody cool. Thanks for the idea.
-- 
Best regards

Peer Oliver Schmidt
PGP Key ID: 0x83E1C2EA




More information about the asterisk-users mailing list