This is too easy and seems to be working great! I¹m glad I asked before heading down the path I thought I had to venture. Thanks! K On 6/24/09 2:20 PM, "Michael Jerris" <mike@jerris.com> wrote:
You can use the same switch_ivr_originate code, in your dial string seperate the destinations with , or | depending on if you want them to ring all at once or in order one at a time.
Mike
On Jun 24, 2009, at 5:01 PM, Kevin Snow wrote:
Hi,
I¹m writing a module where I have an inbound call and want to bridge this to multiple endpoints. Each of these destination endpoints will ring until one of them is answered. At this point I want to bridge to that endpoint and cancel the others to stop the ringing.
What is the recommended way to do this in FS?
I have the ring single endpoint (switch_ivr_originate) and bridge to that endpoint when answered working. I¹m trying to understand the multiple endpoint case now.
It seems that I will need to create a new session for each endpoint. In each of these session threads I can then switch_ivr_originate to a single endpoint. Somehow, each endpoint will need to know about the others to cancel them when it¹s endpoint is answered. This could get tricky with lots of edge cases, is there a recommended way to accomplish this programmatically?
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org