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

Asterisk automatic incoming call answering
Error Asterisk 12.8 bad magic number
Can not configure adhearsion with asterisk
Asterisk WAN Issues
Unable to establish two way Asterisk call
Asterisk GotoIf comparison variable exists in Array
Call Limit (call-limit) in Asterisk 13 with PJSIP
Asterisk call recording not showing any logs and file
Asterisk 13.7 GROUP_COUNT always returns 1
How to write asterisk application
how to write application to freepbx
Asterisk: format of the lines logged
asterisk PAMI Originate Call issue
Route a provider's numbers to specific extensions
Merging multiple RTP using asterisk for conferences
Send Multiple Invites with sipsak

Categories

HOME
pact
ssms
model-view-controller
kendo-ui
process
bigtable
okhttp3
crash
aggregation-framework
qt4
genexus
annyang
angular-universal
ldap-query
minimum
openstack-horizon
multibinding
powerpivot
conditional-formatting
fibonacci
angular2-pipe
google-drive-android-api
policy
sasl
javapns
pushpad
jboss-arquillian
edsdk
snapkit
ilog
mootools
certbot
repeat
form-fields
nscollectionview
mockserver
ninja-forms
server-side-swift
rbac
jquery-ui-slider
vpython
qt-quick
api-key
denodo
spring-cloud-bus
django-tables2
enet
sharpdevelop
playframework-1.x
rmq
tsc
scrollmagic
zsh-completion
instaparse
django-taggit
window.location
abstract
apache2-module
fadein
clear
wiql
bioconductor
tvp
edgar
playn
firewire
valdr-bean-validation
qf-test
oxygenxml
xts
rpt
disabled-control
nspopupbutton
carrier
pechkin
objectdatasource
azure-pack
proj4
coinbase-php
system.transactions
linear-interpolation
idtabs
jquery-click-event
sessiontracking
http-response-codes
fxcopcmd
viewdata
simultaneous
pitch-shifting
morfik
file-storage
rpxnow
unauthorized
cross-cutting-concerns

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