<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span><font color="#454545" face="arial, helvetica, sans-serif" size="2">MC,</font></span></div><div><span><font color="#454545" face="arial, helvetica, sans-serif" size="2"><br></font></span></div><div><span><font color="#454545" face="arial, helvetica, sans-serif" size="2">thank you for adding this macro. it seems to work fine. for my current purposes i just created silent wavs until i need the complete voice instructions.</font></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span
style="font-weight:bold;">From:</span></b> "freeswitch-users-request@lists.freeswitch.org" <freeswitch-users-request@lists.freeswitch.org><br> <b><span style="font-weight: bold;">To:</span></b> freeswitch-users@lists.freeswitch.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, January 21, 2012 9:32 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> FreeSWITCH-users Digest, Vol 67, Issue 195<br> </font> </div> <br>----- Forwarded Message -----<br><br>
Send FreeSWITCH-users mailing list submissions to<br> <a ymailto="mailto:freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>or, via email, send a message with subject or body 'help' to<br> <a ymailto="mailto:freeswitch-users-request@lists.freeswitch.org" href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a><br><br>You can reach the person managing the list at<br> <a ymailto="mailto:freeswitch-users-owner@lists.freeswitch.org" href="mailto:freeswitch-users-owner@lists.freeswitch.org">freeswitch-users-owner@lists.freeswitch.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re:
Contents of FreeSWITCH-users digest..."<br><br>Today's Topics:<br><br> 1. Re: mod_rtmp + Akamai stream push (Anthony Minessale)<br> 2. Re: announce count to user only entering conference - Parse<br> Error (Michael Collins)<br> 3. Re: G.722 negotiation issue with AVM Fritzbox (Brian West)<br><div id="yiv1328072127">I don't recall any initiative being done to facilitate what you describe but its open source code so nothing's impossible.<div> <br><br><div class="yiv1328072127gmail_quote">On Thu, Jan 19, 2012 at 4:08 PM, Jock McKechnie <span dir="ltr"><<a rel="nofollow" ymailto="mailto:jock.mckechnie@gmail.com" target="_blank" href="mailto:jock.mckechnie@gmail.com">jock.mckechnie@gmail.com</a>></span> wrote:<br>
<blockquote class="yiv1328072127gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Greetings wise(r) FreeSWITCH users;<br>
<br>
We've recently started using FreeSWITCH and mod_rtmp to do RTMP -> SIP<br>
media conversion (audio only) and have been utterly delighted by how<br>
easy and (so far) reliable this has been to both set up and run on a<br>
daily basis. One of my superiors has gotten all excited and wonders if<br>
we can use the same mechanism to do a stream push to Akamai for<br>
content delivery amongst many thousands of RTMP clients (think radio<br>
broadcast).<br>
<br>
It appears that the FreeSWITCH mod_rtmp module is _not_ capable of<br>
this - it can send a fresh RTMP stream to a registered client, but it<br>
cannot arbitrarily start pushing RTMP to an Akamai EntryPoint. Am I<br>
correct in this assertion, or am I misunderstanding the documentation<br>
(and google hits) available?<br>
<br>
My thanks to all;<br>
<br>
- Jock<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a rel="nofollow" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a rel="nofollow" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a rel="nofollow" target="_blank" href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a rel="nofollow" ymailto="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank" href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a rel="nofollow" ymailto="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank" href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a rel="nofollow" target="_blank" href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a rel="nofollow" ymailto="mailto:sip%3A888@conference.freeswitch.org" target="_blank" href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a rel="nofollow" ymailto="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank" href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>
</div><div id="yiv252127947">I would use a phrase macro for this. In fact, this seems like such an obvious thing to do that I added a phrase macro to conf/lang/en/ivr/sounds.xml. Update to the latest latest like two seconds ago git and you will have it available. (You'll need to copy it over from the source directory to your install directory.)<br>
<br>The new macro is called other_callers_in_conf. In your example the extension would be this:<br><br><div><font face="'times new roman', 'new york', times, serif"><extension name="room1"></font></div>
<div><font face="'times new roman', 'new york', times, serif"> <condition
field="destination_number" expression="^301$"></font></div><div><font face="'times new roman', 'new york', times, serif"> <action application="set" data="conference_user_list=|"/></font></div>
<font face="'times new roman', 'new york', times, serif"> <action application="set" data="conf_count=${conference 301-127.0.0.1 list count}"/></font><div><font face="'times new roman', 'new york', times, serif"> <action application="log" data="INFO ${conf_count}"/><br>
</font><div><font face="'times new roman', 'new york', times, serif"><span style="white-space:pre-wrap;">        </span></font><span style=""> <!-- play current conference count--></span></div>
<font face="'times new roman', 'new york', times, serif"> <action application="playback" data="phrase:other_callers_in_conf:${conf_count}"/><br></font></div><font face="'times new roman', 'new york', times, serif"><span style="white-space:pre-wrap;"></span> <action application="conference" data="301-127.0.0.1@default"/></font><div>
<font face="'times new roman', 'new york', times, serif"> <action application="transfer" data="300 xml default" /></font></div><font face="'times new roman', 'new york', times, serif">
</condition><br></extension> </font><br><br>The phrase macro does all the work. NOTE: I need to record a few new phrase files and then tweak the macro. In the meantime I encourage you to look at the macro that I added and tailor it to your needs.<br>
<br>-MC<br><br><div class="yiv252127947gmail_quote">On Thu, Jan 19, 2012 at 12:45 PM, Rodney <span dir="ltr"><<a rel="nofollow" ymailto="mailto:notlikeme75@yahoo.com" target="_blank" href="mailto:notlikeme75@yahoo.com">notlikeme75@yahoo.com</a>></span> wrote:<br><blockquote class="yiv252127947gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size:12pt;">Okay, I finally figured out how to do this hopefully since I know what conference they are entering and all seems to work accept when the room is empty. I am putting phrases before and after the say to make it more understandable to "some people" what the number means. </div>
<div style="font-size:12pt;"><br></div><div style="font-size:12pt;">scenario:</div><div style="font-size:12pt;">
<br></div><div style="font-size:12pt;">When I enter a room with people the system says "there are" say count
"other callers" because it is a count without them in the room yet, unlike the normal caller control to call the announce extension when they are already in the room.</div><div style="font-size:12pt;">
<br></div><div style="font-size:12pt;">this works fine when there is at least 1 other caller in the room. </div><div style="font-size:12pt;">
<br></div><div style="font-size:12pt;">but when there isn't another caller and the room is empty. it says "there are" say count is a parse error so no digit read (need it to say zero) then it say "other callers" then says my normal you are in the conference alone message which for now i have changed to say "zero" so it says sort of backwards "there are" "other
callers' "zero" </div><div style="font-size:12pt;"><br></div><div><font face="'times new roman', 'new york', times, serif">ERR] mod_say.c:130 Parse Error!</font><br>
</div><div><font face="'times new roman', 'new york', times, serif"><br></font></div><div style="font-size:12pt;"> Could someone please help me understand why this Parse error could be happening on zero count. I would like to fix it. thank you.</div>
<div style="font-size:12pt;"><br></div><div style="font-size:12pt;"><br></div><div><div>
<font face="'times new roman', 'new york', times, serif"><extension name="room1"></font></div><div><font face="'times new roman', 'new york', times, serif"> <condition
field="destination_number" expression="^301$"></font></div><div><font face="'times new roman', 'new york', times, serif"><action application="set" data="conference_user_list=|"/></font></div>
<div><font face="'times new roman', 'new york', times, serif"><span style="white-space:pre-wrap;">        </span></font><span style=""> <!-- play current conference count--></span></div>
<div><font face="'times new roman', 'new york', times, serif"> <action application="set" data="conf_count=${conference 301-127.0.0.1 list count}"/></font></div><div><font face="'times new roman', 'new york', times, serif"> <action application="log" data="INFO ${conf_count}"/></font></div>
<div><font face="'times new roman', 'new york', times, serif"> </font><span style="line-height:1.1em;">
<action application="say" data="en number pronounced ${conf_count}"/></span></div><div><font face="'times new roman', 'new york', times, serif"> <action application="playback" data="C:/Program Files/FreeSWITCH/sounds/en/us/callie/digits/8000/othercallers.wav"/> </font></div>
<div><font face="'times new roman', 'new york', times, serif"><span style="white-space:pre-wrap;">        </span><!-- add this call to the conference --></font></div><div><font face="'times new roman', 'new york', times, serif"><span style="white-space:pre-wrap;">        </span><action application="conference" data="301-127.0.0.1@default"/></font></div>
<div><font face="'times new roman', 'new york', times, serif"> <action application="transfer" data="300 xml default" /></font></div><div><font face="'times new roman', 'new york', times, serif">
</condition></extension> </font></div><div style="font-size:12pt;"><br></div></div><div style="font-size:12pt;">
<br></div><div style="font-size:12pt;"><br></div><div style="font-size:12pt;"><br></div>
<div style="font-size:12pt;"><br></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a rel="nofollow" target="_blank" href="http://www.cudatel.com">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div><div id="yiv1828830411"><div>What is your codec selection set to in FreeSWITCH and what rev of FreeSWITCH are you running?<div><br></div><div><br><div><div>On Jan 20, 2012, at 4:09 PM, Roland Hänel wrote:</div><br class="yiv1828830411Apple-interchange-newline"><blockquote type="cite"><span class="yiv1828830411Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; font-family: Helvetica; ">OK you're right, I read the RfC and in fact a zero port means that the<br>stream is rejected. However the whole "negotiation" is still broken. If FS<br>rejects the incorrect G.722, OK, but what about all the other (perfectly<br>valid) codecs in the request (PCMA, PCMU)?<br><br>Because FS only rejects G.722, the call is doomed to fail, even
though it<br>could work nicely if FS just selected one of the acceptable offers.<br><br>Roland</span></blockquote></div><br><div>
<span class="yiv1828830411Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; font-family: Helvetica; "><span class="yiv1828830411Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium; font-family: Helvetica; "><div style="word-wrap:break-word;"><div><div>-- </div><div>Brian West </div><div>FreeSWITCH Solutions, LLC</div><div>Phone: +1 (918) 420-9266 </div><div>Fax: +1 (918) 420-9267</div><div><a rel="nofollow"
ymailto="mailto:brian@freeswitch.org" target="_blank" href="mailto:brian@freeswitch.org">brian@freeswitch.org</a></div><div><a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></div></span></span>
</div>
<br></div></div></div><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><br><br> </div> </div> </div></body></html>