No subject


Fri Sep 2 03:59:05 CDT 2011


3 for Provider 30 Channels, Outgoing to Provider with DTMF Incoming From
Provider with MFC

4 for Provider 30 Channels, Outgoing to Provider with DTMF Incoming From
Provider with MFC

5 for PABX 30 Channels, Outgoing to PABX with MFC Incoming From PABX with
DTMF

6 for PABX 30 Channels, Outgoing to PABX with MFC Incoming From PABX with
DTMF

7 for PABX 30 Channels, Outgoing to PABX with MFC Incoming From PABX with
DTMF

8 for PABX 30 Channels, Outgoing to PABX with MFC Incoming From PABX with
DTMF


here is my newbie confuse configuration


[trunkgroups]

[channels]
context=from-pstn1
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=cn
mfcr2_get_ani_first=no
mfcr2_max_ani=15
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_call_files=yes
mfcr2_dtmf_dialing=yes
;mfcr2_dtmf_detection=no
;mfcr2_mfback_timeout=-1
;mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=TRUE
mfcr2_logging=all
mfcr2_advanced_protocol_file=/etc/r2proto.conf

group=1
callgroup=1
pickupgroup=1
channel => 1-15,17-31

context=from-pstn2
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=cn
mfcr2_get_ani_first=no
mfcr2_max_ani=15
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_call_files=yes
mfcr2_dtmf_dialing=yes
;mfcr2_dtmf_detection=no
;mfcr2_mfback_timeout=-1
;mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=TRUE
mfcr2_logging=all
mfcr2_advanced_protocol_file=/etc/r2proto.conf

group=2
callgroup=2
pickupgroup=2
channel => 32-46,48-62

context=from-pstn3
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=cn
mfcr2_get_ani_first=no
mfcr2_max_ani=15
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_call_files=yes
mfcr2_dtmf_dialing=yes
;mfcr2_dtmf_detection=no
;mfcr2_mfback_timeout=-1
;mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=TRUE
mfcr2_logging=all
mfcr2_advanced_protocol_file=/etc/r2proto.conf

group=3
callgroup=3
pickupgroup=3
channel => 63-77,79-93

context=from-pstn4
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=cn
mfcr2_get_ani_first=no
mfcr2_max_ani=15
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_call_files=yes
mfcr2_dtmf_dialing=yes
;mfcr2_dtmf_detection=no
;mfcr2_mfback_timeout=-1
;mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=TRUE
mfcr2_logging=all
mfcr2_advanced_protocol_file=/etc/r2proto.conf

group=4
callgroup=4
pickupgroup=4
channel => 94-108,110-124

context=from-pabx1
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=cn
mfcr2_get_ani_first=no
mfcr2_max_ani=15
mfcr2_max_dnis=15
mfcr2_category=national_priority_subscriber
mfcr2_call_files=yes
mfcr2_dtmf_dialing=no
mfcr2_dtmf_detection=yes
;mfcr2_mfback_timeout=-1
;mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=NEC
mfcr2_logging=all
mfcr2_advanced_protocol_file=/etc/r2proto.conf

group=5
callgroup=5
pickupgroup=5
channel => 125-139,141-155

context=from-pabx2
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=cn
mfcr2_get_ani_first=no
mfcr2_max_ani=15
mfcr2_max_dnis=15
mfcr2_category=national_priority_subscriber
mfcr2_call_files=yes
mfcr2_dtmf_dialing=no
mfcr2_dtmf_detection=yes
;mfcr2_mfback_timeout=-1
;mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=NEC
mfcr2_logging=all
mfcr2_advanced_protocol_file=/etc/r2proto.conf

group=6
callgroup=6
pickupgroup=6
channel => 156-170,172-186

context=from-pabx3
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=cn
mfcr2_get_ani_first=no
mfcr2_max_ani=15
mfcr2_max_dnis=15
mfcr2_category=national_priority_subscriber
mfcr2_call_files=yes
mfcr2_dtmf_dialing=no
mfcr2_dtmf_detection=yes
;mfcr2_mfback_timeout=-1
;mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=NEC
mfcr2_logging=all
mfcr2_advanced_protocol_file=/etc/r2proto.conf

group=7
callgroup=7
pickupgroup=7
channel => 187-201,203-217

