Yes, PCMU is hardcoded currently from multicaster. I looked into mod_sndfile for decoding PCMU to other codec, but it seems that module is using libsndfile, which reads sound file directly and decode them to L16. If something similar to libsndfile is available, which work on stream instead of file io, then it would surely work.<br>
<br>I don&#39;t know how exactly Freeswitch&#39;s codec structures &amp; functions work, I am sure decoding can be done by using that, but don&#39;t know how to use them.<br><br><div class="gmail_quote">On Sun, Feb 21, 2010 at 7:17 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;">You will need to create the codec for what you need, I think it is hardcoded in there to PCMU at the moment, correct?  This will of course need to match the stream its reading.<div>
<br></div><div>Mike</div><div><div></div><div class="h5"><div><br><div><div>On Feb 20, 2010, at 12:50 AM, MohammedShehzad wrote:</div><br><blockquote type="cite"><br><br><div class="gmail_quote">On Fri, Feb 19, 2010 at 1:32 PM, MohammedShehzad <span dir="ltr">&lt;<a href="mailto:pmhshz@gmail.com" target="_blank">pmhshz@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><br><br><div class="gmail_quote">On Fri, Feb 19, 2010 at 12:59 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Listening on multicast is noting special for multicast, it is just<br>
like reading any other udp socket<br>
<br>
Mike<br>
<div><div></div><br clear="all"></div></blockquote></div></div>Correct, but I have to play those audio stream back to caller taking care of the audio codec  and other things, do anybody have any idea in that part? Please let me know that.<br>

<font color="#888888">
-- <br><br>-MohammedShehzad<br>
</font></blockquote></div><br>I am able to receive the play the multicasted RAW PCMU RTP (modified the skel of format provided by brian), so that caller can hear the multicast which done by other Freeswitch server using mod_esf application, but when i change the caller&#39;s codec from PCMU to something else, it breaks.<br clear="all">
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a 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></blockquote></div><br><br clear="all"><br>-- <br><br>-MohammedShehzad<br>