asterisk


Simultaneous application execution


Hello guys,
I would like help to setting up my dial plan to execute more than one application at a time. In the example below I created 3 contexts, where the call made by the anlz01 context makes a dial to the anlz02 context and makes a subroutine for the anlz03 context.
The following example context:
context anlz01 {
_X. => {
Dial(local/200#anlz03,30,CU(anlz02,s,1));
}
}
context anlz02 {
200 => {
Playback(gravacoes/21971192789-20170103-143043-P1C55-E1, noanswer);
}
}
context anlz03 {
s => {
Wait(3);
Progress();
Wait(5);
Hangup();
}
}
My goal is that while the playback is running the other applications of the anlz03 context also has be executed. How could I achieve this goal?
It is not fully clear what exactly you need.
Asterisk dialplan allow execute ONE application stream.
If you need same time playback something, create other channel set using asterisk dialout, after that use ChanSpy app to wisper that to first channel.
https://www.voip-info.org/wiki/view/Asterisk+auto-dial+out
https://www.voip-info.org/wiki/view/Asterisk+cmd+ChanSpy
If you need execution of some complex math, use FastAGI and your favorite language with Threads.
You also have option supply hold music to be played while you are dialling. See application Dial parameters.

Related Links

Asterisk pjsip loading all endpoints on startup
How to configure a Voipbusterpro trunk in FreePBX
Basic IVR Setup in vicidial
execute a command when extension ringing asterisk
How to get the phone number(callerID) in asterisk
How to prevent outgoing voip fax calls?
How to dump an active config from Asterisk
Asterisk SIP peers falling down
Elastix - No sound to external calls from sip phones connected through NAT
Sending All Voice Recordings to Analog Telephony Voice Logger
send a specific DTMF phone as soon as hangup the call on asterisk
What are the deployment differences between Hosted vs Internal PBX?
Elastix INVITE 401 Unauthorized
Asterisk not auto Connecting to an upstream Asterisk
What steps are required to migrate Asterisk from PRI to SIP trunk?
Either the outbound or inbound call only work in asterisk setup, not both. Why?

Categories

HOME
postgresql
javafx
google-cloud-pubsub
virtual-machine
postgresql-9.3
apache-storm
nagios
readdir
assign
artifactory
cdn
doctrine2
genexus
promotions
segmentation-fault
fetch
kairosdb
distinct
resharper
tmux
minimum
web-testing
owncloud
web-parts
draw2d
xforms
spring-webflow
git-branch
ecmascript-2017
waterfall
rollupjs
sqldependency
csproj
concrete5
ios9
jmsserializerbundle
login-required
ng2-bootstrap
kubectl
wunderground
geocomplete
realloc
keychain
jvisualvm
superclass
jks
serialversionuid
runtime-permissions
audio-fingerprinting
intermediate-language
suitesparse
stringbuilder
glade
x12
instaparse
nimbus
treelist
salesforce-service-cloud
firefox-os
nslocalizedstring
google-app-engine-php
ruby-1.8.7
recode
sdkman
jts
exchange-server-2007
vanilla-forums
tooltwist
targetprocess
vectordrawable
veeam
windows-search
azure-worker-roles
disparity-mapping
azure-caching
dayofweek
cvi
data-layers
lastinsertid
aspnet-compiler
asp.net-4.0
servicemanager
cloudmade
django-tinymce
metapost
gssapi
mail-gem
teamsystem
erlide
socketasynceventargs
parsec
jmesa
log-shipping
xpolog
windows-xp-embedded
mismatch
hs-err
azure-appfabric
dongle
web-widget
djangoappengine

Resources

Encrypt Message