[asterisk-dev] SIP channel/owner question

Russell Bryant russell at digium.com
Wed Jan 21 04:54:11 CST 2009


On Jan 21, 2009, at 4:32 AM, Klaus Darilion wrote:

> In SIP channel I have an struct ast_channel *ast. So, what is the
> difference between:
>
> ast->hangupcause
> and
> ast->tech_pvt->owner->hangupcause

Assuming you're talking about "ast" as a parameter to a channel  
technology callback, ast and ast->tech_pvt->owner should be the same  
thing.

--
Russell Bryant
Digium, Inc. | Senior Software Engineer, Open Source Team Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org







More information about the asterisk-dev mailing list