[asterisk-bugs] [Asterisk 0014383]: priexclusive parameter ignored if pri = pri_cpe ?

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 4 22:39:05 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14383 
====================================================================== 
Reported By:                mbrancaleoni
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   14383
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.23 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-02-02 04:16 CST
Last Modified:              2009-03-04 22:39 CST
====================================================================== 
Summary:                    priexclusive parameter ignored if pri = pri_cpe ?
Description: 
Hi,

there's a special reason why the priexclusive param is used only if the
pri is pri_net ?

Looking to this snippet of code (both in chan_zap and chan_dahdi):

**************************
                /* Add support for exclusive override */
                if (p->priexclusive)
                        exclusive = 1;
                else {
                /* otherwise, traditional behavior */
                        if (p->pri->nodetype == PRI_NETWORK)
                                exclusive = 0;
                        else
                                exclusive = 1;
                }
**************************

Seems that the exclusive is always true if the pri is PRI_CPE ?
There's a special reason for that?

Many telcos requires that the channel selection on CPE side must NOT be
exclusive...

I don't know if there's some drawback into setting exclusive = 0 even when
PRI_CPE is selected.
====================================================================== 

---------------------------------------------------------------------- 
 (0101249) jpeeler (administrator) - 2009-03-04 22:39
 http://bugs.digium.com/view.php?id=14383#c101249 
---------------------------------------------------------------------- 
It's possible that I'm misreading the code, but it looks like the channel
selection on the CPE side is set to be non-exclusive. This setting occurs
in q931_setup in libpri. I'm not confident about this though. Will have to
do some testing. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-04 22:39 jpeeler        Note Added: 0101249                          
======================================================================




More information about the asterisk-bugs mailing list