[asterisk-users] r2 multiframe error

Jakub Syrek arkon at nast.pl
Thu Nov 15 02:58:13 CST 2007


>> I downloaded packages for 1.4.
>> Shoudl I now install asterisk, zaptel, libs for unicall as it is typed at
>> http://www.voip-info.org/tiki-index.php?page=Asterisk+MFC+R2 ?
> astunicall package already include zaptel, asterisk and all the Steve
> underwood libraries. However, personally, since Elastix Asterisk and
> Zaptel was working just fine. I just removed libunicall, libmfcr2,
> libsupertone , spandsp and chan_unicall.so packages and installed
> those ones from the astunicall tar leaving Asterisk and Zaptel
> included with Elastix untouched.
>
>> I will get acces to my asterisk machine tomorrow or on wednesday so i 
>> will
>> do it then and let you now.
> Perfect, feedback will be appreciated.
>
> Moy

Hi,
I've downloaded and installed packages as it was told. Everything seems to 
by ok but i still can't dial or recive  calls.  I have connected two ports 
of my card with E1 cross cable and  try to connect from asterisk to 
testcall.

Here are results:
[root at localhost ~]# cat /var/log/asterisk/full | grep unicall
[Nov 14 22:42:30] DEBUG[4530] chan_unicall.c: unicall_call called - '2/825'
[Nov 14 22:42:30] DEBUG[4530] chan_unicall.c: unicall_call caller id - '200'
[Nov 14 22:42:30] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2 Call 
control(1)
[Nov 14 22:42:30] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2 Make call
[Nov 14 22:42:30] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2 Making a 
new call with CRN 32770
[Nov 14 22:42:30] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2 0001  -> 
[1/       1/Idle          /Idle         ]
[Nov 14 22:42:30] NOTICE[4530] chan_unicall.c: Exception on 10, channel 2
[Nov 14 22:42:30] NOTICE[4530] chan_unicall.c: Unicall/2 event Dialing
[Nov 14 22:42:30] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2      <- 
1101  [1/      40/Seize         /Idle         ]
[Nov 14 22:42:30] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2 8 on  -> 
[2/      40/Group I       /Idle         ]
[Nov 14 22:42:35] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2 R2 prot. 
err. [2/      40/Group I       /DNIS         ] cause 32769 - T1 timed out
[Nov 14 22:42:35] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2 8 off -> 
[1/       1/Idle          /Idle         ]
[Nov 14 22:42:35] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2 1001  -> 
[1/       1/Idle          /Idle         ]
[Nov 14 22:42:35] NOTICE[4530] chan_unicall.c: Exception on 10, channel 2
[Nov 14 22:42:35] NOTICE[4530] chan_unicall.c: Unicall/2 event Protocol 
failure
[Nov 14 22:42:35] ERROR[4530] chan_unicall.c: Unicall/2 protocol error. 
Cause 32769
[Nov 14 22:42:35] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2      <- 
1001  [1/       1/Idle          /Idle         ]
[Nov 14 22:42:35] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2 1001  -> 
[1/       1/Idle          /Idle         ]
[Nov 14 22:42:35] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2 Channel 
gains
[Nov 14 22:42:35] WARNING[4530] chan_unicall.c: MFC/R2 UniCall/2 Channel 
switching
[Nov 14 22:42:35] DEBUG[4530] chan_unicall.c: Hangup: channel: 2 index = 0, 
normal = 10, callwait = -1, thirdcall = -1
[Nov 14 22:42:35] DEBUG[4530] chan_unicall.c: Updated conferencing on 2, 
with 0 conference users

from testcall
MFC/R2 Chan  33:      <- 0001  [1/IDLE    /Idle          /Idle         ]
MFC/R2 Chan  33: Detected
MFC/R2 Chan  33: Creating a new call with CRN 32769
MFC/R2 Chan  33: 1101  ->      [2/DETECTED/Seize ack     /Seize ack    ]
Chan  33: -- Detected on channel 0, CRN 32769
Chan  33: -- Detected on channel 0, CRN 32769
Main thread
MFC/R2 Chan  33:      <- 1001  [2/DETECTED/Seize ack     /Seize ack    ]
MFC/R2 Chan  33: Far end disconnected(cause=Normal, unspecified cause 
[31]) - st 
ate 0x2
Chan  33: -- Far end disconnected on channel 0
Chan  33: -- Far end disconnected on channel 0
MFC/R2 Chan  33: Call control(7)
MFC/R2 Chan  33: Drop call(cause=Normal Clearing [16])
MFC/R2 Chan  33: Call disconnected(cause=Normal, unspecified cause [31]) - 
state 
0x800
Chan  33: -- Drop call on channel 0
Chan  33: -- Drop call on channel 0
MFC/R2 Chan  33: Call control(8)
MFC/R2 Chan  33: Release call
MFC/R2 Chan  33: 1001  ->      [1/ALL DISC/Release guard /Seize ack    ]
MFC/R2 Chan  33: Release guard expired
MFC/R2 Chan  33: Destroying call with CRN 32769
Chan  33: -- Release call on channel 0
Chan  33: -- Release call on channel 0

Files:
[root at localhost ~]# cat /etc/asterisk/unicall.conf
[channels]
loglevel=255
context=default
usecallerid=no
threewaycalling=no
transfer=no
cancallforward=yes
callreturn=yes
echocancel=no
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=yes
protocolclass=mfcr2
protocolvariant=cz,3,3
protocolend=co
supertones=pl
channel => 1-15
channel => 17-31

[root at localhost ~]# cat /etc/zaptel.conf
# Autogenerated by /usr/sbin/zapconf on Wed Nov  7 18:27:13 2007 -- do not 
hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
# Span 1: ZTDUMMY/1 "ZTDUMMY/1 1"

# Global data
loadzone=pl
defaultzone=pl
span=1,1,0,cas,hdb3
span=2,0,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
cas=32-46:1101
cas=48-62:1101


[root at localhost libunicall-0.0.3]# cat testcall.conf
caller no
protocol-class mfcr2
protocol-variant cz,3,3
protocol-end co
on-offered answer
circuits 32-46
circuits 48-62


Thanks for your help!
Regards
Arkon 




More information about the asterisk-users mailing list