[asterisk-users] Question on bridging
David Murphy
dmurphy at leadgeniuses.com
Mon Apr 28 13:48:51 CDT 2008
Assuming I wanted to
Dial 1 outside number, once connected I wanted to dial a second number and
bridge them. Would I do something to this effect?
[bridge]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
exten => s,1,Answer
exten => s,n,Wait(1)
exten => s,n,Playback(/sounds/please_wait_connecting)
exten => s,n,GotoIf($["${FILENAME}" = ""]?norec,1:rec,1)
exten => norec,1,Dial(Local/${person2},20,r)
exten => norec,n,Playback(vm-nobodyavail)
exten => norec,n,Hangup()
exten => rec,1,Playback(/sounds/record_instructions_bridge)
exten => rec,n,Set(DYNAMIC_FEATURES=automon)
exten => rec,n,Set(TOUCH_MONITOR=${FILENAME})
exten => rec,n,Dial(Local/${person2},20,rW)
exten => rec,n,Playback(vm-nobodyavail)
exten => rec,n,Hangup()
Would this work?
So that from the PHPAPI , I could originate a call using the bridge
context, and it would content the 2 calls together? And if FILENAME is set
it would also record the call.
I'm pretty new to asterisk, but this is my understanding of how I would do
it right?
Thanks
David
LG-Email
David Murphy
Systems Administrator
Lead Geniuses
512 284 1648
aim: lgdavidmurphy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080428/07b24cf5/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 3850 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080428/07b24cf5/attachment.gif
More information about the asterisk-users
mailing list