[asterisk-r2] asterisk integrated with Panasonic emss336
Gerardo Barajas
gerardo.barajas at gmail.com
Mon Feb 27 12:02:55 CST 2012
Remove you "crc4" option; restart; and try again.
Saludos/Regards
--
Ing. Gerardo Barajas Puente
Ingeniería | www.neocenter.com
T:+52 (55) 8590-9000 x 7003
On Mon, Feb 27, 2012 at 11:44 AM, Ricardo Pinilla <setpoint79 at yahoo.es> wrote:
> Good day, as they are, following the thread, if possible, I work with some
> solution to synchronize an Asterisk 1.4.42, DAHDI Tools with Version -
> 2.4.1, DAHDI Version: 2.4.1.2.
> it has a card
>
> pci:0000:06:08.0 wct4xxp+ d161:1220 Wildcard TE220 (5th Gen)
>
>
> [1]
> active=yes
> alarms=OK
> description=T2XXP (PCI) Card 0 Span 1
> name=TE2/0/1
> manufacturer=Digium
> devicetype=Wildcard TE220 (5th Gen) (VPMOCT064)
> location=Board ID Switch 0
> basechan=1
> totchans=31
> irq=16
> type=digital-E1
> syncsrc=0
> lbo=0 db (CSU)/0-133 feet (DSX-1)
> coding_opts=AMI,HDB3
> framing_opts=CCS,CRC4
> coding=HDB3
> framing=CAS
>
> and the plant is a panasonic emss336
>
>
> have a configuration
>
> /etc/dahdi/system.conf
> # Span 1: WCT1/0 "Wildcard TE122 Card 0"
> span=1,0,0,cas,hdb3,crc4
> cas=1-15,17-31:1101
> echocanceller=mg2,1-15,17-31
> #
> # # Global data
> #
> loadzone=mx
> defaultzone=mx
>
>
> 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=ar
> mfcr2_get_ani_first=no
> mfcr2_max_ani=10
> mfcr2_max_dnis=4
> mfcr2_category=national_suscriber
> mfcr2_logdir=span1
> mfcr2_logging=all
> mfcr2_call_files=yes
> mfcr2_mfback_timeout= 5000
> mfcr2_metering_pulse_timeout=200
> ;
> context=from-pstn
> group=0
> callgroup=0
> pickupgroup=0
> channel => 1-15
> channel => 17-31
>
> dahdi up with this configuration
>
> SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
>
> Channel map:
>
> Channel 01: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 01)
> Channel 02: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 02)
> Channel 03: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 03)
> Channel 04: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 04)
> Channel 05: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 05)
> Channel 06: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 06)
> Channel 07: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 07)
> Channel 08: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 08)
> Channel 09: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 09)
> Channel 10: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 10)
> Channel 11: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 11)
> Channel 12: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 12)
> Channel 13: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 13)
> Channel 14: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 14)
> Channel 15: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 15)
> Channel 17: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 17)
> Channel 18: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 18)
> Channel 19: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 19)
> Channel 20: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 20)
> Channel 21: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 21)
> Channel 22: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 22)
> Channel 23: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 23)
> Channel 24: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 24)
> Channel 25: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 25)
> Channel 26: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 26)
> Channel 27: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 27)
> Channel 28: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 28)
> Channel 29: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 29)
> Channel 30: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 30)
> Channel 31: CAS / User (Default) (Echo Canceler: mg2) (Slaves: 31)
>
> CLI> dahdi show status
> Description Alarms IRQ bpviol CRC4
> T2XXP (PCI) Card 0 Span 1 OK 0 0 0
>
> CLI> dahdi show channels
> Chan Extension Context Language MOH Interpret
> pseudo default default
> 1 from-pstn es default
> 2 from-pstn es default
> 3 from-pstn es default
> 4 from-pstn es default
> 5 from-pstn es default
> 6 from-pstn es default
> 7 from-pstn es default
> 8 from-pstn es default
> 9 from-pstn es default
> 10 from-pstn es default
> 11 from-pstn es default
> 12 from-pstn es default
> 13 from-pstn es default
> 14 from-pstn es default
> 15 from-pstn es default
> 17 from-pstn es default
> 18 from-pstn es default
> 19 from-pstn es default
> 20 from-pstn es default
> 21 from-pstn es default
> 22 from-pstn es default
> 23 from-pstn es default
> 24 from-pstn es default
> 25 from-pstn es default
> 26 from-pstn es default
> 27 from-pstn es default
> 28 from-pstn es default
> 29 from-pstn es default
> 30 from-pstn es default
> 31 from-pstn es default
>
>
> but channels
>
> CLI> mfcr2 show channels
> Chan Variant Max ANI Max DNIS ANI First Immediate Accept Tx CAS Rx CAS
> 1 AR 10 4 No No SEIZE AC SEIZE
> 2 AR 10 4 No No SEIZE AC SEIZE
> 3 AR 10 4 No No SEIZE AC SEIZE
> 4 AR 10 4 No No SEIZE AC SEIZE
> 5 AR 10 4 No No SEIZE AC SEIZE
> 6 AR 10 4 No No SEIZE AC SEIZE
> 7 AR 10 4 No No SEIZE AC SEIZE
> 8 AR 10 4 No No SEIZE AC SEIZE
> 9 AR 10 4 No No SEIZE AC SEIZE
> 10 AR 10 4 No No SEIZE AC SEIZE
> 11 AR 10 4 No No SEIZE AC SEIZE
> 12 AR 10 4 No No SEIZE AC SEIZE
> 13 AR 10 4 No No SEIZE AC SEIZE
> 14 AR 10 4 No No SEIZE AC SEIZE
> 15 AR 10 4 No No SEIZE AC SEIZE
> 17 AR 10 4 No No SEIZE AC SEIZE
> 18 AR 10 4 No No SEIZE AC SEIZE
> 19 AR 10 4 No No SEIZE AC SEIZE
> 20 AR 10 4 No No SEIZE AC SEIZE
> 21 AR 10 4 No No SEIZE AC SEIZE
> 22 AR 10 4 No No SEIZE AC SEIZE
> 23 AR 10 4 No No SEIZE AC SEIZE
> 24 AR 10 4 No No SEIZE AC SEIZE
> 25 AR 10 4 No No SEIZE AC SEIZE
> 26 AR 10 4 No No SEIZE AC SEIZE
> 27 AR 10 4 No No SEIZE AC SEIZE
> 28 AR 10 4 No No SEIZE AC SEIZE
> 29 AR 10 4 No No SEIZE AC SEIZE
> 30 AR 10 4 No No SEIZE AC SEIZE
> 31 AR 10 4 No No SEIZE AC SEIZE
>
> after a while, send the following errors
>
> New MFC/R2 call detected on chan 12.
> [Feb 23 12:43:00] ERROR[16995]: chan_dahdi.c:1683 dahdi_r2_write_log: Chan
> 13 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state = MF
> Engine Off, MF Group = No Group, CAS = 0x04
> DNIS = , ANI = , MF = 0x20
> [Feb 23 12:43:00] ERROR[16995]: chan_dahdi.c:1455
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 13: Invalid CAS
> New MFC/R2 call detected on chan 28.
> [Feb 23 12:43:00] ERROR[16996]: chan_dahdi.c:1683 dahdi_r2_write_log: Chan
> 29 - Protocol error. Reason = Invalid CAS, R2 State = Idle, MF state = MF
> Engine Off, MF Group = No Group, CAS = 0x04
> DNIS = , ANI = , MF = 0x20
> [Feb 23 12:43:00] ERROR[16996]: chan_dahdi.c:1455
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 29: Invalid CAS
>
> Feb 23 16:41:48] ERROR[11065]: chan_dahdi.c:1683 dahdi_r2_write_log: Chan 25
> - Protocol error. Reason = Invalid CAS, R2 State = Seize ACK Transmitted, MF
> state = Seize ACK Transmitted, MF Group = Backward MF init, CAS = 0x0C
> DNIS = , ANI = , MF = 0x20
> [Feb 23 16:41:48] ERROR[11065]: chan_dahdi.c:1455
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 25: Invalid CAS
> [Feb 23 16:41:48] ERROR[11064]: chan_dahdi.c:1683 dahdi_r2_write_log: Chan 9
> - Protocol error. Reason = Invalid CAS, R2 State = Seize ACK Transmitted, MF
> state = Seize ACK Transmitted, MF Group = Backward MF init, CAS = 0x0C
> DNIS = , ANI = , MF = 0x20
> [Feb 23 16:41:48] ERROR[11064]: chan_dahdi.c:1455
> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 9: Invalid CAS
>
>
> == Manager 'sendcron' logged off from 127.0.0.1
> [Feb 23 15:40:32] NOTICE[1420]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far
> end unblocked on chan 29
> [Feb 23 15:40:32] NOTICE[1420]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far
> end unblocked on chan 30
> [Feb 23 15:40:32] NOTICE[1420]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far
> end unblocked on chan 31
> [Feb 23 15:40:32] NOTICE[1419]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far
> end unblocked on chan 13
> [Feb 23 15:40:32] NOTICE[1419]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far
> end unblocked on chan 14
> [Feb 23 15:40:32] NOTICE[1419]: chan_dahdi.c:1713 dahdi_r2_on_line_idle: Far
> end unblocked on chan 15
>
>
> when trying to make, does not find channels
>
>
> -- Executing [141 at phones:1] Answer("SIP/cc6105-00000000", "nocdr") in new
> stack
> -- Executing [141 at phones:2] Dial("SIP/cc6105-00000000", "Dahdi/g0/141|50")
> in new stack
> [Feb 23 16:01:25] WARNING[8180]: app_dial.c:1310 dial_exec_full: Unable to
> create channel of type 'Dahdi' (cause 34 - Circuit/channel congestion)
> == Everyone is busy/congested at this time (1:0/1/0)
> -- Executing [141 at phones:3] GotoIf("SIP/cc6105-00000000",
> "0?unavailable:hangup") in new stack
> -- Goto (phones,141,5)
> -- Executing [141 at phones:5] Hangup("SIP/cc6105-00000000", "") in new stack
> == Spawn extension (phones, 141, 5) exited non-zero on 'SIP/cc6105-00000000'
>
>
> [Feb 23 16:12:07] WARNING[9372]: chan_dahdi.c:1680 dahdi_r2_write_log: Chan
> 12 - Seize Timeout Expired!
> [Feb 23 16:12:07] ERROR[9372]: chan_dahdi.c:1683 dahdi_r2_write_log: Chan 12
> - Protocol error. Reason = Seize Timeout, R2 State = Seize Transmitted, MF
> state = MF Engine Off, MF Group = Forward MF init, CAS = 0x08
> DNIS = 141, ANI = 6105, MF = 0x20
> [Feb 23 16:12:07] ERROR[9372]: chan_dahdi.c:1455 dahdi_r2_on_protocol_error:
> MFC/R2 protocol error on chan 12: Seize Timeout
> [Feb 23 16:12:07] WARNING[9372]: app_dial.c:801 wait_for_answer: Unable to
> forward voice or dtmf
> -- Hungup 'DAHDI/12-1'
> == Everyone is busy/congested at this time (1:0/0/1)
> -- Executing [141 at phones:3] GotoIf("SIP/cc6105-00000003",
> "0?unavailable:hangup") in new stack
> -- Goto (phones,141,5)
> -- Executing [141 at phones:5] Hangup("SIP/cc6105-00000003", "") in new stack
> == Spawn extension (phones, 141, 5) exited non-zero on 'SIP/cc6105-00000003'
>
> I appreciate any ideas
>
> --
> _____________________________________________________________________
> -- 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
More information about the asterisk-r2
mailing list