[asterisk-bugs] [Asterisk 0016681]: [regression] .call file not connecting to context: when channel: answers

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 1 12:01:41 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16681 
====================================================================== 
Reported By:                alexr1
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16681
Category:                   Channels/chan_local
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.29 
JIRA:                       SWP-788 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-01-22 22:33 CST
Last Modified:              2010-02-01 12:01 CST
====================================================================== 
Summary:                    [regression] .call file not connecting to context:
when channel: answers
Description: 
NOTE: No changes have been made to our configuration files in months. This
was working in Asterisk 1.4.27 and previous versions, but upon upgrading to
1.4.29 I noticed this behavior immediately.

In a .call file like this:
channel: LOCAL/04XXXXXXXX at custom-callback-initiate/n
maxretries: 0
context: custom-callback-preconfirm
extension: 7XXXX
priority: 1

And a context in extensions.conf like this:
[custom-callback-preconfirm]
exten => s,1,Background(callback/callback-dialnow)

The call connects to the mobile number 0400000000 but the audio is not
heard. It appears that Asterisk is not passing the first (local) channel to
the context.

Yesterday (in 1.4.27), I saw this:
 -- SIP/symbio-09a73668 answered
Local/04XXXXXXXX at custom-callback-initiate-25b7,2
> Channel Local/04XXXXXXXX at custom-callback-initiate-25b7,1 was answered.
-- Executing [7XXXX at custom-callback-preconfirm:1]
BackGround("Local/04XXXXXXXX at custom-callback-initiate-25b7,1", "c.....
(etc)


Today after upgrading to 1.4.29 I see:
-- SIP/symbio-000008da answered
Local/04XXXXXXXX at custom-callback-initiate-505a,2

And then nothing after that... The log file shows nothing else.

I have a number of variations of the above extensions.conf code doing
different things, some connecting to local channels, some not but all
result in the First channel not being connected to the context specified in
the .call file.

This is my first "bug" submission, so if there is further details that I
need to provide, please let me know. This is running on a production system
that was upgraded because of a previous bug where SIP channels were not
being destroyed (in 1.4.27). At this point we will have to revert back to a
previous version in the next 12 hours, so I may not be able to test
different things after that.
====================================================================== 

---------------------------------------------------------------------- 
 (0117458) svnbot (reporter) - 2010-02-01 12:01
 https://issues.asterisk.org/view.php?id=16681#c117458 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 244073

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_local.c
U   branches/1.6.2/main/channel.c

------------------------------------------------------------------------
r244073 | tilghman | 2010-02-01 12:01:37 -0600 (Mon, 01 Feb 2010) | 29
lines

Merged revisions 244071 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r244071 | tilghman | 2010-02-01 11:53:39 -0600 (Mon, 01 Feb 2010) | 22
lines
  
  Merged revisions 244070 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r244070 | tilghman | 2010-02-01 11:46:31 -0600 (Mon, 01 Feb 2010) | 16
lines
    
    Revert previous chan_local fix (r236981) and fix instead by destroying
expired frames in the queue.
    
    (closes issue https://issues.asterisk.org/view.php?id=16525)
     Reported by: kobaz
     Patches: 
           20100126__issue16525.diff.txt uploaded by tilghman (license 14)
           20100129__issue16525__1.6.0.diff.txt uploaded by tilghman
(license 14)
     Tested by: kobaz, atis
    
    (closes issue https://issues.asterisk.org/view.php?id=16581)
     Reported by: ZX81
    
    (closes issue https://issues.asterisk.org/view.php?id=16681)
     Reported by: alexr1
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=244073 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-01 12:01 svnbot         Checkin                                      
2010-02-01 12:01 svnbot         Note Added: 0117458                          
======================================================================




More information about the asterisk-bugs mailing list