[asterisk-r2] help on openr2

Như Thành Mai thanhmnzzz at yahoo.com.vn
Mon May 17 11:02:17 CDT 2010


Dear all,
I have a problem with my OpenR2 test. I guess that there 
was a problem with sending MF tone during inter-register phase. Please 
see my debug message bellow and help me to fix it. Number expected for DNIS should be 19001570, for ANI should be 93213333. The E1 link are working fine with the current system using an old dialogic card and packaged software.
I am using Yeastar 
YE110 card, Asterisk 1.2.6 and openr2lib.
Thank you very much

[25:36:791][DEBUG]
 Channel 2 -- M -- Bits changed from 0x08 to 0x00
[25:36:791][CAS 
TRACE] Channel 2 -- M -- CAS Rx << [SEIZE] 0x00
[25:36:791][DEBUG]
 Channel 2 -- M -- Call started at Mon May 17 20:25:36 2010 on chan 2 
[openr2 version 1.3.0, revision exported]
[25:36:791][DEBUG] Channel 2
 -- M -- Initialized R2 MF detector
[25:36:791][CAS TRACE] Channel 2 
-- M -- CAS Tx >> [SEIZE ACK] 0x0C
[25:36:791][CAS TRACE] 
Channel 2 -- M -- CAS Raw Tx >> 0x0D
USER: new call detected on
 chan 2
[25:36:791][DEBUG] Channel 2 -- M -- Unhandled hardware event
 9
[25:37:319][MF TRACE] Channel 2 -- M -- MF Rx << 1 [ON]
[25:37:319][DEBUG]
 Channel 2 -- M -- Getting DNIS digit 1
[25:37:319][DEBUG] Channel 2 
-- M -- DNIS so far: 1, expected length: 4
USER: New DNIS digit '1' 
received on chan 2
[25:37:319][DEBUG] Channel 2 -- M -- Requesting 
next DNIS with signal 0x31.
[25:37:319][MF TRACE] Channel 2 -- M -- 
MF Tx >> 1 [ON]
[25:37:339][MF TRACE] Channel 2 -- M -- MF Rx 
<< 1 [OFF]
[25:37:339][MF TRACE] Channel 2 -- M -- MF Tx 
>> 1 [OFF]
[25:38:119][MF TRACE] Channel 2 -- M -- MF Rx 
<< 1 [ON]
[25:38:119][DEBUG] Channel 2 -- M -- Getting DNIS 
digit 1
[25:38:119][DEBUG] Channel 2 -- M -- DNIS so far: 11, 
expected length: 4
USER: New DNIS digit '1' received on chan 2
[25:38:119][DEBUG]
 Channel 2 -- M -- Requesting next DNIS with signal 0x31.
[25:38:119][MF
 TRACE] Channel 2 -- M -- MF Tx >> 1 [ON]
[25:38:139][MF TRACE]
 Channel 2 -- M -- MF Rx
 << 1 [OFF]
[25:38:139][MF TRACE] Channel 2 -- M -- MF Tx 
>> 1 [OFF]
[25:38:799][MF TRACE] Channel 2 -- M -- MF Rx 
<< 1 [ON]
[25:38:799][DEBUG] Channel 2 -- M -- Getting DNIS 
digit 1
[25:38:799][DEBUG] Channel 2 -- M -- DNIS so far: 111, 
expected length: 4
USER: New DNIS digit '1' received on chan 2
[25:38:799][DEBUG]
 Channel 2 -- M -- Requesting next DNIS with signal 0x31.
[25:38:799][MF
 TRACE] Channel 2 -- M -- MF Tx >> 1 [ON]
[25:38:819][MF TRACE]
 Channel 2 -- M -- MF Rx << 1 [OFF]
[25:38:819][MF TRACE] 
Channel 2 -- M -- MF Tx >> 1 [OFF]
[25:39:599][MF TRACE] 
Channel 2 -- M -- MF Rx << 1 [ON]
[25:39:599][DEBUG] Channel 2 
-- M -- Getting DNIS digit 1
[25:39:599][DEBUG] Channel 2 -- M -- 
DNIS so far: 1111, expected length: 4
USER: New DNIS digit '1' 
received on chan 2
[25:39:600][DEBUG] Channel 2 -- M -- Done getting 
DNIS!
[25:39:600][MF TRACE] Channel 2 -- M -- MF Tx
 >> 5 [ON]
