[Freeswitch-users] Possible typo on Openzap.conf wiki page specifying fxs/fxo-channels

Brian West brian at freeswitch.org
Tue Feb 23 09:53:46 PST 2010


You can edit the examples on the wiki and it should be good.

/b

On Feb 23, 2010, at 11:48 AM, Robert Hadley wrote:

> On the http://wiki.freeswitch.org/wiki/Openzap.conf_Examples wiki page, is there a typo in the wanpipe/usr/local/freeswitch/conf/openzap.conf example concerning specifying the fxo-channel vs. fxs-channel?
> 
> In the [span wanpipe FXS] section the channels are shown on wiki page as fxo-channels => 1:1 and 1:2
> 
> In the [span wanpipe FXO] section the channels are shown on wiki page as fxs-channels => 1:3 and 1:4
> 
> 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.
> 
> Except from wiki page:
> Sangoma A200/A400
> A200, A200D, A400, A400D series and variants
> 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.
> 
> 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:
> 
> /usr/local/freeswitch/conf/openzap.conf:
> 
> [span zt FXO]
> name => OpenZAP
> number => 3001
> fxo-channel => 1
> number => 3002
> fxo-channel => 2
>  
> [span zt FXS]
> name => OpenZAP
> number => 4165551111
> fxs-channel => 3
> number => 4165552222
> fxs-channel => 4
> If wanpipe is standalone, you need to configure openzap.conf with [span wanpipe] entries. For the same example as above this would be:
> 
> /usr/local/freeswitch/conf/openzap.conf:
> 
> [span wanpipe FXS]
> # This is the value of the callerid_name variable that is raised in the dialplan
> name => Analog Phone 1
> # This is the value of the callerid_number variable that is raised in the dialplan
> number => 3001
> fxo-channel => 1:1
> name => Analog Phone 2
> number => 3002
> fxo-channel => 1:2
>  
> [span wanpipe FXO]
> # the chan_name variable will raised as "OpenZAP/2:1/4165551111" in dialplan when an incoming call arrives on this port
> name => PSTN line 1
> number => 4165551111
> fxs-channel => 1:3
> name => PSTN line 2
> number => 4165552222
> fxs-channel => 1:4
>  
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100223/891675db/attachment-0002.html 


More information about the FreeSWITCH-users mailing list