^4 [Asterisk-Users] problem with chan_unicall.c for MFC/R2 with asterisk

HO SIN hosin_8888 at yahoo.com
Fri Nov 26 12:45:00 MST 2004


Dear Steve,  I thank you for your extensive support on R2 so far.
 
I am implementing it for Brazil, while I remotely do so.  It seems from the list, Daniel Bichara on Fri Oct 1 09:30:29 CDT 2004 and recent Leonardo Gomes Figueira on Fri, 19 Nov 2004 12:28:18 -0200 seem to have succeeded in implementation itself, though having another trouble each.  Also I noted your comments about Brazil's auto collect-call.

 
Here is a verbose log of asterisk when startup, among which I extracted part of unicall-related:
 
 [chan_unicall.so] => (Unified call processing (UniCall))
  == Parsing '/etc/asterisk/unicall.conf': Found
Loading protocol mfcr2
Nov 26 17:20:23 WARNING[16384]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 mfcr2_Unblock()
Nov 26 17:20:23 WARNING[16384]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Tx bits 0x9   [1/40000000/  0/  0]
    -- Registered channel 1, mfcr2 signalling
 
   [snipping]
 
Nov 26 17:20:23 WARNING[16384]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 mfcr2_Unblock()
Nov 26 17:20:23 WARNING[16384]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Tx bits 0x9   [1/40000000/  0/  0]
    -- Registered channel 15, mfcr2 signalling
Nov 26 17:20:23 WARNING[16384]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 mfcr2_Unblock()
Nov 26 17:20:23 WARNING[16384]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Tx bits 0x9   [1/40000000/  0/  0]
    -- Registered channel 17, mfcr2 signalling
 
   [snipping]
 
Nov 26 17:20:24 WARNING[16384]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 mfcr2_Unblock()
Nov 26 17:20:24 WARNING[16384]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Tx bits 0x9   [1/40000000/  0/  0]
    -- Registered channel 62, mfcr2 signalling
  == Registered channel type 'UniCall' (Unified call processing (UniCall) driver)
  == Registered channel type 'roT' (Unified call processing (UniCall) driver)
Nov 26 17:20:24 WARNING[16384]: chan_unicall.c:3141 restart_monitor: XXX creating monitor thread
Nov 26 17:20:24 WARNING[213005]: chan_unicall.c:2548 handle_uc_event: UC event Protocol failure
    -- UC channel 1 protocol error. Cause 32773
 
   [snipping]
 
Nov 26 17:20:25 WARNING[213005]: chan_unicall.c:2548 handle_uc_event: UC event Local end unblocked
    -- UC channel 1 local unblocked
 
   [snipping]
 
Nov 26 17:20:25 WARNING[213005]: chan_unicall.c:2548 handle_uc_event: UC event Local end unblocked
    -- UC channel 62 local unblocked


 
 
 
I set in zaptel.conf an idle pattern as "1011" while Brazilian R2 ignores CD bits.  ZTTOOL works fine and can monitor the status of signalling, and when inseizing it displays these AB=00 but on Asterisk the following displays:
 
*CLI> Nov 26 17:36:32 WARNING[213005]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Rx bits 0x3   [1/40000000/  0/0]
Nov 26 17:36:32 WARNING[213005]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 R2 prot. err. [1/40000000/  0/  0] cause 32773
Nov 26 17:36:32 WARNING[213005]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Tx bits 0x9   [1/40000000/  0/  0]
Nov 26 17:36:32 WARNING[213005]: chan_unicall.c:2548 handle_uc_event: UC event Protocol failure
    -- UC channel 5 protocol error. Cause 32773

 
 
Any suggestions ??
 
HOSIN
 
 

Steve Underwood <steveu at coppice.org> wrote:
HO SIN wrote:

> Dear Kaws, and Dear Steve,
> 
> I think I am facing the same kind of trouble. This kaws's case is 
> simple; one line inserted by patch designates wrong header file name 
> of "unical.h", therefore the objects are not compiled. The reality 
> is "unicall.h", and

OK, fixed that one.

> after modifying it, then I faced trouble that the compile does not go 
> through as some of Asterisk structure definition (for example, 
> ast_channel) seemed to have changed after around October version and 
> unicall.c could not compile properly. In fact the latest version of 
> Asterisk does not compile with the current unicall. I tracked back 
> to the version around late September.

I am in the process of updating to the latest asterisk, but right now 
chan_unicall will only work with versions of * a month or more old.

> 
> My environment is RH9, and resolved libtiff trouble, and the compile 
> finally went through, but it still does not operate properly (does not 
> understand line signalling - AB bits correctly).......hmmm
> 

Which version of R2 are you using? Most use the ABCD bits in the same 
way. China and Thailand are different. The code should be allowing for 
those. It certainly works OK for China.

Steve

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

		
---------------------------------
Do you Yahoo!?
 All your favorites on one personal page – Try My Yahoo!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041126/8138eb90/attachment.htm


More information about the asterisk-users mailing list