[25:39:619][MF TRACE] Channel 2 -- M -- MF Rx 
<< 1 [OFF]
[25:39:619][MF TRACE] Channel 2 -- M -- MF Tx 
>> 5 [OFF]
[25:40:540][MF TRACE] Channel 2 -- M -- MF Rx 
<< 1 [ON]
[25:40:540][MF TRACE] Channel 2 -- M -- MF Tx 
>> 5 [ON]
[25:40:560][MF TRACE] Channel 2 -- M -- MF Rx 
<< 1 [OFF]
[25:40:560][MF TRACE] Channel 2 -- M -- MF Tx 
>> 5 [OFF]
[25:40:600][MF TRACE] Channel 2 -- M -- MF Rx 
<< 1 [ON]
[25:40:600][DEBUG] Channel 2 -- M -- Getting ANI 
digit 1
[25:40:600][DEBUG] Channel 2 -- M -- ANI so far: 1, expected 
length: 4
USER: New ANI digit '1' received on chan 2
[25:40:600][MF
 TRACE] Channel 2 -- M -- MF Tx >> 5 [ON]
[25:40:620][MF TRACE]
 Channel 2 -- M -- MF Rx << 1 [OFF]
[25:40:620][MF TRACE] 
Channel 2 -- M -- MF Tx >> 5 [OFF]
[25:40:640][MF TRACE] 
Channel 2 -- M -- MF Rx << 1 [ON]
[25:40:640][DEBUG] Channel 2 
-- M -- Getting
 ANI digit 1
[25:40:640][DEBUG] Channel 2 -- M -- ANI so far: 11, 
expected length: 4
USER: New ANI digit '1' received on chan 2
[25:40:640][MF
 TRACE] Channel 2 -- M -- MF Tx >> 5 [ON]
[25:40:660][MF TRACE]
 Channel 2 -- M -- MF Rx << 1 [OFF]
[25:40:660][MF TRACE] 
Channel 2 -- M -- MF Tx >> 5 [OFF]
[25:40:860][MF TRACE] 
Channel 2 -- M -- MF Rx << 1 [ON]
[25:40:860][DEBUG] Channel 2 
-- M -- Getting ANI digit 1
[25:40:860][DEBUG] Channel 2 -- M -- ANI 
so far: 111, expected length: 4
USER: New ANI digit '1' received on 
chan 2
[25:40:860][MF TRACE] Channel 2 -- M -- MF Tx >> 5 [ON]
[25:40:880][MF
 TRACE] Channel 2 -- M -- MF Rx << 1 [OFF]
[25:40:880][MF 
TRACE] Channel 2 -- M -- MF Tx >> 5 [OFF]
[25:41:060][MF TRACE]
 Channel 2 -- M -- MF Rx << 1 [ON]
[25:41:060][DEBUG] Channel 2
 -- M -- Getting ANI digit 1
[25:41:060][DEBUG] Channel 2 -- M -- ANI
 so far: 1111, expected
 length: 4
USER: New ANI digit '1' received on chan 2
[25:41:060][DEBUG]
 Channel 2 -- M -- Done getting ANI!
[25:41:060][DEBUG] Channel 2 -- M
 -- Requesting change to Group II with signal 0x33
[25:41:060][MF 
TRACE] Channel 2 -- M -- MF Tx >> 3 [ON]
[25:41:080][MF TRACE] 
Channel 2 -- M -- MF Rx << 1 [OFF]
[25:41:080][MF TRACE] 
Channel 2 -- M -- MF Tx >> 3 [OFF]
[25:41:560][MF TRACE] 
Channel 2 -- M -- MF Rx << 1 [ON]
USER: call ready on chan 2. 
ANI = 1111, DNIS = 1111, Category = 0
[25:41:560][MF TRACE] Channel 2
 -- M -- MF Tx >> 6 [ON]
[25:41:580][MF TRACE] Channel 2 -- M 
-- MF Rx << 1 [OFF]
[25:41:580][MF TRACE] Channel 2 -- M -- MF 
Tx >> 6 [OFF]
[25:41:740][DEBUG] Channel 2 -- M -- calling 
timer 12 (r2_answer_delay) callback
USER: call has been accepted on 
chan 2 with type: *UNKNOWN*
[25:41:740][CAS TRACE] Channel 2 -- M -- 
CAS Tx >> [ANSWER]
 0x04
[25:41:740][CAS TRACE] Channel 2 -- M -- CAS Raw Tx >> 
0x05
USER: no file opened yet, let's open it...
[25:41:768][DEBUG]
 Channel 2 -- M -- Bits changed from 0x00 to 0x08
[25:41:768][CAS 
TRACE] Channel 2 -- M -- CAS Rx << [CLEAR FORWARD] 0x08
[25:41:768][NOTICE]
 Channel 2 -- M -- Far end disconnected. Reason: Normal Clearing
USER:
 got disconnect on chan 2: Normal Clearing
[25:41:768][DEBUG] Channel
 2 -- M -- Call ended
[25:41:768][CAS TRACE] Channel 2 -- M -- CAS Tx
 >> [IDLE] 0x08
[25:41:768][CAS TRACE] Channel 2 -- M -- CAS 
Raw Tx >> 0x09
USER: call ended at chan 2


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20100518/59b5b734/attachment.htm 


More information about the asterisk-r2 mailing list