[asterisk-bugs] [Asterisk 0018617]: Cannot originate DAHDI PRI calls after 1.8.1.1 upgrade

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 19 10:43:39 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18617 
====================================================================== 
Reported By:                jcovert
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18617
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.8.1.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-14 00:59 CST
Last Modified:              2011-01-19 10:43 CST
====================================================================== 
Summary:                    Cannot originate DAHDI PRI calls after 1.8.1.1
upgrade
Description: 
    -- Launching dial(DAHDI/r1/15074554436) on SIP/covert.org-00000000
[14-Jan-2011 01:33:57.09] WARNING[12861]: chan_dahdi.c:5004
dahdi_confmute: DAHDI confmute(0) failed on channel 1: Invalid argument
    -- Couldn't call r1/15074554436
[14-Jan-2011 01:33:57.09] WARNING[12861]: chan_dahdi.c:5004
dahdi_confmute: DAHDI confmute(0) failed on channel 1: Invalid argument
[14-Jan-2011 01:33:57.09] WARNING[12861]: chan_dahdi.c:4947 restore_gains:
Unable to restore gains: Invalid argument
[14-Jan-2011 01:33:57.09] WARNING[12861]: chan_dahdi.c:4630 reset_conf:
Failed to reset conferencing on channel 1: Invalid argument
    -- Hungup 'DAHDI/1-1'
  == Everyone is busy/congested at this time (0:0/0/0)

Downgraded back to 1.6.2.8 and calls complete again.
====================================================================== 

---------------------------------------------------------------------- 
 (0130700) jcovert (reporter) - 2011-01-19 10:43
 https://issues.asterisk.org/view.php?id=18617#c130700 
---------------------------------------------------------------------- 
The above output is the result of:

asterisk3*CLI> originate sip/37 at covert.org application dial
DAHDI/r1/15074554436

so there's not a complicated situation here.

It works in 1.6.2.8.  libpri, dahdi, and wanpipe are unchanged when
downgrading to 1.6.2.8.

Looking at the code, we have just called

  ioctl(p->subs[SUB_REAL].dfd, DAHDI_CONFMUTE, &x);

which apparently returns with invalid argument.  This appears to me to be
a call down into the driver.  I haven't spent enough time in the chan_dahdi
code to know why we would be calling confmute as a result of a simple dial,
but we do.  I suppose we're making sure that we are unmuted at the
beginning of the call.  A diff shows significant changes with confmute
between the two versions.

My comments about buying real Digium PRI cards are, of course, personal,
based on my past contracting relationship with Digium, as well as a "keep
it simple" mentality: why bring in another set of drivers which make it
take extra steps to upgrade and add another support organization into the
mix when there is a problem.

I have ticket #[XXXX]02625 open with the PRI card vendor, who says, "lets
see if we can change your opinion about that," and offered to work with me.
 He also says, "Now the issue you have here should not be [our product]
related as it appears to be more of a Asterisk/libpri issue. But we will
help you get to the bottom of this and get everything sorted out for you." 
So I'm about to contact him now.

Production system, but fortunately not active late at night; we can only
test then. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-19 10:43 jcovert        Note Added: 0130700                          
======================================================================




More information about the asterisk-bugs mailing list