[Freeswitch-dev] Bridging to multiple endpoints

Michael Jerris mike at jerris.com
Wed Jun 24 14:20:23 PDT 2009


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?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090624/b1789c7a/attachment-0001.html 


More information about the Freeswitch-dev mailing list