<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">axi, fijate que tenes que configurar en /etc/dahdi/system.conf<div class="im" style="color: rgb(80, 0, 80); ">
<br><br>span=1,0,0,cas,hdb3<br></div><div>cas=1-15:1101</div>cas=17-31:1101<div class="im" style="color: rgb(80, 0, 80); ">echocanceller=mg2,1-15,17-31<div><br></div></div><div>Otra cosa, te recomiendo sacar el " mfcr2_logging=all" ya que escribe todo el protocolo y si tenes muchas llamadas simultaneas pone mas lento el sistema sin sentido.</div>
<div><br></div><div>Saludos,</div><div><br></div><div><div><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span lang="ES"><font face="Calibri">Instalación y Soporte</font></span></p>
<p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span lang="ES"><font face="Calibri"> </font></span></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; ">
<b><span lang="ES" style="color: rgb(23, 54, 93); "><font face="Calibri"><span> </span>Benjamín Garzón</font></span></b></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><font face="Calibri"><b><span lang="ES" style="color: rgb(84, 141, 212); "><span> </span></span></b><b><span lang="ES" style="color: rgb(84, 141, 212); ">EFoX</span></b></font></p>
<p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><b><span lang="ES" style="color: rgb(84, 141, 212); "><font face="Calibri">Soluciones Informáticas</font></span></b></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; ">
<span lang="ES"><font face="Calibri">Maipu 460- Villa María- Córdoba</font></span></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><font face="Calibri"><span><span lang="ES" style="color: black; ">Av. Sagrada Familia 1424</span></span><b><span lang="ES" style="color: black; "> - </span></b></font><span lang="ES" style="color: black; "><font face="Calibri">Córdoba</font></span></p>
<p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; "><span lang="ES" style="color: black; "><a href="http://www.voipgroup.com.ar/" target="_blank" style="color: rgb(17, 65, 112); "><font face="Calibri"></font><b><span style="font-weight: normal; "><font color="#0000ff" face="Calibri" style="color: rgb(17, 65, 112); ">www.voipgroup.com.ar</font></span></b></a></span></p>
</div></div><div><br></div></span><br><div class="gmail_quote">On Tue, Mar 29, 2011 at 2:00 PM, <span dir="ltr"><<a href="mailto:asterisk-r2-request@lists.digium.com">asterisk-r2-request@lists.digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send asterisk-r2 mailing list submissions to<br>
<a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:asterisk-r2-request@lists.digium.com">asterisk-r2-request@lists.digium.com</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:asterisk-r2-owner@lists.digium.com">asterisk-r2-owner@lists.digium.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of asterisk-r2 digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Collect Calls (Guilherme)<br>
2. Update desde 1.4 a 1.8 con R2 y con problemas luego de<br>
actualizar. (Maxi)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 28 Mar 2011 15:41:02 -0300<br>
From: "Guilherme" <<a href="mailto:guilherme@vdt.com.br">guilherme@vdt.com.br</a>><br>
Subject: [asterisk-r2] Collect Calls<br>
To: <<a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a>><br>
Message-ID: <77038CE8B6D342298D9B0DA7E99EAF71@notecpd><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
I have some issues to receive a collect call in a specific extension.<br>
<br>
My asterisk is configured to do not accept collect call but I need to receive it in a especific context.<br>
In my chan_dahdi.conf<br>
<br>
mfcr2_allow_collect_calls=no<br>
mfcr2_double_answer=yes<br>
<br>
<br>
I answer the collect call with application DAHDIAcceptR2Call(yes) but all collect calls are blocked when I hook off.<br>
<br>
When the call is answerd the error below appear<br>
<br>
[Mar 25 10:32:04] ERROR[31713]: chan_dahdi.c:1602 dahdi_r2_write_log: Chan 23 - Protocol error. Reason = Invalid R2 state, R2 State = *Unknown*, MF state = MF Engine Off, MF Group = Backward Group B, CAS = 0x08<br>
DNIS = MCDU, ANI = 11XXXXXXXX, MF = 0x20<br>
[Mar 25 10:32:04] ERROR[31713]: chan_dahdi.c:1374 dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 23: Invalid R2 state<br>
<br>
If I set mfcr2_doubleanswer=no, no one call is blocked<br>
<br>
I used DAHDIAcceptR2Call with yes, no or without parameters but have no diference<br>
<br>
I've been using<br>
<br>
asterisk - 1.4.32<br>
dahdi - 2.4.0<br>
openr2 - 1.3.0<br>
<br>
Somebody have same issue?<br>
<br>
Guilherme<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.digium.com/pipermail/asterisk-r2/attachments/20110328/b579ee94/attachment-0001.htm" target="_blank">http://lists.digium.com/pipermail/asterisk-r2/attachments/20110328/b579ee94/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 28 Mar 2011 16:47:22 -0300<br>
From: Maxi <<a href="mailto:mgoldsmid@gmail.com">mgoldsmid@gmail.com</a>><br>
Subject: [asterisk-r2] Update desde 1.4 a 1.8 con R2 y con problemas<br>
luego de actualizar.<br>
To: <a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
Message-ID:<br>
<AANLkTikxDVZ-A=ZxSzGsg=<a href="mailto:O-DgjhwU6PNyOWf8EfQSP5@mail.gmail.com">O-DgjhwU6PNyOWf8EfQSP5@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Hola,<br>
<br>
Tengo un Asterisk con version 1.4.18, con algunos problemas en la<br>
trama, de tanto en tanto se desconectaba y se cortaban los llamados,<br>
por lo que decidi hacer un upgrade a la ultima version de Asterisk<br>
<br>
Baje y compile:<br>
dahdi-linux-complete-2.4.1+2.4.1.tar.gz<br>
asterisk-1.8.3.2.tar.gz<br>
<br>
Configure:<br>
<br>
more /etc/dahdi/system.conf<br>
<br>
span=1,0,0,cas,hdb3<br>
cas=1-15,17-31:1101<br>
echocanceller=mg2,1-15,17-31<br>
<br>
loadzone=ar<br>
defaultzone=ar<br>
<br>
dahdi_cfg -v<br>
DAHDI Tools Version - 2.4.1<br>
<br>
DAHDI Version: 2.4.1<br>
Echo Canceller(s): MG2<br>
Configuration<br>
======================<br>
<br>
SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)<br>
<br>
30 channels to configure.<br>
<br>
Setting echocan for channel 1 to mg2<br>
Setting echocan for channel 2 to mg2<br>
Setting echocan for channel 3 to mg2<br>
Setting echocan for channel 4 to mg2<br>
Setting echocan for channel 5 to mg2<br>
Setting echocan for channel 6 to mg2<br>
Setting echocan for channel 7 to mg2<br>
Setting echocan for channel 8 to mg2<br>
Setting echocan for channel 9 to mg2<br>
Setting echocan for channel 10 to mg2<br>
Setting echocan for channel 11 to mg2<br>
Setting echocan for channel 12 to mg2<br>
Setting echocan for channel 13 to mg2<br>
Setting echocan for channel 14 to mg2<br>
Setting echocan for channel 15 to mg2<br>
Setting echocan for channel 17 to mg2<br>
Setting echocan for channel 18 to mg2<br>
Setting echocan for channel 19 to mg2<br>
Setting echocan for channel 20 to mg2<br>
Setting echocan for channel 21 to mg2<br>
Setting echocan for channel 22 to mg2<br>
Setting echocan for channel 23 to mg2<br>
Setting echocan for channel 24 to mg2<br>
Setting echocan for channel 25 to mg2<br>
Setting echocan for channel 26 to mg2<br>
Setting echocan for channel 27 to mg2<br>
Setting echocan for channel 28 to mg2<br>
Setting echocan for channel 29 to mg2<br>
Setting echocan for channel 30 to mg2<br>
Setting echocan for channel 31 to mg2<br>
<br>
<br>
<br>
Si lo configuro colocando dchan=16 me devuelve....<br>
<br>
dahdi_cfg -v<br>
DAHDI Tools Version - 2.4.1<br>
<br>
DAHDI Version: 2.4.1<br>
Echo Canceller(s): MG2<br>
Configuration<br>
======================<br>
<br>
SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)<br>
<br>
31 channels to configure.<br>
<br>
Setting echocan for channel 1 to mg2<br>
Setting echocan for channel 2 to mg2<br>
Setting echocan for channel 3 to mg2<br>
Setting echocan for channel 4 to mg2<br>
Setting echocan for channel 5 to mg2<br>
Setting echocan for channel 6 to mg2<br>
Setting echocan for channel 7 to mg2<br>
Setting echocan for channel 8 to mg2<br>
Setting echocan for channel 9 to mg2<br>
Setting echocan for channel 10 to mg2<br>
Setting echocan for channel 11 to mg2<br>
Setting echocan for channel 12 to mg2<br>
Setting echocan for channel 13 to mg2<br>
Setting echocan for channel 14 to mg2<br>
Setting echocan for channel 15 to mg2<br>
DAHDI_CHANCONFIG failed on channel 16: Invalid argument (22)<br>
Selected signaling not supported<br>
Possible causes:<br>
dchan is being used on a BRI span (use hardhdlc)<br>
Signaling is being assigned to channel 16 of an E1 CAS span<br>
<br>
Por lo que lo deje son el dchan<br>
<br>
<br>
<br>
<br>
Luego:<br>
more chan_dahdi.conf<br>
<br>
[channels]<br>
echocanceller=yes<br>
echocancelwhenbridged=yes<br>
context=entrantes-pstn<br>
callgroup=1<br>
pickupgroup=1<br>
signalling=mfcr2<br>
mfcr2_variant=ar<br>
mfcr2_max_ani=10<br>
mfcr2_max_dnis=14<br>
mfcr2_category=national_subscriber<br>
mfcr2_logdir=span1<br>
mfcr2_call_files=yes<br>
mfcr2_logging=all<br>
channel => 1-15<br>
channel => 17-31<br>
<br>
<br>
Y cuando inicio Asterisk obtengo lo siguiente:<br>
<br>
[Mar 28 16:46:45] ERROR[4849]: chan_dahdi.c:3983 dahdi_r2_write_log:<br>
Context - Failed to get channel number from descriptor 9<br>
(Inappropriate ioctl for device)<br>
[Mar 28 16:46:45] ERROR[4849]: chan_dahdi.c:12074 mkintf: Cannot<br>
create OpenR2 channel: System call failed<br>
[Mar 28 16:46:45] ERROR[4849]: chan_dahdi.c:16320 build_channels:<br>
Unable to register channel '1-15'<br>
<br>
Que puede estar pasando? si alguien me puede dar una mano.<br>
<br>
Gracias.<br>
Maxi.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
<br>
End of asterisk-r2 Digest, Vol 31, Issue 10<br>
*******************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Benjamín Garzón<br>