Anyone know if/how I can make asterisk execute two applications simultaneously?
For example:
exten => 9999,1,Answer
exten => 9999,2,Queue(q_mag7,tThH,100)
exten => 9999,3,Dial(SIP/2002,20,tr)
exten => 9999,4,Hangup
When someone dials 9999, I’d like to have them placed into the queue AND have extension 2002 dialled at the same time.
zmanea
November 4, 2005, 11:27pm
2
I do not think this is possible. Queue and Dial are seperate commands. Please provide more info on how/why you want this to work. Ther may be another solution.
I did something similar awhile back. I made a phone that was always in a queue with the “members=” command.
In agent.conf
i had the line:
member=Local/5551212@context (so if you are using @home it would be @from-internal )
Example below:
[5002]
wrapuptime=0
timeout=15
strategy=leastrecent
retry=5
queue-youarenext=
queue-thereare=
queue-thankyou=queue-thankyou
queue-callswaiting=
music=default
monitor-join=yes
monitor-format=
member=Local/5551212@from-internal
maxlen=0
leavewhenempty=no
joinempty=yes
context=
announce-holdtime=no
announce-frequency=0