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
<<image001.gif>>
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
