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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Dec 24 11:43:34 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
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 11:43 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 11:43  
---------------------------------------------------------------------- 
Interesting thing to note, if I delay the GetVar call of 100ms I don't see
the problem anymore which could explain why I don't see the problem on my
second server has it's less powerful then the first one. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-24-07 11:43  pascallambert  Note Added: 0075898                          
======================================================================




More information about the asterisk-bugs mailing list