[asterisk-r2] Fwd: Falha asterisk com sinalização r2d

natalia silva natalianew at gmail.com
Fri May 16 09:48:57 CDT 2014


If my config is


system.conf
loadzone = br
defaultzone = br
span = 1,1,0,cas,hdb3
cas = 1-15:1101
dchan = 16
cas = 1-31:1101

or

loadzone = br
defaultzone = br
span = 1,1,0,cas,hdb3
cas = 1-15:1101
dchan = 16
#cas = 1-31:1101

chan_dahdi.conf

[trunkgroups]

[channels]
switchtype=euroisdn
signalling=mfcr2
mfcr2_variant=br
;mfcr2_get_ani_first=no
;mfcr2_max_ani=20
;mfcr2_max_dnis=4
;mfcr2_category=national_subscriber
;mfcr2_logdir=span1
;mfcr2_call_files=yes
;mfcr2_logging=all
;mfcr2_mfback_timeout=-1
;mfcr2_metering_pulse_timeout=-1
;mfcr2_allow_collect_calls=no
;mfcr2_double_answer=no
;mfcr2_immediate_accept=no
;mfcr2_forced_release=no
;mfcr2_charge_calls=yes
;language=pt_BR
echocancel=yes
echocancelwhenbridged=no
context=dahdi-in
callgroup=0
pickupgroup=0
group=1
channel=>1-31

or

[trunkgroups]

[channels]
switchtype=euroisdn
signalling=mfcr2
mfcr2_variant=br
;mfcr2_get_ani_first=no
;mfcr2_max_ani=20
;mfcr2_max_dnis=4
;mfcr2_category=national_subscriber
;mfcr2_logdir=span1
;mfcr2_call_files=yes
;mfcr2_logging=all
;mfcr2_mfback_timeout=-1
;mfcr2_metering_pulse_timeout=-1
;mfcr2_allow_collect_calls=no
;mfcr2_double_answer=no
;mfcr2_immediate_accept=no
;mfcr2_forced_release=no
;mfcr2_charge_calls=yes
;language=pt_BR
echocancel=yes
echocancelwhenbridged=no
context=dahdi-in
callgroup=0
pickupgroup=0
group=1
channel=>1-15



My sinalization is r2

I have this error

Unloading DAHDI hardware modules: ERROR: Module wcte12xp is in use
ERROR: Module wcte12xp is in use
ERROR: Module dahdi_voicebus is in use by wcte12xp
ERROR: Module dahdi is in use by wcte12xp,dahdi_voicebus
error
Loading DAHDI hardware modules:
  wcte12xp:                                                [  OK  ]

Running dahdi_cfg:  DAHDI_CHANCONFIG failed on channel 16: Invalid argument (22)
Selected signaling not supported
Possible causes:
        dchan is being used on a BRI span (use hardhdlc)
        Signaling is being assigned to channel 16 of an E1 CAS span
                                                           [FAILED]




or



Unloading DAHDI hardware modules: done
Loading DAHDI hardware modules:
  wcte12xp:                                                [  OK  ]

Running dahdi_cfg:  Notice: Configuration file is /etc/dahdi/system.conf
line 14: Channel 1 already configured as 'CAS / User' at line 12
line 14: Channel 2 already configured as 'CAS / User' at line 12
line 14: Channel 3 already configured as 'CAS / User' at line 12
line 14: Channel 4 already configured as 'CAS / User' at line 12
line 14: Channel 5 already configured as 'CAS / User' at line 12
line 14: Channel 6 already configured as 'CAS / User' at line 12
line 14: Channel 7 already configured as 'CAS / User' at line 12
line 14: Channel 8 already configured as 'CAS / User' at line 12
line 14: Channel 9 already configured as 'CAS / User' at line 12
line 14: Channel 10 already configured as 'CAS / User' at line 12
line 14: Channel 11 already configured as 'CAS / User' at line 12
line 14: Channel 12 already configured as 'CAS / User' at line 12
line 14: Channel 13 already configured as 'CAS / User' at line 12
line 14: Channel 14 already configured as 'CAS / User' at line 12
line 14: Channel 15 already configured as 'CAS / User' at line 12

15 error(s) detected

                                                           [FAILED]



And I read in  https://code.google.com/p/openr2/, if i have problem is
not necessary put dchan



thanks all for help!

