[Home]

Summary:ASTERISK-11126: Get the parent on a new channel event
Reporter:Pascal Lambert (pascallambert)Labels:
Date Opened:2007-12-28 11:16:43.000-0600Date Closed:2011-06-07 14:03:09
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:It would help a lot if the manager was reporting the "parent" when sending a NewChannel event.
On many channel type (Local, Zap, SIP, etc) when we originate a call one or more (espacially Local channel) "child channel" will be created. Usually the child channel get the interresting stuff (BUSY, NOANSWER, etc). Unless I'm wrong the only reliable way the successfully monitor the progression of a call is to track child channel through variable.
But even this solution lead to other problematic (http://bugs.digium.com/view.php?id=11632) and also in the case of a busy channel I need to force a wait in the dialplan in other to have the time to query back on each new channel for this tracking variable before they get destroyed.
If the manager api was capable of reporting to which channel a "child channel" belong this would make monitoring of a call progression much much easier and more reliable.


****** ADDITIONAL INFORMATION ******

This page contain a diagram of the "child channel" created with Local channel.
http://blogs.reucon.com/asterisk-java/2007/04/18/1176849060000.html
Comments:By: Russell Bryant (russell) 2007-12-28 11:21:10.000-0600

If there was an easy way to add this, I would go ahead and do it.  But, there is not.  So, since this comes down to a feature request without a patch, I'm going to have to close this out.  Thanks for the idea, though.