context=from-pabx4
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=cn
mfcr2_get_ani_first=no
mfcr2_max_ani=15
mfcr2_max_dnis=15
mfcr2_category=national_priority_subscriber
mfcr2_call_files=yes
mfcr2_dtmf_dialing=no
mfcr2_dtmf_detection=yes
;mfcr2_mfback_timeout=-1
;mfcr2_metering_pulse_timeout=-1
mfcr2_logdir=NEC
mfcr2_logging=all
mfcr2_advanced_protocol_file=/etc/r2proto.conf

group=8
callgroup=8
pickupgroup=8
channel => 218-232,234-248

-- 
Best regards

Piyawit Khumkrong

--bcaec552428a278c2504c0e08a2d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Dear all<br><br>Now i&#39;m using 1 E1 DTMF-R2 for outgoing call and MFC-R2=
 for Incoming call with help from Moise<br><br>so now i&#39;ve expand chann=
el to 8 E1( 4 E1 to Provider and 4 E1 to NEC PABX)<br><br>then i try to con=
fig with copy old config and change the channel range hope it work but some=
 E1 not work<br>
<br>please help me for config chan_dahdi.conf or other files required with =
this requirement<br><br>1 for Provider 30 Channels, Outgoing to Provider wi=
th DTMF Incoming From Provider with MFC<br><br>2 for Provider first 15 Chan=
nels, Outgoing to Provider with DTMF Incoming From Provider with MFC<br>
<br>2 for Provider last 15 Channels, Outgoing to Provider with MFC Incoming=
 From Provider with MFC<br><br>3 for Provider 30 Channels, Outgoing to Prov=
ider with DTMF Incoming From Provider with MFC<br><br>4 for Provider 30 Cha=
nnels, Outgoing to Provider with DTMF Incoming From Provider with MFC<br>
<br>5 for PABX 30 Channels, Outgoing to PABX with MFC Incoming From PABX wi=
th DTMF<br><br>6 for PABX 30 Channels, Outgoing to PABX with MFC Incoming F=
rom PABX with DTMF<br><br>7 for PABX 30 Channels, Outgoing to PABX with MFC=
 Incoming From PABX with DTMF<br>
