[asterisk-r2] asterisk-r2 Digest, Vol 76, Issue 3

Ramon Velasquez ramvel99 at gmail.com
Thu Feb 12 20:05:41 CST 2015


Gustavo,

Take a look at Dnis Setup for venezuela. (chan_dadhi.conf)
CANTV provides just 3 o 4 digits, ask them which one you must use.

Drop me an email to ramvel99 at gmail.com  if you need some helps. (I'm
Venezuelan)
Run dahdi_cfg
Run dahdi_hardaware
and send output information

This setup is working for me:

; Sample for CANTV

signalling=mfcr2

mfcr2_variant=ve

mfcr2_get_ani_first=yes

mfcr2_immediate_accept=yes

mfcr2_max_ani=10

;mfcr2_max_dnis=4

mfcr2_max_dnis=3

mfcr2_category=national_subscriber

mfcr2_logdir=CANTV

mfcr2_logging=all

mfcr2_mfback_timeout=-1

mfcr2_forced_release=yes

;mfcr2_skip_category=yes


Regards


Ramon

dCAP 1514



2015-02-12 13:30 GMT-04:30 <asterisk-r2-request at lists.digium.com>:

> Send asterisk-r2 mailing list submissions to
>         asterisk-r2 at lists.digium.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.digium.com/mailman/listinfo/asterisk-r2
> or, via email, send a message with subject or body 'help' to
>         asterisk-r2-request at lists.digium.com
>
> You can reach the person managing the list at
>         asterisk-r2-owner at lists.digium.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of asterisk-r2 digest..."
>
>
> Today's Topics:
>
>    1. mfcr2 cas errors digium te133 (Gustavo Yanes)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 12 Feb 2015 11:21:45 -0500
> From: Gustavo Yanes <gustavoy at hotmail.com>
> To: "asterisk-r2 at lists.digium.com" <asterisk-r2 at lists.digium.com>
> Subject: [asterisk-r2] mfcr2 cas errors digium te133
> Message-ID: <COL129-W755CB5500EA36AF0711CD5DB220 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Good morning i have a new pbx with elastix 2.5 and a te133 from digium the
> E1 is working ok however on the asterisk cli i see several errors wich are
> posted bellow (they repeat over time). Also it appears that the E1 is
> detecting incoming calls but there are none. My provider says he does not
> see anything on the line...
> Can you please help with this issue, as i have this configuration running
> with teh same provider on other machines with out this errors.
> Bellow the errors and config files, every bit of help would be greatly
> aprecciated.
>
>
>
> [2015-02-12 11:37:05] ERROR[3398]: chan_dahdi.c:4575 dahdi_r2_write_log:
> Chan 33 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
> MF Engine Off, MF Group = No Group, CAS = 0x04
> DNIS = , ANI = , MF = 0x20
> [2015-02-12 11:37:05] ERROR[3400]: chan_dahdi.c:4575 dahdi_r2_write_log:
> Chan 35 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
> MF Engine Off, MF Group = No Group, CAS = 0x04
> DNIS = , ANI = , MF = 0x20
> [2015-02-12 11:37:05] ERROR[3384]: chan_dahdi.c:4575 dahdi_r2_write_log:
> Chan 18 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
> MF Engine Off, MF Group = No Group, CAS = 0x04
> DNIS = , ANI = , MF = 0x20
> [2015-02-12 11:37:05] ERROR[3400]: chan_dahdi.c:4335
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 35: Invalid CAS
> New MFC/R2 call detected on chan 31.
> [2015-02-12 11:37:05] ERROR[3398]: chan_dahdi.c:4335
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 33: Invalid CAS
> New MFC/R2 call detected on chan 15.
> [2015-02-12 11:37:05] ERROR[3397]: chan_dahdi.c:4575 dahdi_r2_write_log:
> Chan 32 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
> MF Engine Off, MF Group = No Group, CAS = 0x04
> DNIS = , ANI = , MF = 0x20
> [2015-02-12 11:37:05] ERROR[3397]: chan_dahdi.c:4335
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 32: Invalid CAS
> [2015-02-12 11:37:05] ERROR[3382]: chan_dahdi.c:4575 dahdi_r2_write_log:
> Chan 16 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
> MF Engine Off, MF Group = No Group, CAS = 0x04
> DNIS = , ANI = , MF = 0x20
> [2015-02-12 11:37:05] ERROR[3382]: chan_dahdi.c:4335
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 16: Invalid CAS
> [2015-02-12 11:37:05] ERROR[3383]: chan_dahdi.c:4575 dahdi_r2_write_log:
> Chan 17 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
> MF Engine Off, MF Group = No Group, CAS = 0x04
> DNIS = , ANI = , MF = 0x20
> [2015-02-12 11:37:05] ERROR[3399]: chan_dahdi.c:4575 dahdi_r2_write_log:
> Chan 34 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
> MF Engine Off, MF Group = No Group, CAS = 0x04
> DNIS = , ANI = , MF = 0x20
> [2015-02-12 11:37:05] ERROR[3399]: chan_dahdi.c:4335
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 34: Invalid CAS
> [2015-02-12 11:37:05] ERROR[3384]: chan_dahdi.c:4335
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 18: Invalid CAS
> [2015-02-12 11:37:05] ERROR[3385]: chan_dahdi.c:4575 dahdi_r2_write_log:
> Chan 19 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state =
> MF Engine Off, MF Group = No Group, CAS = 0x04
> DNIS = , ANI = , MF = 0x20
> [2015-02-12 11:37:05] ERROR[3385]: chan_dahdi.c:4335
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 19: Invalid CAS
> [2015-02-12 11:37:05] ERROR[3383]: chan_dahdi.c:4335
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 17: Invalid CAS
> [2015-02-12 11:37:05] NOTICE[3383]: chan_dahdi.c:4606
> dahdi_r2_on_line_idle: Far end unblocked on chan 17
> [2015-02-12 11:37:05] NOTICE[3400]: chan_dahdi.c:4606
> dahdi_r2_on_line_idle: Far end unblocked on chan 35
> [2015-02-12 11:37:05] NOTICE[3382]: chan_dahdi.c:4606
> dahdi_r2_on_line_idle: Far end unblocked on chan 16
> Chan 31 - Far end disconnected. Reason: Normal Clearing
> [2015-02-12 11:37:05] NOTICE[3385]: chan_dahdi.c:4606
> dahdi_r2_on_line_idle: Far end unblocked on chan 19
> [2015-02-12 11:37:05] NOTICE[3398]: chan_dahdi.c:4606
> dahdi_r2_on_line_idle: Far end unblocked on chan 33
> MFC/R2 call disconnected on channel 31
> [2015-02-12 11:37:05] NOTICE[3397]: chan_dahdi.c:4606
> dahdi_r2_on_line_idle: Far end unblocked on chan 32
> [2015-02-12 11:37:05] NOTICE[3399]: chan_dahdi.c:4606
> dahdi_r2_on_line_idle: Far end unblocked on chan 34
> [2015-02-12 11:37:05] NOTICE[3384]: chan_dahdi.c:4606
> dahdi_r2_on_line_idle: Far end unblocked on chan 18
> Chan 15 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 15
> MFC/R2 call end on channel 31
> MFC/R2 call end on channel 15
> New MFC/R2 call detected on chan 34.
> New MFC/R2 call detected on chan 19.
> New MFC/R2 call detected on chan 18.
> New MFC/R2 call detected on chan 35.
> Chan 19 - Far end disconnected. Reason: Normal Clearing
> Chan 35 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 19
> MFC/R2 call disconnected on channel 35
> Chan 18 - Far end disconnected. Reason: Normal Clearing
> Chan 34 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 34
> MFC/R2 call end on channel 19
> MFC/R2 call end on channel 34
> MFC/R2 call end on channel 35
> MFC/R2 call disconnected on channel 18
> MFC/R2 call end on channel 18
> New MFC/R2 call detected on chan 19.
> New MFC/R2 call detected on chan 35.
> Chan 19 - Far end disconnected. Reason: Normal Clearing
> Chan 35 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 19
> MFC/R2 call disconnected on channel 35
> MFC/R2 call end on channel 19
> MFC/R2 call end on channel 35
> New MFC/R2 call detected on chan 19.
> New MFC/R2 call detected on chan 35.
> Chan 35 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 35
> Chan 19 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 19
> MFC/R2 call end on channel 35
> MFC/R2 call end on channel 19
>     -- Remote UNIX connection
>     -- Remote UNIX connection disconnected
> New MFC/R2 call detected on chan 19.
> New MFC/R2 call detected on chan 35.
> New MFC/R2 call detected on chan 18.
> New MFC/R2 call detected on chan 34.
> Chan 18 - Far end disconnected. Reason: Normal Clearing
> Chan 34 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 34
> MFC/R2 call disconnected on channel 18
> MFC/R2 call end on channel 34
> MFC/R2 call end on channel 18
> Chan 35 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 35
> Chan 19 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 19
> MFC/R2 call end on channel 35
> MFC/R2 call end on channel 19
> New MFC/R2 call detected on chan 19.
> New MFC/R2 call detected on chan 35.
> Chan 19 - Far end disconnected. Reason: Normal Clearing
> Chan 35 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 19
> MFC/R2 call disconnected on channel 35
> MFC/R2 call end on channel 19
> MFC/R2 call end on channel 35
>
> dahdi_channels.conf
>
> ; Span 1: WCTDM/0 "Wildcard AEX410" (MASTER)
> ;;; line="1 WCTDM/0/0 FXSKS"
> signalling=fxs_ks
> callerid=asreceived
> group=0
> context=from-zaptel
> channel => 1
>
> ;;; line="2 WCTDM/0/1 FXSKS"
> signalling=fxs_ks
> callerid=asreceived
> group=0
> context=from-zaptel
> channel => 2
>
> ;;; line="3 WCTDM/0/2 FXSKS"
> signalling=fxs_ks
> callerid=asreceived
> group=0
> context=from-zaptel
> channel => 3
>
> ;;; line="4 WCTDM/0/3 FXSKS"
> signalling=fxs_ks
> callerid=asreceived
> group=0
> context=from-zaptel
> channel => 4
>
>
>
> ; Span 2: WCT13x/0 "Wildcard TE131/TE133 Card 0"
> resetinterval=never
> group=1
> signalling=mfcr2
> mfcr2_variant=ve
> mfcr2_get_ani_first=no
> mfcr2_immediate_accept=yes
> mfcr2_max_ani=11
> mfcr2_max_dnis=11
> mfcr2_category=national_subscriber
> mfcr2_logdir=digitel
> mfcr2_logging=all
> mfcr2_mfback_timeout=-1
> mfcr2_call_files=yes
> echocancel=yes
> channel => 5-19,21-25
>
> ;Entrantes
> group=2
> signalling=mfcr2
> mfcr2_variant=ve
> mfcr2_get_ani_first=no
> mfcr2_immediate_accept=yes
> mfcr2_max_ani=10
> mfcr2_max_dnis=4
> mfcr2_category=national_subscriber
> mfcr2_logdir=digitel
> mfcr2_logging=all
> mfcr2_mfback_timeout=-1
> echocancel=yes
> channel => 26-35
>
> system.conf
>
>
> # Span 1: WCTDM/0 "Wildcard AEX410" (MASTER)
> fxsks=1
> echocanceller=oslec,1
> fxsks=2
> echocanceller=oslec,2
> fxsks=3
> echocanceller=oslec,3
> fxsks=4
> echocanceller=oslec,4
>
>
> # Span 2: WCT13x/0 "Wildcard TE131/TE133 Card 0"
> span=2,1,0,cas,hdb3
> # termtype: te
> #bchan=5-19,21-35
> #dchan=20
> cas=5-19:1101
> cas=21-35:1101
> echocanceller=hwec,5-19,21-35
>
> # Global data
>
> loadzone        = ve
> defaultzone     = ve
>
>
>
>
>
>
>
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.digium.com/pipermail/asterisk-r2/attachments/20150212/5f3bf5d8/attachment-0001.html
> >
>
> ------------------------------
>
> _______________________________________________
> --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
>
> End of asterisk-r2 Digest, Vol 76, Issue 3
> ******************************************
>



-- 
*Ramón Velásquez*
*Director VCDICS*
*+582126138065*
*+582126138140*
*+584141294376*
*http://www.vcdics.com <http://www.vcdics.com>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20150212/2c767d9e/attachment.html>


More information about the asterisk-r2 mailing list