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

-MC

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Anthony Minessale
Sent: Monday, May 19, 2008 6:02 AM
To: freeswitch-users@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
<[EMAIL PROTECTED]> 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@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:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
GTALK/JABBER/PAYPAL:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
iax:[EMAIL PROTECTED]/888
googletalk:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
pstn:213-799-1400 

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to