<html><head><base href="x-msg://114/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You can edit the examples on the wiki and it should be good.<div><br></div><div>/b</div><div><br><div><div>On Feb 23, 2010, at 11:48 AM, Robert Hadley wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -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: 0px; "><div lang="EN-US" link="blue" vlink="purple"><div class="Section1"><h2 style="margin-right: 0in; margin-left: 0in; font-size: 18pt; font-family: 'Times New Roman'; font-weight: bold; "><span class="mw-headline"><b><font size="2" face="Arial"><span lang="EN" style="font-size: 10pt; font-family: Arial; font-weight: normal; ">On the<span class="Apple-converted-space"> </span></span></font></b></span><span class="mw-headline"><font size="2" face="Arial"><span lang="EN" style="font-size: 10pt; font-family: Arial; "><a href="http://wiki.freeswitch.org/wiki/Openzap.conf_Examples" style="color: blue; text-decoration: underline; ">http://wiki.freeswitch.org/wiki/Openzap.conf_Examples</a></span></font></span><span class="mw-headline"><font size="2" face="Arial"><span lang="EN" style="font-size: 10pt; font-family: Arial; font-weight: normal; "><span class="Apple-converted-space"> </span>wiki page, is there a typo in the wanpipe</span></font></span><span class="mw-headline"><font size="1" face="Courier New"><span lang="EN" style="font-size: 9pt; font-family: 'Courier New'; font-weight: normal; "></span></font></span><font size="1" face="Courier New"><span lang="EN" style="font-size: 9pt; font-family: 'Courier New'; font-weight: normal; ">/usr/local/freeswitch/conf/openzap.conf<span class="Apple-converted-space"> </span></span></font><font size="2" face="Arial"><span lang="EN" style="font-size: 10pt; font-family: Arial; font-weight: normal; ">example concerning specifying the fxo-channel vs. fxs-channel?<o:p></o:p></span></font></h2><h2 style="margin-right: 0in; margin-left: 0in; font-size: 18pt; font-family: 'Times New Roman'; font-weight: bold; "><span class="mw-headline"><b><font size="2" face="Arial"><span lang="EN" style="font-size: 10pt; font-family: Arial; font-weight: normal; ">In the [span wanpipe FXS] section the channels are shown on wiki page as fxo-channels => 1:1 and 1:2<o:p></o:p></span></font></b></span></h2><h2 style="margin-right: 0in; margin-left: 0in; font-size: 18pt; font-family: 'Times New Roman'; font-weight: bold; "><span class="mw-headline"><b><font size="2" face="Arial"><span lang="EN" style="font-size: 10pt; font-family: Arial; font-weight: normal; ">In the [span wanpipe FXO] section the channels are shown on wiki page as fxs-channels => 1:3 and 1:4<o:p></o:p></span></font></b></span></h2><h2 style="margin-right: 0in; margin-left: 0in; font-size: 18pt; font-family: 'Times New Roman'; font-weight: bold; "><span class="mw-headline"><b><font size="2" face="Arial"><span lang="EN" style="font-size: 10pt; font-family: Arial; font-weight: normal; ">Are specifying the fxs-channels and fxo-channels shown in the wrong sections? I had to specify fxs-channels in the FXS span and fxo-channels in the FXO span to get it working on my hardware.<o:p></o:p></span></font></b></span></h2><h2 style="margin-right: 0in; margin-left: 0in; font-size: 18pt; font-family: 'Times New Roman'; font-weight: bold; margin-top: 0in; margin-bottom: 0.0001pt; "><span class="mw-headline"><b><font size="2" face="Arial"><span lang="EN" style="font-size: 10pt; font-family: Arial; font-weight: normal; ">Except from wiki page:<o:p></o:p></span></font></b></span></h2><h2 style="margin-right: 0in; margin-left: 0in; font-size: 18pt; font-family: 'Times New Roman'; font-weight: bold; margin-top: 0in; margin-bottom: 0.0001pt; "><span class="mw-headline"><b><font size="5" face="Times New Roman"><span lang="EN" style="font-size: 18pt; ">Sangoma A200/A400</span></font></b></span><span lang="EN"><o:p></o:p></span></h2><ul type="disc" style="margin-bottom: 0in; "><li class="MsoNormal" style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span lang="EN" style="font-size: 12pt; ">A200, A200D, A400, A400D series and variants<o:p></o:p></span></font></li></ul><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span lang="EN" style="font-size: 12pt; ">The configuration depends on whether wanpipe is configured to use Zaptel TDM Voice, or the Sangoma standalone TDM Voice API. This is determined in the installation and configuration of the Sangoma wanpipe software.<o:p></o:p></span></font></p><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span lang="EN" style="font-size: 12pt; ">If wanpipe is using Zaptel, you need to configure openzap.conf with [span zt] entries. For example, if ports 1 and 2 are FXS (e.g. configured to accept analog phone connections), and ports 3 and 4 are FXO (e.g. configured to accept PSTN analog lines) you will need:<o:p></o:p></span></font></p><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span lang="EN" style="font-size: 12pt; ">/usr/local/freeswitch/conf/openzap.conf:<o:p></o:p></span></font></p><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">[span zt FXO]<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">name => OpenZAP<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">number => 3001<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">fxo-channel => 1<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">number => 3002<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">fxo-channel => 2<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; "><o:p> </o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">[span zt FXS]<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">name => OpenZAP<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">number => 4165551111<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">fxs-channel => 3<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">number => 4165552222<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">fxs-channel => 4<o:p></o:p></span></font></pre><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span lang="EN" style="font-size: 12pt; ">If wanpipe is standalone, you need to configure openzap.conf with [span wanpipe] entries. For the same example as above this would be:<o:p></o:p></span></font></p><p style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; "><font size="3" face="Times New Roman"><span lang="EN" style="font-size: 12pt; ">/usr/local/freeswitch/conf/openzap.conf:<o:p></o:p></span></font></p><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">[span wanpipe FXS]<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; "># This is the value of the callerid_name variable that is raised in the dialplan<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">name => Analog Phone 1<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; "># This is the value of the callerid_number variable that is raised in the dialplan<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">number => 3001<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">fxo-channel => 1:1<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">name => Analog Phone 2<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">number => 3002<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">fxo-channel => 1:2<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; "><o:p> </o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">[span wanpipe FXO]<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; "># the chan_name variable will raised as "OpenZAP/2:1/4165551111" in dialplan when an incoming call arrives on this port<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">name => PSTN line 1<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">number => 4165551111<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">fxs-channel => 1:3<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">name => PSTN line 2<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">number => 4165552222<o:p></o:p></span></font></pre><pre style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 10pt; font-family: 'Courier New'; "><font size="2" face="Courier New"><span lang="EN" style="font-size: 10pt; ">fxs-channel => 1:4<o:p></o:p></span></font></pre><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0in; margin-bottom: 0.0001pt; "><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; "><o:p> </o:p></span></font></div></div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: blue; text-decoration: underline; ">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" style="color: blue; text-decoration: underline; ">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br><a href="http://www.freeswitch.org" style="color: blue; text-decoration: underline; ">http://www.freeswitch.org</a><br></div></span></blockquote></div><br></div></body></html>