[asterisk-r2] Unable to make new MFC/R2 call

rodrigo montiel rodmontiel at gmail.com
Wed Aug 13 17:06:50 CDT 2014


Hi list,

Im having issues in an integration with Avaya PBX from my Asterisk:

provider --->MFCR2-->Asterisk-->MFCR2-->Avaya

In certain situations, nobody can make inbound calls to Avaya using R2
trunk. Incoming calls are OK reaching Asterisk, then cannot be forwarded to
Avaya.
The error I have found is as follow:

Aug 13 17:00:01] ERROR[22804][C-00003382] chan_dahdi.c: Chan 37 - Trying to
dial out in a non-idle channel (cas=0x00)
[Aug 13 17:00:01] ERROR[22804][C-00003382] chan_dahdi.c: unable to make new
MFC/R2 call!
[Aug 13 17:00:01] VERBOSE[22804][C-00003382] app_dial.c:     -- Couldn't
call DAHDI/g1/450
[Aug 13 17:00:01] VERBOSE[22804][C-00003382] chan_dahdi.c:     -- Hungup
'DAHDI/37-1'

mfcr2 show channels shows the following:

 35 AR      13      13       No        No               SEIZE    ANSWER
  36 AR      13      13       No        No               SEIZE    ANSWER
 * 37 AR      13      13       No        No               IDLE     FORCED R*
  38 AR      13      13       No        No               IDLE     IDLE
  39 AR      13      13       No        No               IDLE     IDLE
  40 AR      13      13       No        No               IDLE     IDLE
  41 AR      13      13       No        No               IDLE     IDLE

The thing is outoging calls can be routed without issues, from Avaya to the
world.

Seems that Asterisk is trying to use the same "channel" expecting to be
idle while not. Not sure why it keeps trying with the same channel instead
of choosing another one.
I could get rid of the issue blocking the channel and then idle'ing:

mfcr2 set blocked 37
mfcr2 set idle 37

After that I can see IDLE-IDLE as expected. I cannot see channels even in
blocking state, not sure why nobody can make inbound calls with just a
particular channel in problems.
Still looking for FORCED R status information in Rx to understand what is
going on there.

My configuration is as follow:

Packages:

Asterisk 11.11.0
dahdi-2.9.2-1
kmod-dahdi-2.9.2-1
dahdi-devel-2.9.2-1
libopenr2-devel-1.3.3-0
libopenr2-1.3.3-0

Avaya R2 trunk:

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
; From Definity
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
relaxdtmf=yes
rxgain=1.0
txgain=0.0
group=1
signalling=mfcr2
mfcr2_variant=ar
mfcr2_get_ani_first=no
mfcr2_max_ani=13
mfcr2_max_dnis=13
mfcr2_category=national_subscriber
mfcr2_call_files=yes
mfcr2_logdir=span2
mfcr2_logging=nothing
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
faxdetect=both
faxbuffers=>12,half
context=from-internal
channel => 32-46,48-62

system.conf:

span=2,0,0,cas,hdb3
cas=32-46,48-62:1101
echocanceller=oslec,32-46,48-62




-- 
Rod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20140813/646e9010/attachment.html>


More information about the asterisk-r2 mailing list