[Home]

Summary:ASTERISK-15497: [regression] .call file not connecting to context: when channel: answers
Reporter:alexr1 (alexr1)Labels:
Date Opened:2010-01-22 22:33:33.000-0600Date Closed:2010-02-03 14:08:34.000-0600
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Channels/chan_local
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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@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@custom-callback-initiate-25b7,2
> Channel Local/04XXXXXXXX@custom-callback-initiate-25b7,1 was answered.
-- Executing [7XXXX@custom-callback-preconfirm:1] BackGround("Local/04XXXXXXXX@custom-callback-initiate-25b7,1", "c..... (etc)


Today after upgrading to 1.4.29 I see:
-- SIP/symbio-000008da answered Local/04XXXXXXXX@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.
Comments:By: boatright (boatright) 2010-01-24 16:05:07.000-0600

For what it is worth, I too am seeing this same problem except that my calls are initiated through the manager with an "action: originate" command.  After the "channel" in the originate answers, nothing more happens.  Version 1.4.28 does not have this problem.

By: powerkill (powerkill) 2010-01-25 16:57:38.000-0600

I also have this issue with Asterisk 1.6.2.1
it's seems that the call file always want to go to the default context
WARNING[6564]: pbx.c:4349 __ast_pbx_run: Channel 'SIP/101-00000000' sent into invalid extension 's' in context 'default', but no invalid handler
even if the call file say something else
Channel: SIP/101
MaxRetries: 0
WaitTime: 300
Context: auto-dialout
Extension: s
Priority: 1
Archive: Yes

By: iskatel (iskatel) 2010-01-28 07:25:23.000-0600

"I also have this issue with Asterisk 1.6.2.1"

And 1.6.1.13, meanwhile 1.6.1.11 working properly.

By: Atis Lezdins (atis) 2010-02-01 07:45:08.000-0600

I think this is regression of patch that went with ASTERISK-14558 and also a duplicate of ASTERISK-13804

By: Atis Lezdins (atis) 2010-02-01 08:38:17.000-0600

Patch from ASTERISK-15379 fixes the issue

By: Digium Subversion (svnbot) 2010-02-01 11:46:38.000-0600

Repository: asterisk
Revision: 244070

U   branches/1.4/channels/chan_local.c
U   branches/1.4/main/channel.c

------------------------------------------------------------------------
r244070 | tilghman | 2010-02-01 11:46:32 -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 ASTERISK-15379)
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 ASTERISK-13804)
Reported by: ZX81

(closes issue ASTERISK-15497)
Reported by: alexr1


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

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

By: Digium Subversion (svnbot) 2010-02-01 11:53:43.000-0600

Repository: asterisk
Revision: 244071

_U  trunk/
U   trunk/channels/chan_local.c
U   trunk/main/channel.c

------------------------------------------------------------------------
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 ASTERISK-15379)
  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 ASTERISK-13804)
  Reported by: ZX81
 
 (closes issue ASTERISK-15497)
  Reported by: alexr1
........

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

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

By: Digium Subversion (svnbot) 2010-02-01 11:59:40.000-0600

Repository: asterisk
Revision: 244072

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

------------------------------------------------------------------------
r244072 | tilghman | 2010-02-01 11:59: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 ASTERISK-15379)
    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 ASTERISK-13804)
    Reported by: ZX81
   
   (closes issue ASTERISK-15497)
    Reported by: alexr1
 ........
................

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

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

By: Digium Subversion (svnbot) 2010-02-01 12:01:40.000-0600

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 ASTERISK-15379)
    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 ASTERISK-13804)
    Reported by: ZX81
   
   (closes issue ASTERISK-15497)
    Reported by: alexr1
 ........
................

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

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

By: Digium Subversion (svnbot) 2010-02-01 12:01:55.000-0600

Repository: asterisk
Revision: 244074

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

------------------------------------------------------------------------
r244074 | tilghman | 2010-02-01 12:01:52 -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 ASTERISK-15379)
    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 ASTERISK-13804)
    Reported by: ZX81
   
   (closes issue ASTERISK-15497)
    Reported by: alexr1
 ........
................

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

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