<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 10">
<meta name="Originator" content="Microsoft Word 10">
<link rel="File-List" href="cid:filelist.xml@01C98D0D.6FEC7AF0"><!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:UseFELayout/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-alt:\5B8B\4F53;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;
        mso-font-charset:134;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:3 135135232 16 0 262145 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:SimSun;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.spelle
        {mso-style-name:spelle;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="tab-interval:36.0pt;word-wrap: break-word;
-webkit-nbsp-mode: space;-webkit-line-break: after-white-space">
<div class="Section1">
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Extend FS to suit some customized requirements, for example to create a module in C to replace &#8220;bridge&#8221; application function, I had a
 look on <span class="SpellE">mod_dptools</span>, 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<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">-----Original Message-----<br>
<b><span style="font-weight:bold">From:</span></b> freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org]
<b><span style="font-weight:
bold">On Behalf Of </span></b>Brian West<br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, 12 February 2009 9:38 AM<br>
<b><span style="font-weight:bold">To:</span></b> freeswitch-dev@lists.freeswitch.org<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-dev] Some Sample C programs in using FreeSwitch APIs</span></font></p>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">What purpose are you looking to use FreeSWITCH for? &nbsp;<o:p></o:p></span></font></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">/b<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Feb 9, 2009, at 6:17 PM, Scott Shen wrote:<o:p></o:p></span></font></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br style="mso-special-character:
line-break">
<![if !supportLineBreakNewLine]><br style="mso-special-character:line-break">
<![endif]><o:p></o:p></span></font></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" color="black" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:black"><u1:p><span style="orphans: 2;text-align:auto;widows: 2;-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0;word-spacing:0px">&nbsp;</u1:p></span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" color="black" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:black">Can any one provide some C programs showing how to use<span class="apple-converted-space">&nbsp;</span><span class="spelle">FreeSwitch</span><span class="apple-converted-space">&nbsp;</span>APIs
 to build an UAC or UAS?<u1:p></u1:p></span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" color="black" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:black"><u1:p>&nbsp;</u1:p></span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" color="black" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:black">Thanks &amp; Regards<u1:p></u1:p></span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="2" color="black" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:black">Scott</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
</div>
</div>
</span>
<p class="MsoNormal" style="margin-left:36.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
</div>
</div>
</body>
</html>