[asterisk-bugs] [Asterisk 0006113]: [branch] Enhance parking to allow multiple parking lots

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Dec 19 14:36:13 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=6113 
====================================================================== 
Reported By:                oej
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   6113
Category:                   Resources/res_features
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): trunk 
SVN Revision (number only!): 55636 
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             01-02-2006 13:52 CST
Last Modified:              12-19-2007 14:36 CST
====================================================================== 
Summary:                    [branch] Enhance parking to allow multiple parking
lots
Description: 
I've added multiple parking lots to res_features.

The current default configuration sets up a "default" parking lot.
Additional sections in features.conf will configure additional parking
lots.

Setting a channel variable PARKINGLOT will make a channel use a secondary
parking lot. This can be set in the channel configuration for the device or
within the dial plan. 

The CLI command show features will list all parking lots.
====================================================================== 

---------------------------------------------------------------------- 
 yem - 12-19-07 14:36  
---------------------------------------------------------------------- 
I'm trying to use
http://svn.digium.com/svn/asterisk/team/oej/multiparking/res/res_features.c
and integrate it in 1.4.16, although I get a compile error.
Is there a magic trick ?
I'm definitely interested in testing that feature as many people are
asking for it.
Thanks.

I get:

   [CC] res_features.c -> res_features.o
res_features.c: In function 'findparkinglotname':
res_features.c:344: error: 'struct ast_channel' has no member named
'parkinglot'
res_features.c:345: error: 'struct ast_channel' has no member named
'parkinglot'
res_features.c: At top level:
res_features.c:368: error: return type is an incomplete type
res_features.c: In function 'metermaidstate':
res_features.c:369: error: variable 'res' has initializer but incomplete
type
res_features.c:369: error: storage size of 'res' isn't known
res_features.c:375: warning: 'return' with a value, in function returning
void
res_features.c:383: warning: 'return' with a value, in function returning
void
res_features.c:385: warning: 'return' with a value, in function returning
void
res_features.c:369: warning: unused variable 'res'
res_features.c: In function 'builtin_automonitor':
res_features.c:663: error: too few arguments to function
'ast_stream_and_wait'
res_features.c: In function 'builtin_blindtransfer':
res_features.c:768: error: too few arguments to function
'ast_stream_and_wait'
res_features.c:829: error: too few arguments to function
'ast_stream_and_wait'
res_features.c: In function 'builtin_atxfer':
res_features.c:879: error: too few arguments to function
'ast_stream_and_wait'
res_features.c:896: error: too few arguments to function
'ast_stream_and_wait'
res_features.c:905: error: too few arguments to function
'ast_stream_and_wait'
res_features.c:922: error: too few arguments to function
'ast_stream_and_wait'
res_features.c:924: error: too few arguments to function
'ast_stream_and_wait'
res_features.c:937: error: too few arguments to function
'ast_stream_and_wait'
res_features.c:982: error: too few arguments to function
'ast_stream_and_wait'
res_features.c:999: error: too few arguments to function
'ast_stream_and_wait'
res_features.c:1074: error: too few arguments to function
'ast_stream_and_wait'
res_features.c: At top level:
res_features.c:1092: warning: initialization from incompatible pointer
type
res_features.c:1093: warning: initialization from incompatible pointer
type
res_features.c:1094: warning: initialization from incompatible pointer
type
res_features.c:1095: warning: initialization from incompatible pointer
type
res_features.c:1096: warning: initialization from incompatible pointer
type
res_features.c:1155: warning: no previous prototype for
'ast_rdlock_call_features'
res_features.c:1160: warning: no previous prototype for
'ast_unlock_call_features'
res_features.c:1166: warning: no previous prototype for
'ast_find_call_feature'
res_features.c: In function 'ast_feature_interpret':
res_features.c:1294: error: too few arguments to function
'builtin_features[x].operation'
res_features.c:1318: error: too few arguments to function
'feature->operation'
res_features.c: In function 'park_exec_full':
res_features.c:2174: error: too few arguments to function
'ast_stream_and_wait'
res_features.c:2176: error: too few arguments to function
'ast_stream_and_wait'
res_features.c:2233: error: too few arguments to function
'ast_stream_and_wait'
res_features.c: In function 'load_config':
res_features.c:3007: warning: assignment from incompatible pointer type
res_features.c: In function 'load_module':
res_features.c:3269: warning: passing argument 2 of
'ast_devstate_prov_add' from incompatible pointer type
make[1]: *** [res_features.o] Error 1
make: *** [res] Error 2 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-19-07 14:36  yem            Note Added: 0075741                          
======================================================================




More information about the asterisk-bugs mailing list