[asterisk-users] mfcr2 stuck

Jakub "Arkon" Syrek arkon at nast.pl
Tue Feb 26 05:07:58 CST 2008


Now it takes about 25 seconds after dialing number to make asterisk ready to 
answer call with Unicall. I think that this stuck is because of timeout in 
ANI request.
Here is my  log.
[root at elastix ~]# cat /var/log/asterisk/full | grep unicall

[Feb 26 11:18:40] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 
0001  [1/IDLE    /Idle          /Idle         ]
[Feb 26 11:18:40] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 Detected
[Feb 26 11:18:40] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 Creating a 
new call with CRN 32770
[Feb 26 11:18:40] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1101  -> 
[2/DETECTED/Seize ack     /Seize ack    ]
[Feb 26 11:18:40] NOTICE[2968] chan_unicall.c: Unicall/20 event Detected
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 4 
on  [2/DETECTED/Seize ack     /Seize ack    ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 on  -> 
[2/DETECTED/Group A       /Category req ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 4 
off [2/DETECTED/Group A       /Category req ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 off -> 
[2/DETECTED/Group A       /Category req ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 1 
on  [2/DETECTED/Group A       /Category req ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 on  -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 1 
off [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 off -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 3 
on  [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 on  -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 3 
off [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 off -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 2 
on  [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 on  -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 2 
off [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 off -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 2 
on  [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 on  -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 2 
off [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 off -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 5 
on  [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 on  -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 5 
off [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 off -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 2 
on  [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 on  -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 2 
off [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 off -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 1 
on  [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 on  -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 1 
off [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:53] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 off -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 1 
on  [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 on  -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 1 
off [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 off -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 4 
on  [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 on  -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 4 
off [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 5 off -> 
[2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 1 
on  [2/DETECTED/Group A       /ANI request  ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1 on  -> 
[2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 1 
off [2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1 off -> 
[2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 0 
on  [2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1 on  -> 
[2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 0 
off [2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1 off -> 
[2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 0 
on  [2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1 on  -> 
[2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 0 
off [2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1 off -> 
[2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 2 
on  [2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1 on  -> 
[2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 2 
off [2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1 off -> 
[2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 0 
on  [2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1 on  -> 
[2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 0 
off [2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:54] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1 off -> 
[2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 0 
on  [2/DETECTED/Group A       /DNIS request ]
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 3 on  -> 
[2/DETECTED/Group B       /Go to grp II ]
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 0 
off [2/DETECTED/Group B       /Go to grp II ]
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 3 off -> 
[2/DETECTED/Group B       /Go to grp II ]
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 1 
on  [2/DETECTED/Group B       /Go to grp II ]
[Feb 26 11:18:55] NOTICE[2968] chan_unicall.c: Unicall/20 event Offered
[Feb 26 11:18:55] NOTICE[2968] chan_unicall.c: CRN 32770 - Offered on 
channel 0 (ANI: 322521141, DNIS: 400200, Cat: 0)
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 Call 
control(5)
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 Accept 
call
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 6 on  -> 
[2/OFFERED /Group B       /Accepted Paid]
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20      <- 1 
off [2/OFFERED /Group B       /Accepted Paid]
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 6 off -> 
[2/OFFERED /Group B       /Accepted Paid]
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 Answer 
guard expired
[Feb 26 11:18:55] NOTICE[2968] chan_unicall.c: Unicall/20 event Accepted
[Feb 26 11:18:55] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 Channel 
gains
[Feb 26 11:18:55] DEBUG[5682] chan_unicall.c: Answer Call
[Feb 26 11:18:55] WARNING[5682] chan_unicall.c: MFC/R2 UniCall/20 Call 
control(6)
[Feb 26 11:18:55] WARNING[5682] chan_unicall.c: MFC/R2 UniCall/20 Answer 
call
[Feb 26 11:18:55] WARNING[5682] chan_unicall.c: MFC/R2 UniCall/20 0101  -> 
[1/ACCEPTED/Answer        /Accepted Paid]
[Feb 26 11:18:55] NOTICE[5682] chan_unicall.c: Unicall/20 event Answered
[Feb 26 11:18:55] WARNING[5682] chan_unicall.c: MFC/R2 UniCall/20 Channel 
echo cancel
[Feb 26 11:18:55] DEBUG[5682] chan_unicall.c: Enabled echo cancellation on 
channel 20
[Feb 26 11:18:55] DEBUG[5682] chan_unicall.c: needcongestion
[Feb 26 11:19:03] NOTICE[5682] chan_unicall.c: Exception on 27, channel 20
[Feb 26 11:19:03] WARNING[5682] chan_unicall.c: MFC/R2 UniCall/20      <- 
1001  [1/CONNECTD/Answer        /Accepted Paid]
[Feb 26 11:19:03] WARNING[5682] chan_unicall.c: MFC/R2 UniCall/20 Far end 
disconnected(cause=Normal Clearing [16]) - state 0x400
[Feb 26 11:19:03] NOTICE[5682] chan_unicall.c: Unicall/20 event Far end 
disconnected
[Feb 26 11:19:03] NOTICE[5682] chan_unicall.c: CRN 32770 - far disconnected 
cause=Normal Clearing [16]
[Feb 26 11:19:03] WARNING[5682] chan_unicall.c: MFC/R2 UniCall/20 Channel 
gains
[Feb 26 11:19:03] WARNING[5682] chan_unicall.c: MFC/R2 UniCall/20 Channel 
switching
[Feb 26 11:19:03] DEBUG[5682] chan_unicall.c: Hangup: channel: 20 index = 0, 
normal = 27, callwait = -1, thirdcall = -1
[Feb 26 11:19:03] WARNING[5682] chan_unicall.c: MFC/R2 UniCall/20 Call 
control(7)
[Feb 26 11:19:03] WARNING[5682] chan_unicall.c: MFC/R2 UniCall/20 Drop 
call(cause=Normal Clearing [16])
[Feb 26 11:19:03] WARNING[5682] chan_unicall.c: MFC/R2 UniCall/20 Call 
disconnected(cause=Normal Clearing [16]) - state 0x800
[Feb 26 11:19:03] DEBUG[5682] chan_unicall.c: Updated conferencing on 20, 
with 0 conference users
[Feb 26 11:19:03] NOTICE[2968] chan_unicall.c: Unicall/20 event Drop call
[Feb 26 11:19:03] DEBUG[2968] chan_unicall.c: CRN 32770 - Doing a release 
call
[Feb 26 11:19:03] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 Call 
control(8)
[Feb 26 11:19:03] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 Release 
call
[Feb 26 11:19:03] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 1001  -> 
[1/ALL DISC/Release guard /Accepted Paid]
[Feb 26 11:19:03] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 Release 
guard expired
[Feb 26 11:19:03] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 Destroying 
call with CRN 32770
[Feb 26 11:19:04] NOTICE[2968] chan_unicall.c: Unicall/20 event Release call
[Feb 26 11:19:04] DEBUG[2968] chan_unicall.c: CRN 32770 - Call released
[Feb 26 11:19:04] WARNING[2968] chan_unicall.c: MFC/R2 UniCall/20 Channel 
echo cancel
[Feb 26 11:19:04] DEBUG[2968] chan_unicall.c: disabled echo cancellation on 
channel 20

Regards
Jakub
----- Original Message ----- 
From: "Moises Silva" <moises.silva at gmail.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Monday, February 18, 2008 6:23 PM
Subject: Re: [asterisk-users] mfcr2 stuck


protocolend does not matter when using MFC/R2, you can totally forget
about it, ignore it etc.

What we need is a trace of the R2 signaling. You can take such by
adding this line to unicall.conf

loglevel=255

Then make sure you have enabled max debugging in logger.conf in
Asterisk. When the failure ocurs, copy and paste here the unicall
logs.

Regards,

- Moisés Silva

On Feb 18, 2008 8:27 AM, aymen warfalli <awerflli at hotmail.com> wrote:
>
>
> Hi Jakub
>
>  could you please post the zaptel.conf and asterisk cli unicall channel
> error plus what is version of unicall  and zaptel are  u install and i 
> think
> you miss the "protocolend= option (cpe or net??)"  line in the uncall.conf
>
>  ayman
>
>
>
>  ________________________________
>  From: arkon at nast.pl
> To: asterisk-users at lists.digium.com
> Date: Mon, 18 Feb 2008 08:36:52 +0100
> Subject: [asterisk-users] mfcr2 stuck
>
>
>
>
> Hello
> I'm using mfcr2 support (unicall) in asterisk 1.4. Everything is working
> fine, asterisk can answer calls.
> But after some random period of time mfcr2 module stuck. When I make a 
> call
> to my * box I can hear only signal of getting caller ID („tritirirti" – 
> like
> jumping on :) ) and connection is terminated by my telecom operator. When
> everything I ok after few seconds of this signal my asterisk answer.
>
> Below is my unciall.conf
>
> [root at elastix ~]# cat /etc/asterisk/unicall.conf
> [Channels]
> loglevel=255
> language=pl
> context=from-pstn
> usecallerid=no
> hidecallerid=no
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> ;echotraining=800
> echotraining=yes
> relaxdtmf=no
> rxgain=0
> txgain=0
> group=11
> callgroup=0
> pickupgroup=0
> immediate=yes
> callerid=asreceived
> amaflags=default
> accountcode=avantel
> musiconhold=default
> protocolclass=mfcr2
> protocolvariant=cz,9,6
> channel=1-15
> channel=17-31
> supertones=pl
>
>
> Regards
> Jakub
>
>
> ________________________________
> Shed those extra pounds with MSN and The Biggest Loser! Learn more.
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
"I do not agree with what you have to say, but I'll defend to the
death your right to say it." Voltaire

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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




More information about the asterisk-users mailing list