Make outbound call
Hi all, I am using event socket of FreeSWITCH in "outbound" mode. From my application, I want request FreeSWITCH make outbound call to a SIP client. How I can do it, please guide me? Best regards, Khue Nguyen.
You can do it by several way. For example: sendAsyncCommand( channel, "bgapi originate user/1001 777"); http://wiki.freeswitch.org/wiki/Mod_commands#originate 2012/8/7 Khue Nguyen Minh <khuenm@vega.com.vn>
Hi all,
I am using event socket of FreeSWITCH in "outbound" mode. From my application, I want request FreeSWITCH make outbound call to a SIP client. How I can do it, please guide me?
Best regards, Khue Nguyen.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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 have to use inbound event socket. Inbound: client connects to freeswitch Outbound: freeswitch connects to client In outbound mode, you only get a connection to the client when you have an active call. In order to originate arbitrary calls, you need to make a connection from your client in to FreeSWITCH. Regards, Ben Langfeld On 7 August 2012 09:16, Prevail Magid <m.prevail@gmail.com> wrote:
You can do it by several way.
For example:
sendAsyncCommand( channel, "bgapi originate user/1001 777"); http://wiki.freeswitch.org/wiki/Mod_commands#originate
2012/8/7 Khue Nguyen Minh <khuenm@vega.com.vn>
Hi all,
I am using event socket of FreeSWITCH in "outbound" mode. From my application, I want request FreeSWITCH make outbound call to a SIP client. How I can do it, please guide me?
Best regards, Khue Nguyen.
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Hi Ben, I want use FreeSWITCH in dual mode "Inbound + Outbound". How I can do it? Brs, Khue Nguyen. 2012/8/7 Ben Langfeld <ben@langfeld.co.uk>
You have to use inbound event socket.
Inbound: client connects to freeswitch Outbound: freeswitch connects to client
In outbound mode, you only get a connection to the client when you have an active call. In order to originate arbitrary calls, you need to make a connection from your client in to FreeSWITCH.
Regards, Ben Langfeld McAfee SiteAdvisor Warning This e-mail message contains potentially unsafe links to these sites: freeswitchsolutions.com [image: more info...]<https://www.siteadvisor.com/sites/http://www.freeswitchsolutions.com?pip=false&premium=true&client_uid=3485470565&client_ver=3.5.0.227&client_type=IEPlugin&suite=true&aff_id=0&locale=en_us&ui=1&os_ver=5.1.3.0>
On 7 August 2012 09:16, Prevail Magid <m.prevail@gmail.com> wrote:
You can do it by several way.
For example:
sendAsyncCommand( channel, "bgapi originate user/1001 777"); http://wiki.freeswitch.org/wiki/Mod_commands#originate
2012/8/7 Khue Nguyen Minh <khuenm@vega.com.vn>
Hi all,
I am using event socket of FreeSWITCH in "outbound" mode. From my application, I want request FreeSWITCH make outbound call to a SIP
client.
How I can do it, please guide me?
Best regards, Khue Nguyen.
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
The same way you would if you were using either separately :) Regards, Ben Langfeld On 8 August 2012 02:23, Khue Nguyen Minh <khuenm@vega.com.vn> wrote:
Hi Ben,
I want use FreeSWITCH in dual mode "Inbound + Outbound". How I can do it?
Brs, Khue Nguyen.
2012/8/7 Ben Langfeld <ben@langfeld.co.uk>
You have to use inbound event socket.
Inbound: client connects to freeswitch Outbound: freeswitch connects to client
In outbound mode, you only get a connection to the client when you have an active call. In order to originate arbitrary calls, you need to make a connection from your client in to FreeSWITCH.
Regards, Ben Langfeld McAfee SiteAdvisor Warning This e-mail message contains potentially unsafe links to these sites: freeswitchsolutions.com [image: more info...]<https://www.siteadvisor.com/sites/http://www.freeswitchsolutions.com?pip=false&premium=true&client_uid=3485470565&client_ver=3.5.0.227&client_type=IEPlugin&suite=true&aff_id=0&locale=en_us&ui=1&os_ver=5.1.3.0>
On 7 August 2012 09:16, Prevail Magid <m.prevail@gmail.com> wrote:
You can do it by several way.
For example:
sendAsyncCommand( channel, "bgapi originate user/1001 777"); http://wiki.freeswitch.org/wiki/Mod_commands#originate
2012/8/7 Khue Nguyen Minh <khuenm@vega.com.vn>
Hi all,
I am using event socket of FreeSWITCH in "outbound" mode. From my application, I want request FreeSWITCH make outbound call to a SIP
client.
How I can do it, please guide me?
Best regards, Khue Nguyen.
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Meaning (I'm guessing) setup your dialplan to connect outbound to your script, which when you started it up connected "inbound" to FS... On Wed, Aug 8, 2012 at 2:38 PM, Ben Langfeld <ben@langfeld.co.uk> wrote:
The same way you would if you were using either separately :)
Regards, Ben Langfeld
On 8 August 2012 02:23, Khue Nguyen Minh <khuenm@vega.com.vn> wrote:
Hi Ben,
I want use FreeSWITCH in dual mode "Inbound + Outbound". How I can do it?
Brs, Khue Nguyen.
2012/8/7 Ben Langfeld <ben@langfeld.co.uk>
You have to use inbound event socket.
Inbound: client connects to freeswitch Outbound: freeswitch connects to client
In outbound mode, you only get a connection to the client when you have an active call. In order to originate arbitrary calls, you need to make a connection from your client in to FreeSWITCH.
Regards, Ben Langfeld McAfee SiteAdvisor Warning This e-mail message contains potentially unsafe links to these sites: freeswitchsolutions.com [image: more info...]<https://www.siteadvisor.com/sites/http://www.freeswitchsolutions.com?pip=false&premium=true&client_uid=3485470565&client_ver=3.5.0.227&client_type=IEPlugin&suite=true&aff_id=0&locale=en_us&ui=1&os_ver=5.1.3.0>
On 7 August 2012 09:16, Prevail Magid <m.prevail@gmail.com> wrote:
You can do it by several way.
For example:
sendAsyncCommand( channel, "bgapi originate user/1001 777"); http://wiki.freeswitch.org/wiki/Mod_commands#originate
2012/8/7 Khue Nguyen Minh <khuenm@vega.com.vn>
Hi all,
I am using event socket of FreeSWITCH in "outbound" mode. From my application, I want request FreeSWITCH make outbound call to a SIP
client.
How I can do it, please guide me?
Best regards, Khue Nguyen.
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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
Join Us At ClueCon - Aug 7-9, 2012
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 (4)
-
Ben Langfeld
-
David Villasmil
-
Khue Nguyen Minh
-
Prevail Magid