<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Q mas...<BR>y puedes llamar de la PBX a un softphone?<BR>y puedes llamar de la TELCO a un softphone?<BR>Si es asi me imagino q dentro del asterisk para cada uno tienes creado una TRONCAL y ademas has de tener para cada uno una ruta de entrada.<BR>tambien has de tener una ruta de salida a cada uno, evidentemente cada uno a de manejar extensiones con numeraciones diferentes...<BR>Ej<BR> <BR>TELCO con numeracion 2XXX<BR>PBX con numeracion 3XXX<BR> <BR>en la ruta de salida le dices q las marcaciones a: <BR>TELCO las permita solo a 2XXX<BR>PBX las permita solo a 3XXX<br><BR>Hasta aca los softphone pueden llamar<BR> <BR>Ahora dentro del elastix tienes q crear en la opion <BR><font lang="JA" size="3" face="FreeSans"><font lang="JA" size="3" face="FreeSans">Misc Destination<BR></font></font><div><div id="SkyDrivePlaceholder"><font lang="JA" size="3" face="FreeSans"><font lang="JA" size="3" face="FreeSans"><p align="LEFT">Description:</p>
<p align="LEFT">2XXX</p>
<p align="LEFT">Dial:</p>
</font></font><font lang="JA" size="1" face="FreeSans"><font lang="JA" size="1" face="FreeSans">
</font></font><p align="LEFT"><font lang="JA" size="3" face="FreeSans"><font lang="JA" size="3" face="FreeSans">2XXX</p>
despues le das sumit<BR></font></font></div><div> </div><div>lo mismo para la TELCO</div><div><font lang="JA" size="3" face="FreeSans"><font lang="JA" size="3" face="FreeSans">Misc Destination<BR></font></font><div><div id="SkyDrivePlaceholder"><font lang="JA" size="3" face="FreeSans"><font lang="JA" size="3" face="FreeSans"><p align="LEFT">Description:</p><p align="LEFT">3XXX</p><p align="LEFT">Dial:</p></font></font><font lang="JA" size="1" face="FreeSans"><font lang="JA" size="1" face="FreeSans"></font></font><p align="LEFT"><font lang="JA" size="3" face="FreeSans"><font lang="JA" size="3" face="FreeSans">3XXX</font></font></p><font lang="JA" size="3" face="FreeSans"><font lang="JA" size="3" face="FreeSans">despues le das sumit<BR></font></font></div></div></div><div> </div><div>Esa seria la forma grafica, porq tambien lo puedes hacer por comandos en el archivo extension_custom</div><div>colocando algo como:</div><div> </div><div><font size="3" face="Times New Roman">
</font><p style="margin: 0cm 0cm 0pt;" class="MsoPlainText"><span style='font-family: "Courier New"; mso-ansi-language: EN-US;' lang="EN-US"><font size="3">exten=>_2XXX,1,Dial(TRONCAL-TELCO/${EXTEN})</font></span></p><p style="margin: 0cm 0cm 0pt;" class="MsoPlainText"><span style='font-family: "Courier New"; mso-ansi-language: EN-US;' lang="EN-US"><font size="3"><span style='font-family: "Courier New"; mso-ansi-language: EN-US;' lang="EN-US"><font size="3">exten=>_2XXX,N,Hangup</font></span><br>
</font></span></p><font size="3" face="Times New Roman">
</font></div><div><p style="margin: 0cm 0cm 0pt;" class="MsoPlainText"><span style='font-family: "Courier New"; mso-ansi-language: EN-US;' lang="EN-US"><font size="3">exten=>_3XXX,1,Dial(TRONCAL-PBX/${EXTEN})</font></span></p><p style="margin: 0cm 0cm 0pt;" class="MsoPlainText"><span style='font-family: "Courier New"; mso-ansi-language: EN-US;' lang="EN-US"><font size="3"><span style='font-family: "Courier New"; mso-ansi-language: EN-US;' lang="EN-US"><font size="3">exten=>_3XXX,N,Hangup</font></span></font></span></p></div><div> </div><div>OP</div><div> </div><hr id="stopSpelling">Date: Wed, 22 Feb 2012 09:16:49 -0300<br>From: carlos.rav@gmail.com<br>To: asterisk-r2@lists.digium.com<br>Subject: [asterisk-r2] Problem Sending call PBX(nortel) --- asterisk -- TELCO<br><br><span>Hola/Hi all,</span><div><br></div><div>I´m tryng to configure this : TELCO(named COPACO from Paraguay)---asterisk(elastix)--- PBX(Nortel)</div><div><br></div><div>I can make calls:</div>
<div> - from TELCO to PBX </div><div> - from a sipphone to TELCO (<span style="color: rgb(51, 51, 51); background-color: rgb(245, 245, 245);">through E1) </span></div><div><span style="color: rgb(51, 51, 51); background-color: rgb(245, 245, 245);"> - from a sipphone to PBX </span>(<span style="color: rgb(51, 51, 51); background-color: rgb(245, 245, 245);">through de second E1)</span></div>
<div><span style="color: rgb(51, 51, 51); background-color: rgb(245, 245, 245);"><br></span></div><div><span style="color: rgb(51, 51, 51); background-color: rgb(245, 245, 245);"><br></span></div><div><span style="color: rgb(51, 51, 51); background-color: rgb(245, 245, 245);">My problem:</span></div>
<div><span style="color: rgb(51, 51, 51); background-color: rgb(245, 245, 245);"><br></span></div><div><span style="color: rgb(51, 51, 51); background-color: rgb(245, 245, 245);">- I can´t make call from PBX to TELCO :(</span></div>
<div><font color="#333333" face="arial, sans-serif"><br></font></div><div><font color="#333333" face="arial, sans-serif">Can someone help me?</font></div><div><font color="#333333" face="arial, sans-serif"><br>
</font></div><div><font color="#333333" face="arial, sans-serif">Thanks in advance</font></div><div><font color="#333333" face="arial, sans-serif">(I really look at google or the before writte here!!!)</font></div>
<div><font color="#333333" face="arial, sans-serif"><br></font></div><div><br></div><div>mis config files son:</div><div>#####################</div><div>chan_dahdi.conf</div><div><div>; Auto-generated by /usr/sbin/hardware_detector</div>
<div>[trunkgroups]</div><div>[channels]</div><div>language=es</div><div>context=entrada</div><div>signalling=fxs_ks</div><div>rxwink=300 ; Atlas seems to use long (250ms) winks</div><div>usecallerid=yes</div>
<div>hidecallerid=no</div><div>callerid=asreceived</div><div>callwaiting=yes</div><div>usecallingpres=yes</div><div>callwaitingcallerid=yes</div><div>threewaycalling=yes</div><div>transfer=yes</div><div>canpark=yes</div>
<div>
cancallforward=yes</div><div>callreturn=yes</div><div>echocancel=yes</div><div>echocancelwhenbridged=no</div><div>faxdetect=incoming</div><div>echotraining=800</div><div>rxgain=0.0</div><div>txgain=0.0</div><div>callgroup=1</div>
<div>pickupgroup=1</div><div><br></div><div>#include dahdi-channels.conf</div><div>#include chan_dahdi_additional.conf</div></div><div><br></div><div>#################</div><div>dahdi-channels.conf </div>
<div><div>; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)</div><div>group=1</div><div>context=entrada</div><div>;switchtype = euroisdn</div><div>signalling =mfcr2</div><div>mfcr2_variant=itu</div><div>
mfcr2_get_ani_first=no</div><div>mfcr2_max_ani=10</div><div>mfcr2_max_dnis=4</div><div>mfcr2_category=national_subscriber</div><div>mfcr2_logdir=span1</div><div>mfcr2_call_files=yes</div><div>mfcr2_logging=all</div><div>
mfcr2_mfback_timeout=-1</div>
<div>mfcr2_metering_pulse_timeout=-1</div><div>mfcr2_allow_collect_calls=yes</div><div>mfcr2_double_answer=no</div><div>mfcr2_forced_release=no</div><div>mfcr2_charge_calls=yes</div><div>channel => 1-15,17-31</div><div>
context = default</div><div><br></div><div><div>; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"</div><div>mfcr2_skip_category=yes</div><div>group=2</div><div>;switchtype = euroisdn</div><div>signalling =mfcr2</div>
<div>mfcr2_variant=itu</div><div>mfcr2_get_ani_first=no</div><div>mfcr2_max_ani=4</div><div>mfcr2_max_dnis=7</div><div>callerid=asreceived</div><div>mfcr2_category=national_priority_subscribe</div><div>mfcr2_logdir=span1</div>
<div>mfcr2_call_files=yes</div><div>mfcr2_logging=all</div><div>mfcr2_mfback_timeout=-1</div><div>mfcr2_metering_pulse_timeout=-1</div><div>mfcr2_allow_collect_calls=no</div><div>mfcr2_double_answer=no</div><div>mfcr2_forced_release=no</div>
<div>mfcr2_charge_calls=yes</div><div>mfcr2_skip_category=no</div><div>callerid=asreceived</div><div>context=salida</div><div>channel => 32-46,48-62</div></div><div><br></div><div><br></div><div>extensions.conf </div>
<div>
<div>[salida]</div><div>exten => .,1,Answer</div><div>exten => .,2,set(calltime=${STRFTIME(${EPOCH},,%C%y-%m-%d--%H\:%M\:%S)})</div><div>exten => .,3,MixMonitor(E_${calltime}_from_${CALLERID(num)}to__${EXTEN}.wav)</div>
<div>exten => .,n,Dial(DAHDI/g1/${EXTEN})</div><div>exten => h,1,Hangup</div></div><div><br></div><div>[entrada]</div><div><div>exten => _XXX,1,Answer</div><div>exten => _XXX,n,set(calltime=${STRFTIME(${EPOCH},,%C%y-%m-%d--%H\:%M\:%S)})</div>
<div>exten => _XXX,n,MixMonitor(E_${calltime}_from_${CALLERID(num)}to__${EXTEN}.wav)</div><div>exten => _XXX,n,Dial(DAHDI/g2/${EXTEN})</div></div><div>;para sipphone</div><div><div>exten => _9.,1,Answer</div><div>
exten => _9.,2,set(calltime=${STRFTIME(${EPOCH},,%C%y-%m-%d--%H\:%M\:%S)})</div><div>exten =>_9.,3,MixMonitor(E_${calltime}_from_${CALLERID(num)}to__${EXTEN}.wav)</div><div>exten => _9.,n,Dial(DAHDI/g1/${EXTEN:1})</div>
</div><div><br></div><div><br></div><div>Tambien adjunto un log de una llamada al numero de seis digitos 390109</div><div><div>cat chan-33-backward-0-20120221222123.call</div><div>[22:21:23:536] [Thread: 3073817488] [Chan 33] - Call started at Tue Feb 21 22:21:23 2012 on chan 33 [openr2 version 1.3.1, revision exported]</div>
<div>[22:21:23:536] [Thread: 3073817488] [Chan 33] - Initialized R2 MF detector</div><div>[22:21:23:536] [Thread: 3073817488] [Chan 33] - CAS Tx >> [SEIZE ACK] 0x0C</div><div>[22:21:23:536] [Thread: 3073817488] [Chan 33] - CAS Raw Tx >> 0x0D</div>
<div>[22:21:23:779] [Thread: 3073817488] [Chan 33] - MF Rx << 3 [ON]</div><div>[22:21:23:779] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer timer 0</div><div>[22:21:23:779] [Thread: 3073817488] [Chan 33] - Cannot cancel timer 0</div>
<div>[22:21:23:779] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 3</div><div>[22:21:23:779] [Thread: 3073817488] [Chan 33] - DNIS so far: 3, expected length: 7</div><div>[22:21:23:779] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with signal 0x31.</div>
<div>[22:21:23:779] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]</div><div>[22:21:23:779] [Thread: 3073817488] [Chan 33] - scheduled timer id 2 (mf_back_cycle)</div><div>[22:21:23:839] [Thread: 3073817488] [Chan 33] - MF Rx << 3 [OFF]</div>
<div>[22:21:23:839] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]</div><div>[22:21:23:919] [Thread: 3073817488] [Chan 33] - MF Rx << 9 [ON]</div><div>[22:21:23:919] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer timer 2</div>
<div>[22:21:23:919] [Thread: 3073817488] [Chan 33] - timer id 2 found, cancelling it now</div><div>[22:21:23:919] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 9</div><div>[22:21:23:919] [Thread: 3073817488] [Chan 33] - DNIS so far: 39, expected length: 7</div>
<div>[22:21:23:919] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with signal 0x31.</div><div>[22:21:23:919] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]</div><div>[22:21:23:919] [Thread: 3073817488] [Chan 33] - scheduled timer id 3 (mf_back_cycle)</div>
<div>[22:21:23:999] [Thread: 3073817488] [Chan 33] - MF Rx << 9 [OFF]</div><div>[22:21:23:999] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]</div><div>[22:21:24:079] [Thread: 3073817488] [Chan 33] - MF Rx << 0 [ON]</div>
<div>[22:21:24:079] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer timer 3</div><div>[22:21:24:079] [Thread: 3073817488] [Chan 33] - timer id 3 found, cancelling it now</div><div>[22:21:24:079] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 0</div>
<div>[22:21:24:079] [Thread: 3073817488] [Chan 33] - DNIS so far: 390, expected length: 7</div><div>[22:21:24:079] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with signal 0x31.</div><div>[22:21:24:079] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]</div>
<div>[22:21:24:079] [Thread: 3073817488] [Chan 33] - scheduled timer id 4 (mf_back_cycle)</div><div>[22:21:24:159] [Thread: 3073817488] [Chan 33] - MF Rx << 0 [OFF]</div><div>[22:21:24:159] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]</div>
<div>[22:21:24:239] [Thread: 3073817488] [Chan 33] - MF Rx << 1 [ON]</div><div>[22:21:24:239] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer timer 4</div><div>[22:21:24:239] [Thread: 3073817488] [Chan 33] - timer id 4 found, cancelling it now</div>
<div>[22:21:24:239] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 1</div><div>[22:21:24:239] [Thread: 3073817488] [Chan 33] - DNIS so far: 3901, expected length: 7</div><div>[22:21:24:239] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with signal 0x31.</div>
<div>[22:21:24:239] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]</div><div>[22:21:24:239] [Thread: 3073817488] [Chan 33] - scheduled timer id 5 (mf_back_cycle)</div><div>[22:21:24:319] [Thread: 3073817488] [Chan 33] - MF Rx << 1 [OFF]</div>
<div>[22:21:24:319] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]</div><div>[22:21:24:399] [Thread: 3073817488] [Chan 33] - MF Rx << 0 [ON]</div><div>[22:21:24:399] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer timer 5</div>
<div>[22:21:24:399] [Thread: 3073817488] [Chan 33] - timer id 5 found, cancelling it now</div><div>[22:21:24:399] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 0</div><div>[22:21:24:399] [Thread: 3073817488] [Chan 33] - DNIS so far: 39010, expected length: 7</div>
<div>[22:21:24:399] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with signal 0x31.</div><div>[22:21:24:399] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]</div><div>[22:21:24:399] [Thread: 3073817488] [Chan 33] - scheduled timer id 6 (mf_back_cycle)</div>
<div>[22:21:24:479] [Thread: 3073817488] [Chan 33] - MF Rx << 0 [OFF]</div><div>[22:21:24:479] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]</div><div>[22:21:24:559] [Thread: 3073817488] [Chan 33] - MF Rx << 9 [ON]</div>
<div>[22:21:24:559] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer timer 6</div><div>[22:21:24:559] [Thread: 3073817488] [Chan 33] - timer id 6 found, cancelling it now</div><div>[22:21:24:559] [Thread: 3073817488] [Chan 33] - Getting DNIS digit 9</div>
<div>[22:21:24:559] [Thread: 3073817488] [Chan 33] - DNIS so far: 390109, expected length: 7</div><div>[22:21:24:559] [Thread: 3073817488] [Chan 33] - Requesting next DNIS with signal 0x31.</div><div>[22:21:24:559] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [ON]</div>
<div>[22:21:24:559] [Thread: 3073817488] [Chan 33] - scheduled timer id 7 (mf_back_cycle)</div><div>[22:21:24:639] [Thread: 3073817488] [Chan 33] - MF Rx << 9 [OFF]</div><div>[22:21:24:639] [Thread: 3073817488] [Chan 33] - MF Tx >> 1 [OFF]</div>
<div>[22:21:29:559] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer timer 7</div><div>[22:21:29:559] [Thread: 3073817488] [Chan 33] - timer id 7 found, cancelling it now</div><div>[22:21:29:559] [Thread: 3073817488] [Chan 33] - calling timer 7 (mf_back_cycle) callback</div>
<div>[22:21:29:559] [Thread: 3073817488] [Chan 33] - MF back cycle timed out!</div><div>[22:21:29:559] [Thread: 3073817488] [Chan 33] - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State = Seize ACK Transmitted, MF state = DNIS Request Transmitted, MF Group = Backward Group A, CAS = 0x00</div>
<div>DNIS = 390109, ANI = , MF = 0x20</div><div>[22:21:29:559] [Thread: 3073817488] [Chan 33] - Attempting to cancel timer timer 0</div><div>[22:21:29:559] [Thread: 3073817488] [Chan 33] - Cannot cancel timer 0</div></div>
</div><div><br></div>-- <br>Atentamente,<br>
<br>
Carlos Rodríguez Alcalá Villagra<br><br>
<br>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-r2</div>                                            </div></body>
</html>