[asterisk-users] warnign
Matthew Jordan
mjordan at digium.com
Wed Oct 23 21:01:59 CDT 2013
On Wed, Oct 23, 2013 at 7:12 PM, Vladimir Mikhelson <vlad at mikhelson.com>wrote:
> Richard,
>
> And what is "condition 33" after all? Maybe it needs to be processed, not
> ignored.
>
>
The various indication control frames are defined in frames.h. Frame type
33 was added to Asterisk 11:
AST_CONTROL_PVT_CAUSE_CODE = 33, /*!< Contains an update to the
protocol-specific cause-code stored for branching dials */
This is part of the hangup cause feature that was added to Asterisk 11.
When a channel driver raises this control frame, the channel core uses the
information in the frame to update protocol specific cause code
information. Channel drivers are supposed to indicate to the core that they
don't want to handle that frame, i.e., return -1.
So Richard is correct: chan_ooh323 should, in ooh323_indicate, handle the
frame by returning -1.
Actually raising the frame to pass a channel technology specific hangup
cause code is completely up to the channel driver. Not all channel drivers
support it; if someone wanted to add that functionality to chan_ooh323
that'd be great; but it's completely different than the condition that the
OP is seeing.
Matt
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131023/7b1c77e6/attachment.html>
More information about the asterisk-users
mailing list