[asterisk-bugs] [Asterisk 0011632]: Get "No such channel" when querring variable

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Dec 24 12:15:02 CST 2007


The following issue has been REOPENED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11632 
====================================================================== 
Reported By:                pascallambert
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11632
Category:                   Core/ManagerInterface
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.16.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-24-2007 10:57 CST
Last Modified:              12-24-2007 12:15 CST
====================================================================== 
Summary:                    Get "No such channel" when querring variable
Description: 
Our application depends on the manager to report the call progression.
Unfortunately in more than 50% of the time we get an invalid result from
the manager API but only on one of the 2 asterisk server I'm testing my
code. Both are with the same version of asterisk. I'm doing my testing
originating to soft SIP phone.
The whole story now;
We use Local channel to originate call. Local channel will create child
channel.  The manager API will reported back each child channel created.
Unfortunately the Local channel driver doesn't related those child channel
to the initial parent. So we need to bind a variable to each originating
call and when we received notification of a new channel we immediately
query back the value of our variable in order to related it with the
originating call.

Then problem is sometime we get a "No such channel" error in our response
for the "GetVar" call (see the log below).

I've no clue has why we get this, especially that it worked on one server
and not the other one again both with the same version.

Any help as to what take a look at will be greatly appreciate.

====================================================================== 

---------------------------------------------------------------------- 
 pascallambert - 12-24-07 12:15  
---------------------------------------------------------------------- 
Come on!!! Delay 100ms is not a fix. That's a cheap patch. You can't ask
everybody that get that problem to delay there stuff of a certain amount of
time. That's not reliable. Delay it is just a lead to the root of the
problem. If I received a notification from the manager that a channel is
created I MUST be able to query it at anytime. Plus this 100ms is working
here on my server might be something else for someone else. I don't want to
be annoying here but please don't tell me the issue is fix. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-24-07 12:15  pascallambert  Status                   closed => new       
12-24-07 12:15  pascallambert  Resolution               no change required =>
reopened
12-24-07 12:15  pascallambert  Note Added: 0075900                          
======================================================================




More information about the asterisk-bugs mailing list