[asterisk-bugs] [Asterisk 0011797]: app_rtpstream: Application to Page Multicast capable receivers (e.g. Snom, Linksys, Cisco, Barix devices)

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jan 30 08:47:47 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11797 
====================================================================== 
Reported By:                macbrody
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11797
Category:                   Applications/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 99188 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-19-2008 04:46 CST
Last Modified:              01-30-2008 08:47 CST
====================================================================== 
Summary:                    app_rtpstream: Application to Page Multicast capable
receivers (e.g. Snom, Linksys, Cisco, Barix devices)
Description: 
app_rtpstream is an application that reads the input channel's voice frames
and does rtp stream them to either unicast or multicast addresses defined
as groups in the config file.

This can be used for example with the Snom and Linksys IP Phones' feature
to do paging to multicast receivers.
====================================================================== 

---------------------------------------------------------------------- 
 macbrody - 01-30-08 08:47  
---------------------------------------------------------------------- 
Line 140 is: AST_LIST_HEAD_STATIC(activegroups, mcast_group);

this is an asterisk macro. I used it non-static within the rtppage_exec
function to declare a temporary structure/list, which is unique for
each instance calling this application.

Is the use of AST_LIST_HEAD_STATIC not allowed for local variables within
functions? Or do I have to use AST_LIST_HEAD instead and initialize the
structures fields myself? (It seems the automatic initialization by the
macro
is considered a nested function which is not allowed on your system - Is
this
general policy for asterisk?) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-30-08 08:47  macbrody       Note Added: 0081415                          
======================================================================




More information about the asterisk-bugs mailing list