_______________________________________________________________


Uncomment



#dchan=16  ¿???





What about the other channels??


system.conf should be something like this



span=1,1,0,cas,hdb3

cas=1-15:1101

dchan=16

cas=17-31:1101



De: asterisk-r2-bounces at lists.digium.com
<http://lists.digium.com/mailman/listinfo/asterisk-r2>
[mailto:asterisk-r2-bounces at lists.digium.com
<http://lists.digium.com/mailman/listinfo/asterisk-r2>] En nombre de
natalia silva
Enviado el: viernes, 16 de mayo de 2014 07:47 a.m.
Para: asterisk-r2 at lists.digium.com
<http://lists.digium.com/mailman/listinfo/asterisk-r2>
Asunto: [asterisk-r2] Fwd: Falha asterisk com sinalização r2d







Hi, good afternoon

Dear I am in need of much help.

I'm sending here why the list has not adopted me, and I'm running out of time



I'm running



Asterisk 10.7.1 OpenR2 with version: 1.2.0, digium card.



And got the following error when making connections



- Executing [931091062 at localphones
<http://lists.digium.com/mailman/listinfo/asterisk-r2>:1]
Dial("SIP/4192-00000001", "DAHDI/g1/31091062,60") in new stack

    -- Called DAHDI/g1/31091062

[May 15 09:56:05] NOTICE[15718]: chan_dahdi.c:4191
dahdi_r2_on_line_blocked: Far end blocked on chan 3

[May 15 09:56:13] WARNING[15785]: chan_dahdi.c:4166
dahdi_r2_write_log: Chan 1 - Seize Timeout Expired!

[May 15 09:56:13] ERROR[15785]: chan_dahdi.c:4169 dahdi_r2_write_log:
Chan 1 - Protocol error. Reason = Seize Timeout, R2 State = Seize
Transmitted, MF state = MF Engine Off, MF Group = Forward MF init, CAS
= 0x08

DNIS = 31091062, ANI = 4192, MF = 0x20

[May 15 09:56:13] ERROR[15785]: chan_dahdi.c:3954
dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 1: Seize
Timeout

    -- Hungup 'DAHDI/1-1'

  == Everyone is busy/congested at this time (1:0/0/1)

    -- Executing [931091062 at localphones
<http://lists.digium.com/mailman/listinfo/asterisk-r2>:2]
Hangup("SIP/4192-00000001", "") in new stack

  == Spawn extension (localphones, 931091062, 2) exited non-zero on
'SIP/4192-00000001'

[May 15 09:56:13] NOTICE[15718]: chan_dahdi.c:4200
dahdi_r2_on_line_idle: Far end unblocked on chan 3





Have made ​​sure to test and with the operator that the channels are
not blocked and there are no locks on her part.





follow my configs



system.conf



# Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER) HDB3/ ClockSource

span=1,1,0,cas,hdb3

cas=1-15:1101

#bchan=1-15

#fxsks=1-15

# termtype: unknown

#bchan=1-15:1101

#dchan=16

#echocanceller=mg2,1-15



# Global data



loadzone        = br

defaultzone     = br





chan_dahdi.conf





[trunkgroups]



[channels]

signalling=mfcr2

mfcr2_variant=br

mfcr2_get_ani_first=no

mfcr2_max_ani=20

mfcr2_max_dnis=4

mfcr2_category=national_subscriber

mfcr2_logdir=span1

mfcr2_call_files=yes

mfcr2_logging=all

mfcr2_mfback_timeout=-1

mfcr2_metering_pulse_timeout=-1

mfcr2_allow_collect_calls=no

mfcr2_double_answer=no

mfcr2_immediate_accept=no

mfcr2_forced_release=no

mfcr2_charge_calls=yes

language=pt_BR

echocancel=yes

echocancelwhenbridged=no

context=e1

callgroup=0

pickupgroup=0

group=1

channel=>1-15







I thank you in advance for help.





2014-05-16 11:34 GMT-03:00 natalia silva <natalianew at gmail.com>:

> If my config is
>
>
> system.conf
> loadzone = br
> defaultzone = br
> span = 1,1,0,cas,hdb3
> cas = 1-15:1101
> dchan = 16
> cas = 1-31:1101
>
> or
>
> loadzone = br
> defaultzone = br
> span = 1,1,0,cas,hdb3
> cas = 1-15:1101
> dchan = 16
> #cas = 1-31:1101
>
> chan_dahdi.conf
>
> [trunkgroups]
>
> [channels]
> switchtype=euroisdn
> signalling=mfcr2
> mfcr2_variant=br
> ;mfcr2_get_ani_first=no
> ;mfcr2_max_ani=20
> ;mfcr2_max_dnis=4
> ;mfcr2_category=national_subscriber
> ;mfcr2_logdir=span1
> ;mfcr2_call_files=yes
> ;mfcr2_logging=all
> ;mfcr2_mfback_timeout=-1
> ;mfcr2_metering_pulse_timeout=-1
> ;mfcr2_allow_collect_calls=no
> ;mfcr2_double_answer=no
> ;mfcr2_immediate_accept=no
> ;mfcr2_forced_release=no
> ;mfcr2_charge_calls=yes
> ;language=pt_BR
> echocancel=yes
> echocancelwhenbridged=no
> context=dahdi-in
> callgroup=0
> pickupgroup=0
> group=1
> channel=>1-31
>
> or
>
> [trunkgroups]
>
> [channels]
> switchtype=euroisdn
> signalling=mfcr2
> mfcr2_variant=br
> ;mfcr2_get_ani_first=no
> ;mfcr2_max_ani=20
> ;mfcr2_max_dnis=4
> ;mfcr2_category=national_subscriber
> ;mfcr2_logdir=span1
> ;mfcr2_call_files=yes
> ;mfcr2_logging=all
> ;mfcr2_mfback_timeout=-1
> ;mfcr2_metering_pulse_timeout=-1
> ;mfcr2_allow_collect_calls=no
> ;mfcr2_double_answer=no
> ;mfcr2_immediate_accept=no
> ;mfcr2_forced_release=no
> ;mfcr2_charge_calls=yes
> ;language=pt_BR
> echocancel=yes
> echocancelwhenbridged=no
> context=dahdi-in
> callgroup=0
> pickupgroup=0
> group=1
> channel=>1-15
>
>
>
> My sinalization is r2
>
> I have this error
>
> Unloading DAHDI hardware modules: ERROR: Module wcte12xp is in use
> ERROR: Module wcte12xp is in use
> ERROR: Module dahdi_voicebus is in use by wcte12xp
> ERROR: Module dahdi is in use by wcte12xp,dahdi_voicebus
> error
> Loading DAHDI hardware modules:
>   wcte12xp:                                                [  OK  ]
>
> Running dahdi_cfg:  DAHDI_CHANCONFIG failed on channel 16: Invalid
> argument (22)
> Selected signaling not supported
> Possible causes:
>         dchan is being used on a BRI span (use hardhdlc)
>         Signaling is being assigned to channel 16 of an E1 CAS span
>                                                            [FAILED]
>
>
>
>
> or
>
>
>
> Unloading DAHDI hardware modules: done
> Loading DAHDI hardware modules:
>   wcte12xp:                                                [  OK  ]
>
> Running dahdi_cfg:  Notice: Configuration file is /etc/dahdi/system.conf
> line 14: Channel 1 already configured as 'CAS / User' at line 12
> line 14: Channel 2 already configured as 'CAS / User' at line 12
> line 14: Channel 3 already configured as 'CAS / User' at line 12
> line 14: Channel 4 already configured as 'CAS / User' at line 12
> line 14: Channel 5 already configured as 'CAS / User' at line 12
> line 14: Channel 6 already configured as 'CAS / User' at line 12
> line 14: Channel 7 already configured as 'CAS / User' at line 12
> line 14: Channel 8 already configured as 'CAS / User' at line 12
> line 14: Channel 9 already configured as 'CAS / User' at line 12
> line 14: Channel 10 already configured as 'CAS / User' at line 12
> line 14: Channel 11 already configured as 'CAS / User' at line 12
> line 14: Channel 12 already configured as 'CAS / User' at line 12
> line 14: Channel 13 already configured as 'CAS / User' at line 12
> line 14: Channel 14 already configured as 'CAS / User' at line 12
> line 14: Channel 15 already configured as 'CAS / User' at line 12
>
> 15 error(s) detected
>
>                                                            [FAILED]
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20140516/1aec960f/attachment-0001.html>


More information about the asterisk-r2 mailing list