[Asterisk-Users] app_changrab.c released on pbxfreeware.org

Nenad Radosavljevic nenadr at deltaplan.co.yu
Tue Jun 21 13:52:59 MST 2005


Unfortunatly it won't compile under 1.0.7 :(

I have uncommented #define AST_10_COMPAT but I don't see any usage of it in 
app_changrab.c.

Complains about missing asterisk.h ( I think it should be #include 
"../asterisk.h" )

It also complains about ASTERISK_FILE_VERSION() function, and about _bridge 
member of ast_channel structure and some othet things:

Here is compile log:

app_changrab.c: In function `changrab_exec':
app_changrab.c:89: error: structure has no member named `_bridge'
app_changrab.c:90: error: structure has no member named `_bridge'
app_changrab.c:97: warning: implicit declaration of function 
`ast_channel_alloc'
app_changrab.c:97: warning: assignment makes pointer from integer without a 
cast
app_changrab.c:105: error: structure has no member named `features_callee'
app_changrab.c:105: error: `AST_FEATURE_REDIRECT' undeclared (first use in 
this function)
app_changrab.c:105: error: (Each undeclared identifier is reported only once
app_changrab.c:105: error: for each function it appears in.)
app_changrab.c:106: error: structure has no member named `features_caller'
app_changrab.c: In function `changrab_cli':
app_changrab.c:191: error: structure has no member named `_bridge'
app_changrab.c:192: error: structure has no member named `_bridge'
app_changrab.c: In function `originate':
app_changrab.c:231: warning: passing arg 10 of `ast_pbx_outgoing_exten' 
makes integer from pointer without a cast
app_changrab.c:231: warning: passing arg 14 of `ast_pbx_outgoing_exten' from 
incompatible pointer type


Kind regards,
            Nenad

>> |-----Original Message-----
>> |Subject: [Asterisk-Users] app_changrab.c released on pbxfreeware.org
>> |
>> |I released app_changrab.c lastnight really late... It includes
>> |a way to hijack a channel and originate calls from the CLI.






More information about the asterisk-users mailing list