[asterisk-r2] [MFCR2+LIBOPENR2 TELEFONICA COLOMBIA]
Juan Rosero
juan.rosero at nowtek.net
Sat Apr 4 10:57:56 CDT 2009
I was having the exact same problem and it got fixed when I used itu for mfcr2_variant!
I have inbound and outband calls, yay!
Here's my configuration so it might help anybody in Colombia and Carlos in particular, although I use colombian provider ETB instead of Telefónica... If you need any other file just tell me.
I have two spans but only one is for the E1 so I will only attach the relevant configuration, carefull with the spans then...
Here are the files:
***********
zaptel.conf
***********
# Span 2: WCT1/0 "Wildcard TE121 Card 0" HDB3/CCS/CRC4 RED RECOVERING
span=2,1,0,cas,hdb3
cas=9-23:1101
dchan=24
cas=25-39:1101
# Global data
loadzone = fr
defaultzone = fr
***********
zapata.conf
***********
[trunkgroups]
[channels]
language=es
; Span 2: WCT1/0 "Wildcard TE121 Card 0" (MASTER) HDB3/
signalling=mfcr2
mfcr2_variant=itu
mfcr2_get_ani_first=no
mfcr2_max_ani=10
mfcr2_max_dnis=3
mfcr2_category=national_subscriber
mfcr2_logdir=ETB
mfcr2_call_files=yes
mfcr2_logging=all
mfcr2_mfback_timeout=8000
mfcr2_metering_pulse_timeout=-1
mfcr2_allow_collect_calls=yes
mfcr2_double_answer=no
mfcr2_immediate_accept=no
mfcr2_forced_release=no
mfcr2_charge_calls=no
context=from-zaptel
group=1,2
callgroup=1
pickupgroup=1
musiconhold=default
usecallerid=yes
channel => 9-23
channel => 25-39
________________________________________
From: asterisk-r2-bounces at lists.digium.com [asterisk-r2-bounces at lists.digium.com] On Behalf Of Carlos Andrés Tapasco Viera [ctapasco at opengroupsa.com]
Sent: Saturday, April 04, 2009 10:03 AM
To: asterisk-r2 at lists.digium.com
Subject: Re: [asterisk-r2] [MFCR2+LIBOPENR2 TELEFONICA COLOMBIA]
Well, you were right and I was wrong but the mistake still appearing. Definitelly I cannot understand what is happening with my config. Thanks for your valious time.
*****************************************
CLI> core set verbose 10
*****************************************
Executing [94862030 at opengroup:1] Dial("SIP/01-b7cd4b30", "DAHDI/g0/4862030,,rtT") in new stack
[Apr 4 09:53:05] WARNING[11648]: chan_dahdi.c:1646 dahdi_r2_get_channel_category: Invalid category specified 'National Subscriber' for chan DAHDI/2-1, using default National Priority Subscriber
-- Called g0/4862030
[Apr 4 09:53:07] NOTICE[11648]: chan_dahdi.c:1926 dahdi_r2_write_log: Chan 2 - Far end disconnected. Reason: Network Congestion
-- MFC/R2 call disconnected on chan 2
-- DAHDI/2-1 is circuit-busy
-- Hungup 'DAHDI/2-1'
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [94862030 at opengroup:2] Hangup("SIP/01-b7cd4b30", "") in new stack
== Spawn extension (opengroup, 94862030, 2) exited non-zero on 'SIP/01-b7cd4b30'
[Apr 4 09:53:08] NOTICE[8776]: chan_dahdi.c:1796 dahdi_r2_on_call_end: MFC/R2 call end on chan 2
*****************************************
*****************************************
[09:53:05:933] [Thread: 3073440656] [Chan 2] - Call started at Sat Apr 4 09:53:05 2009 on chan 2
[09:53:05:933] [Thread: 3073440656] [Chan 2] - CAS Tx >> [SEIZE] 0x00
[09:53:05:933] [Thread: 3073440656] [Chan 2] - CAS Raw Tx >> 0x01
[09:53:05:972] [Thread: 3073440656] [Chan 2] - Bits changed from 0x08 to 0x0C
[09:53:05:972] [Thread: 3073440656] [Chan 2] - CAS Rx << [SEIZE ACK] 0x0C
[09:53:05:972] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 2
[09:53:05:972] [Thread: 3073440656] [Chan 2] - timer id 2 found, cancelling it now
[09:53:05:972] [Thread: 3073440656] [Chan 2] - Sending DNIS digit 4
[09:53:05:972] [Thread: 3073440656] [Chan 2] - MF Tx >> 4 [ON]
[09:53:06:072] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [ON]
[09:53:06:072] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:06:072] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:06:072] [Thread: 3073440656] [Chan 2] - MF Tx >> 4 [OFF]
[09:53:06:152] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [OFF]
[09:53:06:152] [Thread: 3073440656] [Chan 2] - Sending DNIS digit 8
[09:53:06:152] [Thread: 3073440656] [Chan 2] - MF Tx >> 8 [ON]
[09:53:06:152] [Thread: 3073440656] [Chan 2] - Group A DNIS request handled
[09:53:06:252] [Thread: 3073440656] [Chan 2] - MF Rx << 5 [ON]
[09:53:06:252] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:06:252] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:06:252] [Thread: 3073440656] [Chan 2] - MF Tx >> 8 [OFF]
[09:53:06:332] [Thread: 3073440656] [Chan 2] - MF Rx << 5 [OFF]
[09:53:06:332] [Thread: 3073440656] [Chan 2] - Sending category National Priority Subscriber
[09:53:06:333] [Thread: 3073440656] [Chan 2] - MF Tx >> 2 [ON]
[09:53:06:432] [Thread: 3073440656] [Chan 2] - MF Rx << 5 [ON]
[09:53:06:433] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:06:433] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:06:433] [Thread: 3073440656] [Chan 2] - MF Tx >> 2 [OFF]
[09:53:06:533] [Thread: 3073440656] [Chan 2] - MF Rx << 5 [OFF]
[09:53:06:533] [Thread: 3073440656] [Chan 2] - Sending ANI digit 0
[09:53:06:533] [Thread: 3073440656] [Chan 2] - MF Tx >> 0 [ON]
[09:53:06:633] [Thread: 3073440656] [Chan 2] - MF Rx << 5 [ON]
[09:53:06:633] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:06:633] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:06:633] [Thread: 3073440656] [Chan 2] - MF Tx >> 0 [OFF]
[09:53:06:713] [Thread: 3073440656] [Chan 2] - MF Rx << 5 [OFF]
[09:53:06:713] [Thread: 3073440656] [Chan 2] - Sending ANI digit 1
[09:53:06:713] [Thread: 3073440656] [Chan 2] - MF Tx >> 1 [ON]
[09:53:06:793] [Thread: 3073440656] [Chan 2] - MF Rx << 5 [ON]
[09:53:06:793] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:06:793] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:06:793] [Thread: 3073440656] [Chan 2] - MF Tx >> 1 [OFF]
[09:53:06:873] [Thread: 3073440656] [Chan 2] - MF Rx << 5 [OFF]
[09:53:06:873] [Thread: 3073440656] [Chan 2] - Sending more ANI unavailable
[09:53:06:873] [Thread: 3073440656] [Chan 2] - MF Tx >> F [ON]
[09:53:06:973] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [ON]
[09:53:06:973] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:06:973] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:06:973] [Thread: 3073440656] [Chan 2] - MF Tx >> F [OFF]
[09:53:07:053] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [OFF]
[09:53:07:053] [Thread: 3073440656] [Chan 2] - Sending DNIS digit 6
[09:53:07:053] [Thread: 3073440656] [Chan 2] - MF Tx >> 6 [ON]
[09:53:07:053] [Thread: 3073440656] [Chan 2] - Group A DNIS request handled
[09:53:07:133] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [ON]
[09:53:07:133] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:07:133] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:07:133] [Thread: 3073440656] [Chan 2] - MF Tx >> 6 [OFF]
[09:53:07:213] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [OFF]
[09:53:07:213] [Thread: 3073440656] [Chan 2] - Sending DNIS digit 2
[09:53:07:213] [Thread: 3073440656] [Chan 2] - MF Tx >> 2 [ON]
[09:53:07:213] [Thread: 3073440656] [Chan 2] - Group A DNIS request handled
[09:53:07:293] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [ON]
[09:53:07:293] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:07:293] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:07:293] [Thread: 3073440656] [Chan 2] - MF Tx >> 2 [OFF]
[09:53:07:373] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [OFF]
[09:53:07:373] [Thread: 3073440656] [Chan 2] - Sending DNIS digit 0
[09:53:07:373] [Thread: 3073440656] [Chan 2] - MF Tx >> 0 [ON]
[09:53:07:373] [Thread: 3073440656] [Chan 2] - Group A DNIS request handled
[09:53:07:453] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [ON]
[09:53:07:453] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:07:453] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:07:453] [Thread: 3073440656] [Chan 2] - MF Tx >> 0 [OFF]
[09:53:07:533] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [OFF]
[09:53:07:533] [Thread: 3073440656] [Chan 2] - Sending DNIS digit 3
[09:53:07:533] [Thread: 3073440656] [Chan 2] - MF Tx >> 3 [ON]
[09:53:07:533] [Thread: 3073440656] [Chan 2] - Group A DNIS request handled
[09:53:07:613] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [ON]
[09:53:07:613] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:07:613] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:07:613] [Thread: 3073440656] [Chan 2] - MF Tx >> 3 [OFF]
[09:53:07:693] [Thread: 3073440656] [Chan 2] - MF Rx << 1 [OFF]
[09:53:07:693] [Thread: 3073440656] [Chan 2] - Sending DNIS digit 0
[09:53:07:693] [Thread: 3073440656] [Chan 2] - MF Tx >> 0 [ON]
[09:53:07:693] [Thread: 3073440656] [Chan 2] - Group A DNIS request handled
[09:53:07:833] [Thread: 3073440656] [Chan 2] - MF Rx << 4 [ON]
[09:53:07:833] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:07:833] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:07:833] [Thread: 3073440656] [Chan 2] - MF Tx >> 0 [OFF]
[09:53:07:933] [Thread: 3073440656] [Chan 2] - MF Rx << 4 [OFF]
[09:53:07:933] [Thread: 3073440656] [Chan 2] - Far end disconnected. Reason: Network Congestion
[09:53:07:933] [Thread: 3073440656] [Chan 2] - Attempting to cancel timer timer 0
[09:53:07:933] [Thread: 3073440656] [Chan 2] - Cannot cancel timer 0
[09:53:07:933] [Thread: 3073440656] [Chan 2] - CAS Tx >> [CLEAR FORWARD] 0x08
[09:53:07:933] [Thread: 3073440656] [Chan 2] - CAS Raw Tx >> 0x09
[09:53:08:270] [Thread: 3078839184] [Chan 2] - Bits changed from 0x0C to 0x08
[09:53:08:270] [Thread: 3078839184] [Chan 2] - CAS Rx << [IDLE] 0x08
[09:53:08:270] [Thread: 3078839184] [Chan 2] - Call ended
[09:53:08:270] [Thread: 3078839184] [Chan 2] - Attempting to cancel timer timer 0
[09:53:08:270] [Thread: 3078839184] [Chan 2] - Cannot cancel timer 0
*************************************
/etc/asterisk/chan_dahdi.conf
*************************************
[trunkgroups]
;
[channels]
usecallerid=yes
language=es
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=no
echocancelwhenbridged=no
;
signalling=mfcr2
mfcr2_variant=itu
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=3
mfcr2_category=national_priority_subscriber
mfcr2_logdir=span1
mfcr2_logging=all
mfcr2_call_files=yes
context=entrante
group=0
callgroup=0
pickupgroup=0
channel => 1-15
channel => 17-31
**********************************
**********************************
On Fri, Apr 3, 2009 at 10:06 PM, Melcon Moraes <melcon at gmail.com<mailto:melcon at gmail.com>> wrote:
On your conf you have:
mfcr2_category=national_priority_suscriber
Try with:
mfcr2_category=national_priority_subscriber
-MM
--
Carlos Andrés Tapasco Viera
OpenGroup S.A.
Ingeniero Electrónico
Area de Telecomunicaciones
IP-PBX +57-24862030
Mobile 1 +57-3117650143
Mobile 2 +57-3012141132
Santiago de Cali
Valle del Cauca
Colombia
Sudamérica
More information about the asterisk-r2
mailing list