asterisk


Asterisk autodial some external numbers when joining conference


I'm trying to setup an emergency service for our company, and this is the need:
A person that is involved into an emergency situation have to dial a number with his mobile phone and automatically all ermergency squad's people phones will ring and all must be placed in conference call automatically.
I'm near to the solution but I have some difficult with call files , I'm also not sure this is the right way but this is what I made
I've created a conference ( extn 419 ) and also I've created one call file like this
Channel: SIP/123456789#from-internal
MaxRetries: 2
RetryTime: 60
WaitTime: 30
Context: ext-meetme
Extension: 419
Priority: 1
where 123456789 is one of the emergency squad number and 419 is the conference room number
this is working but I have to manually put the call file in the outgoing directory to generate the call
I would like to have the call originate when someone call the 419 extension.
Could someone help me please?
Thanks in advance
For your approach you need to trigger AGI script when somebody calls emergency number. And then this script can create call files and copy them to spool directory.
http://www.voip-info.org/wiki/view/Asterisk+cmd+AGI
If I was building similar solution, then I will probably will do all logic inside AGI script even triggering a call with originate command instead of call files.
My dialpaln:
[dialplan-for-emergency]
; 123456 - emergency number
exten => 123456,1,Answer()
exten => 123456,n,AGI(myscript.pl)
exten => 123456,n,Hangup()
myscript.pl # in pseudo code
create conference
create a calls to all other participants into conference
connect callee into conference

Related Links

What Internet Voice Services Can Asterisk be Connected To
Using Nginx with Asterisk ARI
How to disable auto update in FREEPBX
Custom solution to call telehones from within broswers (webRTC <-> telephony link) [closed]
A2billing Readout Balance
How to write VoiceMail dialplans in asterisk
Problems with string pattern matching
asterisk hangup call when hold
Cant place outgoing call en E1
Dial via SIP -> IAX2
asterisk send event to a web app when the phone ring
how to add one SIP Extension by command line in Asterisk
Is there a way to get the ${DEVICE_STATE(SIP/${EXTEN})} output on asterisk AMI before making originate call
How to hang up the calls before calling AGI script?
Mixmonitor command is not working in asterisk dialplan
Asterisk and A2billing

Categories

HOME
qlikview
excel-formula
azure-documentdb
redux
phantomjs
spotfire
singleton
xss
python-3.4
angularjs-ng-repeat
ethereum
olap
dynamics-crm-2011
mongodb-replica-set
logstash-configuration
sha1
greensock
vivado-hls
ofbiz
wallet
beacon
audio-streaming
conditional-formatting
summernote
single-page-application
angular2-pipe
google-drive-android-api
uipath
apdu
rancher
node-soap
tunnel
leaderboard
stochastic-process
kepserverex
instances
blueimp
julia-jump
tapply
datagridviewcombobox
vpython
google-chrome-storage
text-formatting
stanford-nlp-server
denodo
openxava
serialversionuid
enet
chain
iban
qudpsocket
settext
hdr
instaparse
3d-rendering
radar-chart
google-app-engine-php
recode
libgcrypt
autoscaling
nmock
litedb
mergecursor
mri
qxorm
xcode5
drools-guvnor
unityvs
fscanf
db2-connect
logo-lang
complete
mosix
junction-table
bho
biztalk-deployment
system.transactions
metapost
ncml
screensharing
junit-rule
github-archive
parsec
jexcelapi
hwnd
arraycollection
datarelation
datadude
atmega16
file-icons
qlibrary

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App