[asterisk-bugs] [Asterisk 0012509]: [patch] MFC/R2 support for chan_zap

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Apr 29 13:23:10 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12509 
====================================================================== 
Reported By:                moy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12509
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 114097 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-24-2008 01:31 CDT
Last Modified:              04-29-2008 13:23 CDT
====================================================================== 
Summary:                    [patch] MFC/R2 support for chan_zap
Description: 
Here we go. This is my first try to give R2 support to chan_zap. I'm sure I
am missing locks and/or features here and there but I have tested it
internally with success with a considerable amount of concurrent channels
(64). That's the best I can do with the hardware I currently have (more
coming!).


====================================================================== 

---------------------------------------------------------------------- 
 Skarmeth - 04-29-08 13:23  
---------------------------------------------------------------------- 
I am reporting sucess with OpenR2, Asterisk and Zaptel with Digium card. My
setup bellow

Fedora GNU/Linux 8 64 bits
Dell Optiplex 745
Digium TE220 PCIe

Telco company Embratel

********** /etc/zaptel.conf ********** 

loadzone = br
defaultzone=br

span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
dchan=16

********** /etc/asterisk/zapata.conf ********** 

[trunkgroups]

[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes

signalling=mfcr2
mfcr2_variant=br
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all

context=embratel
channel => 1-15
channel => 17-31
group=0
callgroup=0
pickupgroup=0

********** /etc/asterisk/extensions.conf **********

[embratel]

exten => s,1,Answer()
exten => s,n,Playback(beep)
exten => s,n,Playback(beep)
exten => s,n,Playback(beep)
exten => s,n,Playback(beep)
exten => s,n,Playback(beep)
exten => s,n,Playback(beep)
exten => s,n,Playback(beep)
exten => s,n,Playback(beep)
exten => s,n,Hangup()

exten => _29[5-9]X,1,Answer()
exten => _29[5-9]X,2,Queue(suporte)
exten => _29[5-9]X,3,Playback(beep)
exten => _29[5-9]X,4,Hangup()

exten => _XXXXXXXX,1,Dial(Zap/g0/${EXTEN},,T)
exten => _XXXXXXXX,n,Congestion()
exten => _XXXXXXXX,n,Hangup()

exten => _0800.,1,Dial(Zap/g0/${EXTEN},,T)
exten => _0800.,n,Congestion()
exten => _0800.,n,Hangup()

exten => _85XX,1,Dial(SIP/${EXTEN},,T)
exten => _85XX,2,Congestion()
exten => _85XX,3,Hangup()

********** Asterisk Version **********
Asterisk SVN-markster-mfr2-r113008M built by skarmeth @ openr2box on a
x86_64 running Linux on 2008-04-25 16:40:15 UTC

********** Zaptel Version **********

SVN-branch-1.4-r4196

********** OpenR2 Version **********

OpenR2 version: 0.1.1

If you use a RPM-based system, you can get a Spec file for OpenR2 at
http://people.debian-ce.org/skarmeth/arquivos/libopenr2.spec 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-29-08 13:23  Skarmeth       Note Added: 0086150                          
======================================================================




More information about the asterisk-bugs mailing list