That's all you got. The other end isn't replying to your SEIZE, hence the timeout after 8 seconds. The call didn't pass the SEIZE/ACK initial phase. There's no more information about R2 than that. You would end up with pretty much the same on unicall in the same set up.<br>
<br>If you want to see OpenR2 library debug, you can re-compile it with the proper option. Check ./configure --help<br>HOWEVER, that wouldn't be of any less help cause you'll only see in deep how the library works and I don't think that is what you're looking for.<br>
<br>- <br>MM<br><br><div class="gmail_quote">On Tue, May 5, 2009 at 2:01 PM, "ROQUÉ, Francisco Emiliano" <span dir="ltr"><<a href="mailto:froque@3tech.com.ar">froque@3tech.com.ar</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for your reply Moises.<br>
<br>
this is the debug I see:<br>
<br>
[Apr 30 13:17:01] DEBUG[5308] chan_dahdi.c: Chan 30 - Attempting to make<br>
call (ANI=303, DNIS=91236, category=National Subscrib<br>
er)<br>
[Apr 30 13:17:01] DEBUG[5308] chan_dahdi.c: Chan 30 - Call started at<br>
Thu Apr 30 13:17:01 2009 on chan 30<br>
[Apr 30 13:17:01] DEBUG[5308] chan_dahdi.c: Chan 30 - CAS Tx >> [SEIZE] 0x00<br>
[Apr 30 13:17:01] DEBUG[5308] chan_dahdi.c: Chan 30 - CAS Raw Tx >> 0x01<br>
[Apr 30 13:17:01] VERBOSE[5308] logger.c: -- Called 30/91236<br>
[Apr 30 13:17:09] DEBUG[5308] chan_dahdi.c: Chan 30 - calling timer callback<br>
[Apr 30 13:17:09] WARNING[5308] chan_dahdi.c: Chan 30 - Seize Timeout<br>
Expired!<br>
<br>
[Apr 30 13:17:09] ERROR[5308] chan_dahdi.c: Chan 30 - Protocol error.<br>
Reason = Seize Timeout, R2 State = Seize Transmitted, MF<br>
state = MF Engine Off, MF Group = Forward MF init, CAS = 0x08<br>
DNIS = 91236, ANI = 303, MF = 0x20<br>
[Apr 30 13:17:09] DEBUG[5308] chan_dahdi.c: Chan 30 - CAS Tx >> [IDLE] 0x08<br>
[Apr 30 13:17:09] DEBUG[5308] chan_dahdi.c: Chan 30 - CAS Raw Tx >> 0x09<br>
[Apr 30 13:17:09] ERROR[5308] chan_dahdi.c: MFC/R2 protocol error on<br>
chan 30: Seize Timeout<br>
[Apr 30 13:17:09] DEBUG[5308] chan_dahdi.c: disconnecting MFC/R2 call on<br>
chan 30<br>
[Apr 30 13:17:09] VERBOSE[5308] logger.c: -- Hungup 'DAHDI/30-1'<br>
<br>
I needed to have a greater level of detail....<br>
<br>
In my logger.conf i set:<br>
full => notice,warning,error,debug,verbose<br>
<br>
in my chan_dahdi.conf i set:<br>
mfcr2_logdir=log<br>
mfcr2_logging=all<br>
mfcr2_call_files=yes<br>
<br>
<br>
In this way the files *.call were created, but its content is very poor,<br>
for example, the file:<br>
<br>
/var/log/asterisk/mfcr2/log/chan-1-forward-0-20090430140630.call contain:<br>
<br>
<br>
14:06:30:129] [Thread: 43326352] [Chan 1] - Call started at Thu Apr 30<br>
14:06:30 2009 on chan 1<br>
[14:06:30:129] [Thread: 43326352] [Chan 1] - CAS Tx >> [SEIZE] 0x00<br>
[14:06:30:129] [Thread: 43326352] [Chan 1] - CAS Raw Tx >> 0x01<br>
[14:06:38:148] [Thread: 43326352] [Chan 1] - Attempting to cancel timer<br>
timer 2<br>
[14:06:38:148] [Thread: 43326352] [Chan 1] - timer id 2 found,<br>
cancelling it now<br>
[14:06:38:148] [Thread: 43326352] [Chan 1] - calling timer callback<br>
[14:06:38:148] [Thread: 43326352] [Chan 1] - Seize Timeout Expired!<br>
[14:06:38:148] [Thread: 43326352] [Chan 1] - Protocol error. Reason =<br>
Seize Timeout, R2 State = Seize Transmitted, MF state = MF Engine Off,<br>
MF Group = Forward MF init, CAS = 0x08<br>
DNIS = 90956, ANI = 60001, MF = 0x20<br>
[14:06:38:148] [Thread: 43326352] [Chan 1] - Attempting to cancel timer<br>
timer 0<br>
[14:06:38:148] [Thread: 43326352] [Chan 1] - Cannot cancel timer 0<br>
<br>
This is practically equal to that observed in /var/log/asterisk/full....<br>
<br>
<br>
How can I get more detail? like.... unicall debug....<br>
<br>
Regards<br>
<br>
Francisco<br>
<div class="im"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Ing Francisco Roqué<br>
3Tech SRL<br>
Plaza Paso Nº92, EP B<br>
Buenos Aires, Argentina.<br>
</div>Tel. +54 11 5252 8727<br>
+54 221 4255116<br>
<a href="http://www.3tech.com.ar" target="_blank">www.3tech.com.ar</a><br>
<div><div></div><div class="h5"><br>
<br>
<br>
Moises Silva wrote:<br>
>> In /etc/asterisk/chan_dahdi.conf i have enabled mfcr2_logging set to all.<br>
>><br>
> This just enables debugging on the library itself, you still need to<br>
> enable Asterisk debugging output in /etc/asterisk/logger.conf, read<br>
> the comments there.<br>
><br>
><br>
>> In /etc/openr2/r2test.conf i have loglevel set to all....<br>
>><br>
> This has nothing to do with Asterisk debugging, this file is only used<br>
> by the r2test program.<br>
><br>
><br>
>> Can i enable a debug very full?<br>
>><br>
> Yes, mfcr2_logging=all has all you may want<br>
><br>
><br>
>> Also check the console: mfcr2 set debug all and configuration of call<br>
>> files, but the debugs are identically<br>
>><br>
> I don't understand what you mean. call files ALWAYS have FULL<br>
> debugging information regardless of the mfcr2_logging parameter. Read<br>
> the comments in configs/chan_dahdi.conf.sample in Asterisk 1.6.2 or<br>
> download the sample .conf files in google code.<br>
><br>
><br>
>> Do you recommend the use of the package libopenr2-debuginfo?<br>
>><br>
> No, that package probably just includes debugging symbols for the<br>
> openr2 library.<br>
><br>
> --<br>
> Moises Silva<br>
> Software Developer<br>
> Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON<br>
> L3R 9T3 Canada<br>
> t. 1 905 474 1990 x 128 | e. <a href="mailto:moy@sangoma.com">moy@sangoma.com</a><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>
><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>
</div></div></blockquote></div><br>