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

Robert Hadley robert.hadley at teotech.com
Tue Feb 23 09:48:54 PST 2010


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

 

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


More information about the FreeSWITCH-users mailing list