[Freeswitch-users] Need help with Openzap and Sangoma A200analog card

Michael Collins mcollins at fcnetwork.com
Mon May 19 13:37:54 EDT 2008


If no one has already done so I'll volunteer to get this wikified on the
OpenZAP section of the wiki.

-MC

 

________________________________

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Anthony Minessale
Sent: Monday, May 19, 2008 6:02 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Need help with Openzap and Sangoma
A200analog card

 

You can use Sangoma cards without the Zaptel Drivers if you wish.
OpenZAP supports direct access to the Sangoma TDMAPI.


-- Starting from the FS build root;
-- Create the /etc/openzap directory and copy in the default files

#cd libs/openzap
#mkdir /etc/openzap
#cp conf/* 

-- Edit openzap.conf and erase the entire contents and start with a
blank file

-- Here is an example FXS span using ports 1 and 2 of the card
-- change the number to whatever default caller id you want the channel
to use
-- For FXS it's the extension this channel represents, for FXO it's the
DID associated with that line.
-- The number field controls what the inbound extension will be on new
calls in FS.

-- Assuming ports 1 and 2 are FXS (phones) and 3 and 4 are FXO (lines):

[span wanpipe]
name => OpenZAP
number => 7001
fxs-channel => 1:1
number => 7002
fxs-channel => 1:2

-- Spans should always be of the same type so if you also have some FXO
channels you need 2 spans.

[span wanpipe]
name => OpenZAP
number => 2121231234
fxs-channel => 1:3
number => 2121231235
fxo-channel => 1:4


To use it with zaptel it's almost the same setup but you use [span zt]
instead of wanpipe and the addressing of the channel defs are zaptel
specific since wanpipe channels use span:chan notation and zaptel only
has chan



[span zt]
name => OpenZAP
number => 7001
fxs-channel => 1
number => 7002
fxs-channel => 2

[span zt]
name => OpenZAP
number => 2121231234
fxs-channel => 3
number => 2121231235
fxo-channel => 4



On Sat, May 17, 2008 at 11:07 PM, jeff sacksteder
<jsacksteder at gmail.com> wrote:

Start here -

http://wiki.freeswitch.org/wiki/OpenZAP#Zaptel_Installation
http://wiki.freeswitch.org/wiki/Openzap.conf_Examples

Not sure if there's an appropriate example for your analog card - you
should post yours into the wiki if you get it working. You might try
asking on IRC, there's more activity there.


> I have a Sangoma A200 card with 2 FXS and 2 FXO interfaces.

> However, I have no idea how to configure OpenZap for my card. I can't
find
> any examples.

_______________________________________________
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




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com> 
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org> 
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org> 
pstn:213-799-1400 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080519/89dd7dca/attachment.html 


More information about the Freeswitch-users mailing list