[Freeswitch-users] how to end conference after initiator hangs up (dialout style)
Jun Sun
jsun at junsun.net
Thu Feb 14 00:32:14 MSK 2013
On 2/13/2013 9:36 AM, Michael Collins wrote:
>
>
> On Tue, Feb 12, 2013 at 11:02 PM, Jun Sun <jsun at junsun.net
> <mailto:jsun at junsun.net>> wrote:
>
>
> Thanks, Michael. It works!
>
> However, an unintended side effect is that "originate" command
> returns much earlier than the "conference" command. "Conference"
> command waits until the initiator picks up phone before dialing
> others (possibly in background with "bgdial"). "originate" command
> would return almost immediately and start dialing others without
> waiting for the initiator picking up phone.
>
> Is there a way to force "originate" command to delay the return
> until the endpoint picking up the phone?
>
> originate
> {ignore_early_media=true}sofia/internal/$myNumber at x.x.__x.x:5060
> &conference("conference_test++__flags{endconf}")
>
Fantastic! It works!
Cheers.
Jun
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list