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

AsteriskNOW IP PBX behind NAT, clients cannot connect from outside Network
Send DTMF Digit with dialplan
Visual Dialplan : how to play a playback file
Multiple Incomming calls to free agent
Asterisk incoming message gives: 415 unsupported media type
Forwarding X Headers in Asterisk
Asrterisk 13.4.0 RTC issue
Pass DTMF Variable to Channel as Caller Name
How to log data of a call
How to stay in the queue?
Time between next invite in sipp
Asterisk - Dial between two local phones
Vicidial SIP Trunk with Twilio
Asterisk 13 hangup both SIP channels, when bridge is destroyed
Asterisk channel status
Play record when operator pickup call

Categories

HOME
autohotkey
http
windows-server-2008
aix
gap-system
mingw
localhost
atlassian-fisheye
digital
xmlhttprequest
watson-dialog
tmux
eclipse-orion
popup
game-engine
taxonomy
novacode-docx
audio-streaming
android-wifi
serenity-js
fibonacci
sha
akavache
launchd
intermec
loopback
ilog
pymunk
stochastic-process
mybatis-generator
jslider
office-interop
glide-image-library
aura-framework
definition
datagridviewcombobox
apiman
smooth-streaming
gridgain
amazon-fire-tv
android-doze-and-standby
stream-socket-client
emacs24
noise
enet
aws-rds
richtext
reloaddata
timex
fileopendialog
android-tabs
recurring
django-celery
nd4j
wizard
std
instabug
yfiles
kramdown
gitk
cyberduck
android-networking
genome
sony-xperia
quickfixn
dojox.grid
fscanf
visual-c#-express-2010
farpoint-spread
html5-filesystem
kernel-density
data-layers
nvcc
complete
source-depot
codeigniter-form-helper
magicsuggest
pageload
zepto
ncml
nsregularexpression
esi
hypertable
states
php-gettext
beep
pdf-reader
django-admin-tools
scriptmanager
flexbuilder
marathontesting
javah
datarelation
j++

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