[asterisk-r2] Fwd: Falha asterisk com sinalização r2d Natália Silva

Gustavo Cremella gcremella at gmail.com
Wed May 21 12:57:18 CDT 2014


Natalia:

For R2 signaling, you only need to configure:

span1 = 1,1,0,cas,hdb3
cas = 1-15,17-31

dchan = 16 is used only on CCS links (ISDN Q931).
bchan = a-b,c-d,..etc are used only to configure voice channels on CCS links

On a CAS link, channel 16 is always used to signaling, so it is
automatically configured.
When you set dchan = 16, you get a conflict with CAS configuration.

Also, in CAS signaling (like R2), you need not to set switchtype =
euroisdn, that is also for CCS signaling.

Uncomment

;mfcr2_call_files=yes
;mfcr2_logging=all

so you can provide R2 signaling detailed call traces files....

G.C.


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]
>
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-r2/attachments/20140521/5cb19cc6/attachment.html>


More information about the asterisk-r2 mailing list