<br>8 for PABX 30 Channels, Outgoing to PABX with MFC Incoming From PABX wi=
th DTMF<br><br><br>here is my newbie confuse configuration<br><br><br>[trun=
kgroups]<br><br>[channels]<br>context=3Dfrom-pstn1<br>usecallerid=3Dyes<br>
callwaiting=3Dyes<br>usecallingpres=3Dyes<br>callwaitingcallerid=3Dyes<br>t=
hreewaycalling=3Dyes<br>transfer=3Dyes<br>canpark=3Dyes<br>cancallforward=
=3Dyes<br>callreturn=3Dyes<br>echocancel=3Dyes<br>echocancelwhenbridged=3Dy=
es<br><br>signalling=3Dmfcr2<br>
mfcr2_variant=3Dcn<br>mfcr2_get_ani_first=3Dno<br>mfcr2_max_ani=3D15<br>mfc=
r2_max_dnis=3D4<br>mfcr2_category=3Dnational_subscriber<br>mfcr2_call_files=
=3Dyes<br>mfcr2_dtmf_dialing=3Dyes<br>;mfcr2_dtmf_detection=3Dno<br>;mfcr2_=
mfback_timeout=3D-1<br>
;mfcr2_metering_pulse_timeout=3D-1<br>mfcr2_logdir=3DTRUE<br>mfcr2_logging=
=3Dall<br>mfcr2_advanced_protocol_file=3D/etc/r2proto.conf<br><br>group=3D1=
<br>callgroup=3D1<br>pickupgroup=3D1<br>channel =3D&gt; 1-15,17-31<br><br>c=
ontext=3Dfrom-pstn2<br>
usecallerid=3Dyes<br>callwaiting=3Dyes<br>usecallingpres=3Dyes<br>callwaiti=
ngcallerid=3Dyes<br>threewaycalling=3Dyes<br>transfer=3Dyes<br>canpark=3Dye=
s<br>cancallforward=3Dyes<br>callreturn=3Dyes<br>echocancel=3Dyes<br>echoca=
ncelwhenbridged=3Dyes<br>
<br>signalling=3Dmfcr2<br>mfcr2_variant=3Dcn<br>mfcr2_get_ani_first=3Dno<br=
>mfcr2_max_ani=3D15<br>mfcr2_max_dnis=3D4<br>mfcr2_category=3Dnational_subs=
criber<br>mfcr2_call_files=3Dyes<br>mfcr2_dtmf_dialing=3Dyes<br>;mfcr2_dtmf=
_detection=3Dno<br>
;mfcr2_mfback_timeout=3D-1<br>;mfcr2_metering_pulse_timeout=3D-1<br>mfcr2_l=
ogdir=3DTRUE<br>mfcr2_logging=3Dall<br>mfcr2_advanced_protocol_file=3D/etc/=
r2proto.conf<br><br>group=3D2<br>callgroup=3D2<br>pickupgroup=3D2<br>channe=
l =3D&gt; 32-46,48-62<br>
<br>context=3Dfrom-pstn3<br>usecallerid=3Dyes<br>callwaiting=3Dyes<br>useca=
llingpres=3Dyes<br>callwaitingcallerid=3Dyes<br>threewaycalling=3Dyes<br>tr=
ansfer=3Dyes<br>canpark=3Dyes<br>cancallforward=3Dyes<br>callreturn=3Dyes<b=
r>echocancel=3Dyes<br>
echocancelwhenbridged=3Dyes<br><br>signalling=3Dmfcr2<br>mfcr2_variant=3Dcn=
<br>mfcr2_get_ani_first=3Dno<br>mfcr2_max_ani=3D15<br>mfcr2_max_dnis=3D4<br=
>mfcr2_category=3Dnational_subscriber<br>mfcr2_call_files=3Dyes<br>mfcr2_dt=
mf_dialing=3Dyes<br>
;mfcr2_dtmf_detection=3Dno<br>;mfcr2_mfback_timeout=3D-1<br>;mfcr2_metering=
_pulse_timeout=3D-1<br>mfcr2_logdir=3DTRUE<br>mfcr2_logging=3Dall<br>mfcr2_=
advanced_protocol_file=3D/etc/r2proto.conf<br><br>group=3D3<br>callgroup=3D=
3<br>pickupgroup=3D3<br>
channel =3D&gt; 63-77,79-93<br><br>context=3Dfrom-pstn4<br>usecallerid=3Dye=
s<br>callwaiting=3Dyes<br>usecallingpres=3Dyes<br>callwaitingcallerid=3Dyes=
<br>threewaycalling=3Dyes<br>transfer=3Dyes<br>canpark=3Dyes<br>cancallforw=
ard=3Dyes<br>callreturn=3Dyes<br>
echocancel=3Dyes<br>echocancelwhenbridged=3Dyes<br><br>signalling=3Dmfcr2<b=
r>mfcr2_variant=3Dcn<br>mfcr2_get_ani_first=3Dno<br>mfcr2_max_ani=3D15<br>m=
fcr2_max_dnis=3D4<br>mfcr2_category=3Dnational_subscriber<br>mfcr2_call_fil=
es=3Dyes<br>mfcr2_dtmf_dialing=3Dyes<br>
;mfcr2_dtmf_detection=3Dno<br>;mfcr2_mfback_timeout=3D-1<br>;mfcr2_metering=
_pulse_timeout=3D-1<br>mfcr2_logdir=3DTRUE<br>mfcr2_logging=3Dall<br>mfcr2_=
advanced_protocol_file=3D/etc/r2proto.conf<br><br>group=3D4<br>callgroup=3D=
4<br>pickupgroup=3D4<br>
channel =3D&gt; 94-108,110-124<br><br>context=3Dfrom-pabx1<br>usecallerid=
=3Dyes<br>callwaiting=3Dyes<br>usecallingpres=3Dyes<br>callwaitingcallerid=
=3Dyes<br>threewaycalling=3Dyes<br>transfer=3Dyes<br>canpark=3Dyes<br>canca=
llforward=3Dyes<br>
callreturn=3Dyes<br>echocancel=3Dyes<br>echocancelwhenbridged=3Dyes<br><br>=
signalling=3Dmfcr2<br>mfcr2_variant=3Dcn<br>mfcr2_get_ani_first=3Dno<br>mfc=
r2_max_ani=3D15<br>mfcr2_max_dnis=3D15<br>mfcr2_category=3Dnational_priorit=
y_subscriber<br>
mfcr2_call_files=3Dyes<br>mfcr2_dtmf_dialing=3Dno<br>mfcr2_dtmf_detection=
=3Dyes<br>;mfcr2_mfback_timeout=3D-1<br>;mfcr2_metering_pulse_timeout=3D-1<=
br>mfcr2_logdir=3DNEC<br>mfcr2_logging=3Dall<br>mfcr2_advanced_protocol_fil=
e=3D/etc/r2proto.conf<br>
<br>group=3D5<br>callgroup=3D5<br>pickupgroup=3D5<br>channel =3D&gt; 125-13=
9,141-155<br><br>context=3Dfrom-pabx2<br>usecallerid=3Dyes<br>callwaiting=
=3Dyes<br>usecallingpres=3Dyes<br>callwaitingcallerid=3Dyes<br>threewaycall=
ing=3Dyes<br>transfer=3Dyes<br>
canpark=3Dyes<br>cancallforward=3Dyes<br>callreturn=3Dyes<br>echocancel=3Dy=
es<br>echocancelwhenbridged=3Dyes<br><br>signalling=3Dmfcr2<br>mfcr2_varian=
t=3Dcn<br>mfcr2_get_ani_first=3Dno<br>mfcr2_max_ani=3D15<br>mfcr2_max_dnis=
=3D15<br>mfcr2_category=3Dnational_priority_subscriber<br>
mfcr2_call_files=3Dyes<br>mfcr2_dtmf_dialing=3Dno<br>mfcr2_dtmf_detection=
=3Dyes<br>;mfcr2_mfback_timeout=3D-1<br>;mfcr2_metering_pulse_timeout=3D-1<=
br>mfcr2_logdir=3DNEC<br>mfcr2_logging=3Dall<br>mfcr2_advanced_protocol_fil=
e=3D/etc/r2proto.conf<br>
<br>group=3D6<br>callgroup=3D6<br>pickupgroup=3D6<br>channel =3D&gt; 156-17=
0,172-186<br><br>context=3Dfrom-pabx3<br>usecallerid=3Dyes<br>callwaiting=
=3Dyes<br>usecallingpres=3Dyes<br>callwaitingcallerid=3Dyes<br>threewaycall=
ing=3Dyes<br>transfer=3Dyes<br>
canpark=3Dyes<br>cancallforward=3Dyes<br>callreturn=3Dyes<br>echocancel=3Dy=
es<br>echocancelwhenbridged=3Dyes<br><br>signalling=3Dmfcr2<br>mfcr2_varian=
t=3Dcn<br>mfcr2_get_ani_first=3Dno<br>mfcr2_max_ani=3D15<br>mfcr2_max_dnis=
=3D15<br>mfcr2_category=3Dnational_priority_subscriber<br>
mfcr2_call_files=3Dyes<br>mfcr2_dtmf_dialing=3Dno<br>mfcr2_dtmf_detection=
=3Dyes<br>;mfcr2_mfback_timeout=3D-1<br>;mfcr2_metering_pulse_timeout=3D-1<=
br>mfcr2_logdir=3DNEC<br>mfcr2_logging=3Dall<br>mfcr2_advanced_protocol_fil=
e=3D/etc/r2proto.conf<br>
<br>group=3D7<br>callgroup=3D7<br>pickupgroup=3D7<br>channel =3D&gt; 187-20=
1,203-217<br><br>context=3Dfrom-pabx4<br>usecallerid=3Dyes<br>callwaiting=
=3Dyes<br>usecallingpres=3Dyes<br>callwaitingcallerid=3Dyes<br>threewaycall=
ing=3Dyes<br>transfer=3Dyes<br>
canpark=3Dyes<br>cancallforward=3Dyes<br>callreturn=3Dyes<br>echocancel=3Dy=
es<br>echocancelwhenbridged=3Dyes<br><br>signalling=3Dmfcr2<br>mfcr2_varian=
t=3Dcn<br>mfcr2_get_ani_first=3Dno<br>mfcr2_max_ani=3D15<br>mfcr2_max_dnis=
=3D15<br>mfcr2_category=3Dnational_priority_subscriber<br>
mfcr2_call_files=3Dyes<br>mfcr2_dtmf_dialing=3Dno<br>mfcr2_dtmf_detection=
=3Dyes<br>;mfcr2_mfback_timeout=3D-1<br>;mfcr2_metering_pulse_timeout=3D-1<=
br>mfcr2_logdir=3DNEC<br>mfcr2_logging=3Dall<br>mfcr2_advanced_protocol_fil=
e=3D/etc/r2proto.conf<br>
<br>group=3D8<br>callgroup=3D8<br>pickupgroup=3D8<br>channel =3D&gt; 218-23=
2,234-248<br clear=3D"all"><br>-- <br><div>Best regards<br><br>Piyawit Khum=
krong<br></div>

--bcaec552428a278c2504c0e08a2d--



More information about the asterisk-r2 mailing list