app_intercept (WAS: Re: [Asterisk-Users] SER Interaction: Agents and Extensions)

Peter Svensson psvasterisk at psv.nu
Wed Feb 9 13:33:41 MST 2005


On Wed, 9 Feb 2005, brett-asterisk at worldcall.net wrote:

> Peter,
> Do you know what the current status of app_intercept is?

No, not really. See below for the errors listed.

> I got it working on 1.0.2, but can't get it to complie on 
> CVS-HEAD-01/26/05-02:14:44
> I get:
> app_intercept.c: In function `intercept_exec':
> app_intercept.c:90: error: structure has no member named `allowredirect_in'
> app_intercept.c:91: error: structure has no member named `allowredirect_out'
> app_intercept.c:92: error: structure has no member named 
> `allowdisconnect_in'
> app_intercept.c:93: error: structure has no member named 
> `allowdisconnect_out'

These are stored in a flags field now. The flags are manipulated with 
ast_set_flag() called on the bridge configuration struct 
(ast_bridge_config). You can find the syntax in the app_dial.c file.

> Also, it only works if I only specify the INTERCEPT_TAG.. adding channel 
> name and/or auto breaks it.. Any thoughts?

No idea, I have not worked with app_intercept at all myself. I think there 
were two versions, or one version and a patch on the bug tracker. Did you 
use the last version?

Peter





More information about the asterisk-users mailing list