Creating a conference for an incoming call via socket interface
Hey all. I configured the FS to answer any incoming call and I have an application that keeps listen to Freeswitch events. I would like know if there is a way to create a conference and add an incoming call to this conference using the FS socket interface. Thanks in advance for your help. Leo Leonardo Nogueira de Sá Pereira Tel.: +55 19 3307-5589 Cel.: +55 19 9122-5943 Skype: leonardo_pereira_77
Yes there is! If you are listening for a particular event that tells you that you want to send a particular call to a conference then you just need to capture that call's uuid. From there you can either uuid_transfer that call to an extension in your XML dialplan that handles the conference. (examples of these are in the example configs.) Let us know how it goes. -MC On Mon, Feb 18, 2013 at 9:26 AM, lndspereira-fs@yahoo.com < lndspereira-fs@yahoo.com> wrote:
Hey all. I configured the FS to answer any incoming call and I have an application that keeps listen to Freeswitch events. I would like know if there is a way to create a conference and add an incoming call to this conference using the FS socket interface.
Thanks in advance for your help.
Leo
Leonardo Nogueira de Sá Pereira Tel.: +55 19 3307-5589 Cel.: +55 19 9122-5943 Skype: leonardo_pereira_77
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Ok, it should work, but in this case, I would need to have the "conference resources" pre-configured in Freeswitch. It does not solve my problem :( I would like to be able to create a conference resource from the application on the fly. I'm trying to take the same approach that I use with outbound calling conferences: - bgapi originate 4001234321 &conference(confName@default) - bgapi conference confName dial 4001234321 I'm looking for something like: - bgapi conference confName@default create UUID (if this is the first conference member) - bgapi conference confName@default add UUID (if conference already exists) Is there any API/tricky to help me on that? Leonardo Nogueira de Sá Pereira Tel.: +55 19 3307-5589 Cel.: +55 19 9122-5943 Skype: leonardo_pereira_77 ________________________________ From: Michael Collins <msc@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Monday, February 18, 2013 2:58 PM Subject: Re: [Freeswitch-users] Creating a conference for an incoming call via socket interface Yes there is! If you are listening for a particular event that tells you that you want to send a particular call to a conference then you just need to capture that call's uuid. From there you can either uuid_transfer that call to an extension in your XML dialplan that handles the conference. (examples of these are in the example configs.) Let us know how it goes. -MC On Mon, Feb 18, 2013 at 9:26 AM, lndspereira-fs@yahoo.com <lndspereira-fs@yahoo.com> wrote: Hey all.
I configured the FS to answer any incoming call and I have an application that keeps listen to Freeswitch events. I would like know if there is a way to create a conference and add an incoming call to this conference using the FS socket interface.
Thanks in advance for your help.
Leo
Leonardo Nogueira de Sá Pereira Tel.: +55 19 3307-5589 Cel.: +55 19 9122-5943 Skype: leonardo_pereira_77
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You only have to have a conference profile preconfigured. Other than that you can do basically what you have outlined below, except with uuid_transfer: bgapi uuid_transfer <uuid> conference:confName@default inline Try it out and remember that the standard disclaimer<http://wiki.freeswitch.org/wiki/Reporting_Bugs#Standard_Disclaimer>applies, so tinker a bit before reporting back that it doesn't work. ;) -MC On Mon, Feb 18, 2013 at 10:53 AM, lndspereira-fs@yahoo.com < lndspereira-fs@yahoo.com> wrote:
Ok, it should work, but in this case, I would need to have the "conference resources" pre-configured in Freeswitch. It does not solve my problem :(
I would like to be able to create a conference resource from the application on the fly. I'm trying to take the same approach that I use with outbound calling conferences: - bgapi originate 4001234321 &conference(confName@default) - bgapi conference confName dial 4001234321
I'm looking for something like: - bgapi conference confName@default create UUID (if this is the first conference member) - bgapi conference confName@default add UUID (if conference already exists)
Is there any API/tricky to help me on that?
Leonardo Nogueira de Sá Pereira Tel.: +55 19 3307-5589 Cel.: +55 19 9122-5943 Skype: leonardo_pereira_77
------------------------------ *From:* Michael Collins <msc@freeswitch.org> *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Sent:* Monday, February 18, 2013 2:58 PM *Subject:* Re: [Freeswitch-users] Creating a conference for an incoming call via socket interface
Yes there is! If you are listening for a particular event that tells you that you want to send a particular call to a conference then you just need to capture that call's uuid. From there you can either uuid_transfer that call to an extension in your XML dialplan that handles the conference. (examples of these are in the example configs.)
Let us know how it goes.
-MC
On Mon, Feb 18, 2013 at 9:26 AM, lndspereira-fs@yahoo.com < lndspereira-fs@yahoo.com> wrote:
Hey all. I configured the FS to answer any incoming call and I have an application that keeps listen to Freeswitch events. I would like know if there is a way to create a conference and add an incoming call to this conference using the FS socket interface.
Thanks in advance for your help.
Leo
Leonardo Nogueira de Sá Pereira Tel.: +55 19 3307-5589 Cel.: +55 19 9122-5943 Skype: leonardo_pereira_77
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org <http://www.freeswitch.org/> http://www.ClueCon.com <http://www.cluecon.com/> http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Michael, thank you very much. It worked like a charm. Regards, Leo Leonardo Nogueira de Sá Pereira Tel.: +55 19 3307-5589 Cel.: +55 19 9122-5943 Skype: leonardo_pereira_77 ________________________________ From: Michael Collins <msc@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Monday, February 18, 2013 4:08 PM Subject: Re: [Freeswitch-users] Creating a conference for an incoming call via socket interface You only have to have a conference profile preconfigured. Other than that you can do basically what you have outlined below, except with uuid_transfer: bgapi uuid_transfer <uuid> conference:confName@default inline Try it out and remember that the standard disclaimer applies, so tinker a bit before reporting back that it doesn't work. ;) -MC On Mon, Feb 18, 2013 at 10:53 AM, lndspereira-fs@yahoo.com <lndspereira-fs@yahoo.com> wrote: Ok, it should work, but in this case, I would need to have the "conference resources" pre-configured in Freeswitch. It does not solve my problem :(
I would like to be able to create a conference resource from the application on the fly.
I'm trying to take the same approach that I use with outbound calling conferences: - bgapi originate 4001234321 &conference(confName@default) - bgapi conference confName dial 4001234321
I'm looking for something like: - bgapi conference confName@default create UUID (if this is the first conference member)
- bgapi conference confName@default add UUID (if conference already exists) Is there any API/tricky to help me on that?
Leonardo Nogueira de Sá Pereira Tel.: +55 19 3307-5589 Cel.: +55 19 9122-5943 Skype: leonardo_pereira_77
________________________________ From: Michael Collins <msc@freeswitch.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Monday, February 18, 2013 2:58 PM Subject: Re: [Freeswitch-users] Creating a conference for an incoming call via socket interface
Yes there is! If you are listening for a particular event that tells you that you want to send a particular call to a conference then you just need to capture that call's uuid. From there you can either uuid_transfer that call to an extension in your XML dialplan that handles the conference. (examples of these are in the example configs.)
Let us know how it goes.
-MC
On Mon, Feb 18, 2013 at 9:26 AM, lndspereira-fs@yahoo.com <lndspereira-fs@yahoo.com> wrote:
Hey all.
I configured the FS to answer any incoming call and I have an application that keeps listen to Freeswitch events. I would like know if there is a way to create a conference and add an incoming call to this conference using the FS socket interface.
Thanks in advance for your help.
Leo
Leonardo Nogueira de Sá Pereira Tel.: +55 19 3307-5589 Cel.: +55 19 9122-5943 Skype: leonardo_pereira_77
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
lndspereira-fs@yahoo.com
-
Michael Collins