From 350450b9cadc6107449fe2630843d4f898f680b7 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 26 Apr 2008 12:25:01 +0200 Subject: chan_lcr has now a lcr_request function which should work basically, we only need the callref request mechanism here. We have also a lcr_ast_new function which produces an empty Asterisk channel object. The Call handler has now a pointer to the asterisk channel, the asterisk channel also holds a pointer to the Call handle, so they need to be created and destroyed together at the same time. --- chan_lcr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chan_lcr.h') diff --git a/chan_lcr.h b/chan_lcr.h index 8633d3a..e431634 100644 --- a/chan_lcr.h +++ b/chan_lcr.h @@ -16,6 +16,8 @@ struct chan_call { unsigned long bchannel_handle; /* reference to bchannel, if set */ unsigned short bridge_id; /* 0 = off, equal ids are bridged */ + + struct ast_channel *ast; }; -- cgit v1.2.3-55-g7522