[asterisk-r2] [MFCR2+LIBOPENR2 TELEFONICA COLOMBIA]

Carlos Andrés Tapasco Viera ctapasco at opengroupsa.com
Fri Apr 3 18:18:47 CDT 2009


But I have this parameter already configured, and with a different value,
for that reason this message is so rare for me.  There is my
chan_dahdi.conf.  I'll try to modify _MFCR2_CATEGORY variable in my dialplan
to see if it make some effect.

******************************
/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_suscriber
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 4:09 PM, Moises Silva <moises.silva at gmail.com> wrote:

> As you can read from the warning
>
> [Apr  3 15:48:19] WARNING[996]: chan_dahdi.c:1646
> dahdi_r2_get_channel_category: Invalid category specified 'National
> Subscriber' for chan DAHDI/1-1, using default National Subscriber
>
> You specified an invalid category using _MFCR2_CATEGORY variable in
> the dial plan. Read the comments in configs/chan_dahdi.conf.sample for
> mfcr2_category parameter.
>
>
> On Fri, Apr 3, 2009 at 4:53 PM, Carlos Andrés Tapasco Viera
> <ctapasco at opengroupsa.com> wrote:
> > Hi OrvUx, I'd change that parameter before and I obtain same mistake.
> Even
> > I puted mfcr2_category=national_priority_suscriber I still obtaining a
> > message relative to National Sucriber, as you can see here:
> >
> > ************************************
> > CLI> core set verbose 10
> > ************************************
> > Executing [94862030 at opengroup:1] Answer("SIP/01-09b1db98", "") in new
> stack
> >     -- Executing [94862030 at opengroup:2] Dial("SIP/01-09b1db98",
> > "DAHDI/g0/4862030,,rtT") in new stack
> > [Apr  3 15:48:19] WARNING[996]: chan_dahdi.c:1646
> > dahdi_r2_get_channel_category: Invalid category specified 'National
> > Subscriber' for chan DAHDI/1-1, using default National Subscriber
> >     -- Called g0/4862030
> >        > Saved useragent "Audiocodes-Sip-Gateway-MP-118
> FXS/v.5.40A.027.002"
> > for peer 303
> >        > Saved useragent "T10T" for peer 141
> >        > Saved useragent "T10T" for peer 119
> > [Apr  3 15:48:21] NOTICE[996]: chan_dahdi.c:1926 dahdi_r2_write_log: Chan
> 1
> > - Far end disconnected. Reason: Network Congestion
> >     -- MFC/R2 call disconnected on chan 1
> >     -- DAHDI/1-1 is circuit-busy
> >     -- Hungup 'DAHDI/1-1'
> >   == Everyone is busy/congested at this time (1:0/1/0)
> >     -- Executing [94862030 at opengroup:3] Hangup("SIP/01-09b1db98", "") in
> new
> > stack
> >   == Spawn extension (opengroup, 94862030, 3) exited non-zero on
> > 'SIP/01-09b1db98'
> > [Apr  3 15:48:21] NOTICE[973]: chan_dahdi.c:1796 dahdi_r2_on_call_end:
> > MFC/R2 call end on chan 1
> >
> > ***********************************
> > /var/log/asterisk/mfcr2/span1/chan-1-forward-0-20090403154819.call
> > ***********************************
> > [15:48:19:313] [Thread: 3073686416] [Chan 1] - Call started at Fri Apr  3
> > 15:48:19 2009 on chan 1
> > [15:48:19:313] [Thread: 3073686416] [Chan 1] - CAS Tx >> [SEIZE] 0x00
> > [15:48:19:313] [Thread: 3073686416] [Chan 1] - CAS Raw Tx >> 0x01
> > [15:48:19:348] [Thread: 3073686416] [Chan 1] - Bits changed from 0x08 to
> > 0x0C
> > [15:48:19:348] [Thread: 3073686416] [Chan 1] - CAS Rx << [SEIZE ACK] 0x0C
> > [15:48:19:348] [Thread: 3073686416] [Chan 1] - Attempting to cancel timer
> > timer 2
> > [15:48:19:348] [Thread: 3073686416] [Chan 1] - timer id 2 found,
> cancelling
> > it now
> > [15:48:19:348] [Thread: 3073686416] [Chan 1] - Sending DNIS digit 4
> > [15:48:19:348] [Thread: 3073686416] [Chan 1] - MF Tx >> 4 [ON]
> > [15:48:19:453] [Thread: 3073686416] [Chan 1] - MF Rx << 1 [ON]
> > [15:48:19:453] [Thread: 3073686416] [Chan 1] - Attempting to cancel timer
> > timer 0
> > [15:48:19:453] [Thread: 3073686416] [Chan 1] - Cannot cancel timer 0
> > [15:48:19:453] [Thread: 3073686416] [Chan 1] - MF Tx >> 4 [OFF]
> > [15:48:19:533] [Thread: 3073686416] [Chan 1] - MF Rx << 1 [OFF]
> > [15:48:19:533] [Thread: 3073686416] [Chan 1] - Sending DNIS digit 8
> > [15:48:19:533] [Thread: 3073686416] [Chan 1] - MF Tx >> 8 [ON]
> > [15:48:19:533] [Thread: 3073686416] [Chan 1] - Group A DNIS request
> handled
> > [15:48:19:633] [Thread: 3073686416] [Chan 1] - MF Rx << 5 [ON]
> > [15:48:19:633] [Thread: 3073686416] [Chan 1] - Attempting to cancel timer
> > timer 0
> > [15:48:19:633] [Thread: 3073686416] [Chan 1] - Cannot cancel timer 0
> > [15:48:19:633] [Thread: 3073686416] [Chan 1] - MF Tx >> 8 [OFF]
> > [15:48:19:713] [Thread: 3073686416] [Chan 1] - MF Rx << 5 [OFF]
> > [15:48:19:713] [Thread: 3073686416] [Chan 1] - Sending category National
> > Subscriber
> > [15:48:19:713] [Thread: 3073686416] [Chan 1] - MF Tx >> 1 [ON]
> > [15:48:19:813] [Thread: 3073686416] [Chan 1] - MF Rx << 5 [ON]
> > [15:48:19:813] [Thread: 3073686416] [Chan 1] - Attempting to cancel timer
> > timer 0
> > [15:48:19:813] [Thread: 3073686416] [Chan 1] - Cannot cancel timer 0
> > [15:48:19:813] [Thread: 3073686416] [Chan 1] - MF Tx >> 1 [OFF]
> > [15:48:19:893] [Thread: 3073686416] [Chan 1] - MF Rx << 5 [OFF]
> > [15:48:19:893] [Thread: 3073686416] [Chan 1] - Sending ANI digit 0
> > [15:48:19:893] [Thread: 3073686416] [Chan 1] - MF Tx >> 0 [ON]
> > [15:48:19:953] [Thread: 3073686416] [Chan 1] - MF Rx << 5 [ON]
> > [15:48:19:953] [Thread: 3073686416] [Chan 1] - Attempting to cancel timer
> > timer 0
> > [15:48:19:953] [Thread: 3073686416] [Chan 1] - Cannot cancel timer 0
> > [15:48:19:953] [Thread: 3073686416] [Chan 1] - MF Tx >> 0 [OFF]
> > [15:48:20:033] [Thread: 3073686416] [Chan 1] - MF Rx << 5 [OFF]
> > [15:48:20:033] [Thread: 3073686416] [Chan 1] - Sending ANI digit 1
> > [15:48:20:033] [Thread: 3073686416] [Chan 1] - MF Tx >> 1 [ON]
> > [15:48:20:133] [Thread: 3073686416] [Chan 1] - MF Rx << 5 [ON]
> > [15:48:20:133] [Thread: 3073686416] [Chan 1] - Attempting to cancel timer
> > timer 0
> > [15:48:20:133] [Thread: 3073686416] [Chan 1] - Cannot cancel timer 0
> > [15:48:20:133] [Thread: 3073686416] [Chan 1] - MF Tx >> 1 [OFF]
> > [15:48:20:213] [Thread: 3073686416] [Chan 1] - MF Rx << 5 [OFF]
> > [15:48:20:213] [Thread: 3073686416] [Chan 1] - Sending more ANI
> unavailable
> > [15:48:20:213] [Thread: 3073686416] [Chan 1] - MF Tx >> F [ON]
> > [15:48:20:293] [Thread: 3073686416] [Chan 1] - MF Rx << 1 [ON]
> > [15:48:20:293] [Thread: 3073686416] [Chan 1] - Attempting to cancel timer
> > timer 0
> > [15:48:20:293] [Thread: 3073686416] [Chan 1] - Cannot cancel timer 0
> > [15:48:20:293] [Thread: 3073686416] [Chan 1] - MF Tx >> F [OFF]
> > [15:48:20:393] [Thread: 3073686416] [Chan 1] - MF Rx << 1 [OFF]
> > [15:48:20:393] [Thread: 3073686416] [Chan 1] - Sending DNIS digit 6
> > [15:48:20:393] [Thread: 3073686416] [Chan 1] - MF Tx >> 6 [ON]
> > [15:48:20:393] [Thread: 3073686416] [Chan 1] - Group A DNIS request
> handled
> > [15:48:20:473] [Thread: 3073686416] [Chan 1] - MF Rx << 1 [ON]
> > [15:48:20:473] [Thread: 3073686416] [Chan 1] - Attempting to cancel timer
> > timer 0
> > [15:48:20:473] [Thread: 3073686416] [Chan 1] - Cannot cancel timer 0
> > [15:48:20:473] [Thread: 3073686416] [Chan 1] - MF Tx >> 6 [OFF]
> > [15:48:20:553] [Thread: 3073686416] [Chan 1] - MF Rx << 1 [OFF]
> > [15:48:20:553] [Thread: 3073686416] [Chan 1] - Sending DNIS digit 2
> > [15:48:20:553] [Thread: 3073686416] [Chan 1] - MF Tx >> 2 [ON]
> > ******************************************
> >
> > On Fri, Apr 3, 2009 at 3:10 PM, OrvUx <orvux at orvux.net> wrote:
> >>
> >> Carlos, i had the same problem and the solution was changing the
> >> mfcr2_category:
> >>
> >> from:
> >>
> >> mfcr2_category=national_suscriber
> >>
> >> to:
> >>
> >> mfcr2_category=national_priority_subscriber
> >>
> >>
> >> Try it and post your results.
> >>
> >>
> >> --
> >> OrvUx
> >> Making the Hard...Soft with Debian GNU/Linux... ;)
> >
> >
> >
> > --
> > 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
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-r2 mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-r2
> >
>
>
>
> --
> "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-r2 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-r2
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20090403/24c6b922/attachment-0001.htm 


More information about the asterisk-r2 mailing list