<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Moy,<br>
<br>
I am just now able to make some more testing. The connection between
the 2 pbxs is E1 (TE220)<br>
I am not able to trace the call because I don't have not the right
tools but I got this information from Nec.<br>
I hope this is usefully.<br>
<br>
<table x:str="" style="border-collapse: collapse; width: 423pt;"
border="0" cellpadding="0" cellspacing="0" width="561">
<col style="width: 149pt;" width="198"> <col style="width: 83pt;"
width="111"> <col style="width: 25pt;" width="33"> <col
style="width: 23pt;" width="30"> <col style="width: 21pt;" width="28">
<col style="width: 22pt;" width="29"> <col style="width: 24pt;"
width="32"> <col style="width: 21pt;" width="28"> <col
style="width: 32pt;" width="42"> <col style="width: 23pt;" width="30">
<tbody>
<tr style="height: 12.75pt;" height="17">
<td rowspan="2" class="xl25"
style="border-bottom: 0.5pt solid black; height: 25.5pt; width: 149pt;"
x:str="SEÑALES" height="34" width="198"><span style=""> </span>SEÑALES<span
style=""> </span></td>
<td rowspan="2" class="xl25"
style="border-bottom: 0.5pt solid black; width: 83pt;"
x:str="SENTIDO DE TX" width="111"><span style=""> </span>SENTIDO DE TX<span
style=""> </span></td>
<td colspan="4" class="xl27"
style="border-left: medium none; border-right: 0.5pt solid black; width: 91pt;"
x:str="HACIA ADELANTE" width="120"><span style=""> </span>HACIA
ADELANTE<span style=""> </span></td>
<td colspan="4" class="xl27"
style="border-left: medium none; border-right: 0.5pt solid black; width: 100pt;"
x:str="HACIA ATRÁS" width="132"><span style=""> </span>HACIA ATRÁS<span
style=""> </span></td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22"
style="border-top: medium none; border-left: medium none; height: 12.75pt;"
x:str="af" height="17"><span style=""> </span>af<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="bf"><span
style=""> </span>bf<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="cf"><span
style=""> </span>cf<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="df"><span
style=""> </span>df<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="ab"><span
style=""> </span>ab<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="bb"><span
style=""> </span>bb<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="cb"><span
style=""> </span>cb<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="db"><span
style=""> </span>db<span style=""> </span></td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-top: medium none; height: 12.75pt;"
x:str="REPOSO" height="17"><span style=""> </span>REPOSO<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="<-->"><span
style=""> </span><--><span style=""> </span></td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-top: medium none; height: 12.75pt;"
x:str="TOMA" height="17"><span style=""> </span>TOMA<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="'-->"><span
style=""> </span>--><span style=""> </span></td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl24"
style="border-top: medium none; border-left: medium none;" x:str="'-">-</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-top: medium none; height: 12.75pt;"
x:str="ACUSE DE TOMA" height="17"><span style=""> </span>ACUSE DE TOMA<span
style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="<--"><span
style=""> </span><--<span style=""> </span></td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-top: medium none; height: 12.75pt;"
x:str="RESPUESTA" height="17"><span style=""> </span>RESPUESTA<span
style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="<--"><span
style=""> </span><--<span style=""> </span></td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-top: medium none; height: 12.75pt;"
x:str="ABONADO LLAMADO VUELGA" height="17"><span style=""> </span>ABONADO
LLAMADO VUELGA<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="<--"><span
style=""> </span><--<span style=""> </span></td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-top: medium none; height: 12.75pt;"
x:str="FIN" height="17"><span style=""> </span>FIN<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="'-->"><span
style=""> </span>--><span style=""> </span></td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;">0/1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-top: medium none; height: 12.75pt;"
x:str="LIBERAC. DE GUARDA" height="17"><span style=""> </span>LIBERAC.
DE GUARDA<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="<--"><span
style=""> </span><--<span style=""> </span></td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-top: medium none; height: 12.75pt;"
x:str="BLOQUEO" height="17"><span style=""> </span>BLOQUEO<span
style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="<--"><span
style=""> </span><--<span style=""> </span></td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
</tr>
<tr style="height: 12.75pt;" height="17">
<td class="xl22" style="border-top: medium none; height: 12.75pt;"
x:str="FIN DE BLOQUEO" height="17"><span style=""> </span>FIN DE
BLOQUEO<span style=""> </span></td>
<td class="xl22"
style="border-top: medium none; border-left: medium none;" x:str="<--"><span
style=""> </span><--<span style=""> </span></td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">0</td>
<td class="xl23"
style="border-top: medium none; border-left: medium none;" x:num=""
align="right">1</td>
</tr>
</tbody>
</table>
<br>
Thanks,<br>
<br>
Ignacio<br>
<br>
<br>
Moises Silva escribió:
<blockquote
cite="mid:c4d05cbe0809250810v37ff1d2djee0647104782117f@mail.gmail.com"
type="cite">
<pre wrap="">Hola Ignacio,
For the incoming call, this is what is happening:
Asterisk correctly detect that a new call is arriving, then it
acknowledges the "start a call" message. But 4 seconds after that, we
receive a "Clear Forward" message which basically means the calling
end is requesting hangup. It is very likely that somehow the Nec PBX
is not seeing the bit change we did.
For the outgoing call:
Asterisk "requests a call" and the other end does not respond in the
7/8 seconds that we wait for them, therefore we just hangup, again,
this looks like the Nec PBX does not recognize our bit pattern change
and therefore does not detect our call attempt.
Is there any chance you can get a trace of the NEC Pbx? How do you
have connected the NEC to Asterisk?
Moy
On Thu, Sep 25, 2008 at 9:18 AM, Ignacio Rodriguez
<a class="moz-txt-link-rfc2396E" href="mailto:ignacio.rodriguez@supportcenter.cl"><ignacio.rodriguez@supportcenter.cl></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi everyone,
I was ignorant about R2 until I got a someone reuesting to connect a Nec PBX
to an Asterisk box using the E1 R2 interface (no pri available).
After several trial and error attempts I was able to build Asterisk 1.6 with
Moises's Openr2 library (I had to realize several other things like the fact
that 1.6 only works with Dahdi). Unfortunately I am still having problems
and I hope you can help me.
For some reason when I make calls from the NEC PBX to Asterisk and vice
versa the calls are not going thru. For incoming calls I see the following
messages in CLI:
[Sep 23 19:11:22] NOTICE[2609]: chan_dahdi.c:1331 dahdi_r2_on_call_init: New
MFC/R2 call detected on chan 3.
[Sep 23 19:11:57] NOTICE[2609]: chan_dahdi.c:1534 dahdi_r2_write_log: Chan 3
- Far end disconnected. Reason: Normal Clearing
[Sep 23 19:11:57] NOTICE[2609]: chan_dahdi.c:1491
dahdi_r2_on_call_disconnected: MFC/R2 call disconnected on chan 3
[Sep 23 19:11:57] NOTICE[2609]: chan_dahdi.c:1403 dahdi_r2_on_call_end:
MFC/R2 call end on chan 3
The first one corresponds to the moment when the call starts and the other 3
when hung up.
I have using all the debugging tools available from Dahdi (dahdi_test,
sahdi_tool and dahdi_monitor) and all them show some kind of activity (
changing ABCD bits) which makes me believe the problem is not with dahdi but
with Asterisk not forwarding the calls (just a supposition).
My chan_dahdi.conf is
[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=itu
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all
context=nec
group=0
callgroup=0
pickupgroup=0
channel => 1-15
channel => 17-31
And my /etc/dahdi/system.conf is
loadzone = us
defaultzone = us
span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
dchan=16
I also got some debugging lines (from /var/log/asterisk/mcfr2/span1
directory). The first corresponding to one incoming call and the second for
an outgoing call.
Incoming
20:09:19:541] [Thread: 3077131184] [Chan 5] - Call started at Tue Sep 23
20:09:19 2008 on chan 5
[20:09:19:541] [Thread: 3077131184] [Chan 5] - ABCD Tx >> [SEIZE ACK] 0x0C
[20:09:19:542] [Thread: 3077131184] [Chan 5] - ABCD Raw Tx >> 0x0D
[20:09:23:701] [Thread: 3077131184] [Chan 5] - ABCD Raw Rx << 0x09
[20:09:23:701] [Thread: 3077131184] [Chan 5] - Bits changed from 0x00 to
0x08
[20:09:23:701] [Thread: 3077131184] [Chan 5] - ABCD Rx << [CLEAR
FORWARD] 0x08
[20:09:23:701] [Thread: 3077131184] [Chan 5] - Far end disconnected.
Reason: Normal Clearing
[20:09:23:701] [Thread: 3077131184] [Chan 5] - Call ended
Outgoing
[20:10:50:350] [Thread: 3066108848] [Chan 31] - Call started at Tue Sep
23 20:10:50 2008 on chan 31
[20:10:50:350] [Thread: 3066108848] [Chan 31] - ABCD Tx >> [SEIZE] 0x00
[20:10:50:350] [Thread: 3066108848] [Chan 31] - ABCD Raw Tx >> 0x01
[20:10:58:370] [Thread: 3066108848] [Chan 31] - calling callback on chan 31
[20:10:58:370] [Thread: 3066108848] [Chan 31] - Seize Timeout Expired!
[20:10:58:370] [Thread: 3066108848] [Chan 31] - Protocol error. Reason =
Seize Timeout, R2 State = Seize Transmitted, MF state $
[20:10:58:370] [Thread: 3066108848] [Chan 31] - DNIS = 150, ANI = 6000,
Last MF Signal =
Please let me know if someone can give me an idea of where the problem could
be.
Thanks,
Ignacio
_______________________________________________
--Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a>--
asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-r2">http://lists.digium.com/mailman/listinfo/asterisk-r2</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>