http://jira.freeswitch.org/browse/MODAPP-112

Patch uploaded to jira and attached to this email as well.  Please let me know if there is something incorrect in this work, or what not.  Everything worked fine in my tests.

I added a new type of variable to the channel named "conference-name". Now one can do something as follows:
<param name="auto-record" value="/var/nfs_shar/usr/${conference-name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
or you can do
<param name="auto-record" value="shout://user:pass@server.com/live.mp3" />

I followed Brian's lead on using the switch_channel_expand_variables call.

Kind Regards,
Chris

Chris Danielson
Software Consultant and Co-Founder
Web: MaxPowerSoft, LLC


Brian West wrote:
Dan and I had a chat about this issue.  I had to think on it but I  
think Dan and I have agreed on a solution.

<param name="auto-record" value="/nfs/conference/$ 
{some_conference_variable}-${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>

or

<param name="auto-record" value="shout://user:pass@shoutcasthost.org/$ 
{some_conference_variable}.mp3"/>

Does that sound sane to you?

/b



On Jul 7, 2008, at 4:42 PM, e schmidbauer wrote:
  
can the auto-record send the conference to an icecast stream using  
mod_shout?
    

Brian West
sip:brian@freeswitch.org




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org