Some Sample C programs in using FreeSwitch APIs
Can any one provide some C programs showing how to use FreeSwitch APIs to build an UAC or UAS? Thanks & Regards Scott
Extend FS to suit some customized requirements, for example to create a module in C to replace "bridge" application function, I had a look on mod_dptools, no problem to understand that, but have no idea how session/channel/stream/settings etc are linked together, think a simple UAC might be a good reference point -----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, 12 February 2009 9:38 AM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Some Sample C programs in using FreeSwitch APIs What purpose are you looking to use FreeSWITCH for? /b On Feb 9, 2009, at 6:17 PM, Scott Shen wrote: Can any one provide some C programs showing how to use FreeSwitch APIs to build an UAC or UAS? Thanks & Regards Scott
does the current bridge function not work? The bridge is wrapped in the core switch_ivr_* functions which takes care of this stuff... I can't see a clear reason you would want to replace that can you describe what you're wanting to accomplish because that function does many neat and interesting things. You're basically describing ripping the core out of FreeSWITCH and replacing it with something else... Can you hope on #freeswitch on irc.freenode.net and lets talk about your need or maybe you can email me off list. /b On Feb 11, 2009, at 7:28 PM, Scott Shen wrote:
Extend FS to suit some customized requirements, for example to create a module in C to replace “bridge” application function, I had a look on mod_dptools, no problem to understand that, but have no idea how session/channel/stream/settings etc are linked together, think a simple UAC might be a good reference point
every file in src/mod/*/mod_*/*.c?? is more or less an example. most of bridge code is in switch_ivr_bridge.c On Mon, Feb 9, 2009 at 6:17 PM, Scott Shen <sshen@oa.com.au> wrote:
Can any one provide some C programs showing how to use FreeSwitch APIs to build an UAC or UAS?
Thanks & Regards
Scott
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (3)
-
Anthony Minessale
-
Brian West
-
Scott Shen