Hello everybody,<br><br>I'm having a problem with the interpretation asterisk does of this file(chan_dahdi.conf), the file itself contains the definition of an E1 link (fractional 1-15 for incoming calls and 17-31 to send calls) in Venezuela with the well know ISP CANTV(incoming r2, outgoing dtmf). The openr2 version is 1.3.2 (compiled), asterisk 10.9.0 (compiled), dahdi 2.6.1 (compiled), freepbx 2.10 (compiled). Almost everything is working fine, but when I type the command "mfcr2 show channels" it shows the 30 channels without the 16, but as part of the info, the row named "Immediate Accept" show channels from 1 to 21 in "no", and channels from 22 to 31 in "yes". As long as I understand, this field is controlled by the parameter mfcr2_immediate_accept in the chan_dahdi.conf file, but the file (attached to this mail) indicates the first 15 channels(1-15) should be in mfcr2_immediate_accept=no and the next 15 (17-31) should be in mfcr2_immediate_accept=yes. As long as I have tested it, if the channel indicates Immediate Accept = no in the CLI, it receives calls but not send call, and if the channel indicates Immediate Accept = yes, it alow to send call but not receive. So what I basically have is channels from 17-21 unable to send calls. I have done hundred of test, with many weird behaviors, invert the channels definition, split the channels definitions, etc. I don't know if its a bug or maybe my definition is wrong. I sending a copy of the chan_dadhi.conf and the result of mfcr2 command in this email.<br>
<br>Any help will be appreciated,<br><br>Chan Variant Max ANI Max DNIS ANI First Immediate Accept Tx CAS Rx CAS <br> 1 VE 10 4 Yes No IDLE IDLE <br>
2 VE 10 4 Yes No IDLE IDLE <br> 3 VE 10 4 Yes No IDLE IDLE <br> 4 VE 10 4 Yes No IDLE IDLE <br>
5 VE 10 4 Yes No IDLE IDLE <br> 6 VE 10 4 Yes No IDLE IDLE <br> 7 VE 10 4 Yes No IDLE IDLE <br>
8 VE 10 4 Yes No IDLE IDLE <br> 9 VE 10 4 Yes No IDLE IDLE <br> 10 VE 10 4 Yes No IDLE IDLE <br>
11 VE 10 4 Yes No IDLE IDLE <br> 12 VE 10 4 Yes No IDLE IDLE <br> 13 VE 10 4 Yes No IDLE IDLE <br>
14 VE 10 4 Yes No IDLE IDLE <br> 15 VE 10 4 Yes No IDLE IDLE <br> 17 VE 10 4 Yes No IDLE IDLE <br>
18 VE 10 4 Yes No IDLE IDLE <br> 19 VE 10 4 Yes No IDLE IDLE <br> 20 VE 10 4 Yes No IDLE IDLE <br>
21 VE 10 4 Yes No IDLE IDLE <br> 22 VE 10 4 Yes Yes IDLE IDLE <br> 23 VE 10 4 Yes Yes SEIZE ANSWER <br>
24 VE 10 4 Yes Yes SEIZE ANSWER <br> 25 VE 10 4 Yes Yes IDLE IDLE <br> 26 VE 10 4 Yes Yes IDLE IDLE <br>
27 VE 10 4 Yes Yes IDLE IDLE <br> 28 VE 10 4 Yes Yes IDLE IDLE <br> 29 VE 10 4 Yes Yes IDLE IDLE <br>
30 VE 10 4 Yes Yes IDLE IDLE <br> 31 VE 10 4 Yes Yes IDLE IDLE <br><br>
[trunkgroups]<br><br>[channels]<br>context=default<br>usecallerid=yes<br>hidecallerid=no<br>callwaiting=yes<br>usecallingpres=yes<br>callwaitingcallerid=yes<br>threewaycalling=yes<br>transfer=yes<br>canpark=yes<br>cancallforward=yes<br>
callreturn=yes<br>echocancel=yes<br>echocancelwhenbridged=yes<br>relaxdtmf=yes<br>rxgain=0.0<br>txgain=0.0<br>;group=1<br>;callgroup=1<br>;pickupgroup=1<br>;immediate=no<br><br><br>;Sangoma A101 port 1 [slot:2 bus:9 span:1] <wanpipe1><br>
group=1<br>context=from-trunk<br>echocancel=yes<br>faxdetect=incoming<br>signalling=mfcr2<br>mfcr2_call_files=yes<br>mfcr2_variant=ve<br>mfcr2_get_ani_first=yes<br>mfcr2_immediate_accept=no<br>mfcr2_max_ani=10<br>mfcr2_max_dnis=4<br>
mfcr2_category=national_subscriber<br>mfcr2_logdir=cantv<br>mfcr2_logging=all<br>mfcr2_mfback_timeout=-1<br>channel=1-15<br><br>group=2<br>context=from-internal<br>signalling=mfcr2<br>mfcr2_variant=ve<br>mfcr2_get_ani_first=yes<br>
mfcr2_immediate_accept=yes<br>mfcr2_dtmf_detection=1<br>mfcr2_dtmf_dialing=1<br>mfcr2_max_ani=10<br>mfcr2_max_dnis=4<br>mfcr2_category=national_subscriber<br>mfcr2_logdir=cantv<br>mfcr2_logging=all<br>mfcr2_mfback_timeout=-1<br>
channel=17-31<br><br clear="all"><br>-- <br>Rafael A Angulo R<br>Director Gerente<br>Tarma Consultores C.A.<br>Cel. (58)(414)106.04.73<br>Ofi. (58)(212)793.49.81<br><br><br>