[asterisk-r2] No outgoing calls with openr2 and Telefonica Sao Paulo

Josadaque Evangelista josadaque at yahoo.com
Thu May 12 00:14:24 CDT 2011


Hi everyone,

When I try an outgoing call the following errors are showing in log files:

[May 11 15:13:03] DEBUG[7853] chan_dahdi.c: bits changed in chan 1
[May 11 15:13:07] ERROR[7853] chan_dahdi.c: Chan 1 - Protocol error. Reason = Invalid Multi Frequency Tone, R2 State = Seize ACK Received, MF state = Category Transmitted, MF Group = Forward Group II, CAS = 0x0C
DNIS = 97426399, ANI = 1133159279, MF = 0x31
[May 11 15:13:07] ERROR[7853] chan_dahdi.c: MFC/R2 protocol error on chan 1: Invalid Multi Frequency Tone
[May 11 15:13:07] VERBOSE[7853] chan_dahdi.c:     -- Hungup 'DAHDI/1-1'
[May 11 15:13:07] VERBOSE[7853] app_dial.c:   == Everyone is busy/congested at this time (1:0/0/1)
[May 11 15:13:07] VERBOSE[7853] pbx.c:     -- Executing [s at macro-dialout-trunk:20] NoOp("SIP/5001-0000000e", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 111") in new stack
[May 11 15:13:07] VERBOSE[7853] pbx.c:     -- Executing [s at macro-dialout-trunk:21] Goto("SIP/5001-0000000e", "s-CHANUNAVAIL,1") in new stack

This is my actual configuration:

/etc/dahdi/system.conf
span=1,1,0,cas,hdb3
cas=1-15:1101
#dchan=16
cas=17-31:1101

# Global data

loadzone        = br
defaultzone        = br


/etc/asterisk/chan_dahdi.conf

context=from-pstn
language=pt_BR
signalling=mfcr2
switchtype=national
mfcr2_variant=br
mfcr2_immediate_accept=no
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=4
mfcr2_category=national_subscriber
mfcr2_mfback_timeout=-1
mfcr2_metering_pulse_timeout=-1
; choose only yes or no
mfcr2_allow_collect_calls=no
mfcr2_double_answer=no
mfcr2_charge_calls=yes

mfcr2_logdir=span1
mfcr2_call_files=yes
mfcr2_logging=all

I have tried so many configurations with no success.

Thanks



More information about the asterisk-r2 mailing list