<div>Cool. I have moved msrp related applications and apis to msrp.c so it's more clear. Will do more work and update later.</div><div><br></div><div>Thanks.</div>
                 
                <p style="color: #A0A0A8;">On Tuesday, January 31, 2012 at 1:59 AM, Anthony Minessale wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>If its only relevant to sip its ok to live in mod_sofia but it can</div><div>still be cleanly done.</div><div><br></div><div><br></div><div>On Mon, Jan 30, 2012 at 6:41 AM, Seven Du &lt;<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>&gt; wrote:</div><blockquote type="cite"><div><div>UPDATE on MSRP</div><div><br></div><div>As the lib is GPL and incomplete and it crashes when I test with blink, I</div><div>thought it might be easier to write a simple implementation than debug the</div><div>existing code.</div><div><br></div><div>So I have the following code:</div><div><br></div><div><a href="https://github.com/seven1240/FreeSWITCH/commit/272607bf34d9748f20bd9e8082a1cf95b6f42e2d">https://github.com/seven1240/FreeSWITCH/commit/272607bf34d9748f20bd9e8082a1cf95b6f42e2d</a></div><div><br></div><div>Please take a look and give some feedback so I can make progress.</div><div><br></div><div>I followed RFC 4975 with some exceptions:</div><div><br></div><div>1) MSRP in FS is always passive, so clients behind NAT can easily connect to</div><div>it</div><div>2) MSRP service only use one port(hardcoded to 8044 for now), so it's easy</div><div>for firewall configs</div><div>3) MSRP always works in B2BUA way, perhaps we can add bypass_media or</div><div>external MSRP relay later</div><div>4) MSRP payload is different than RTP anyway, so I added some apps like</div><div>msrp_echo, msrp_send, msrp_recv and api like uuid_msrp_send etc.</div><div>5) Each session use one TCP connection, no duplex</div><div>6) Only support SDP have MSRP only, no mix of audio/videos</div><div>7) I tried with blink on Mac and Boghe on Windows, send messages and files</div><div>with FS is sort of works with the above code. msrp_bridge is buggy but it is</div><div>possible to send messages but not files for now.</div><div><br></div><div>So I have new questions for the right way to do this:</div><div><br></div><div>Current code is coupled in mod_sofia and ugly, but it need stub code into</div><div>mod_sofia for SDP negotiation anyway, Ideally it should be a new mod_msrp to</div><div>decouple from mod_sofia, but mod_sofia cannot call functions in mod_msrp I</div><div>thought about the spandsp fax way but fax using RTP but MSRP using TCP so I</div><div>don't now if it's possible. &nbsp;Another idea would be put the msrp code into</div><div>core, the advantage would be we have another media type in core so audio and</div><div>MSRP data could be mixed in one SDP session.</div><div><br></div><div>Ideas?</div><div><br></div><div>Thanks.</div><div><br></div><div>On Wednesday, December 7, 2011 at 10:11 AM, Seven Du wrote:</div><div><br></div><div><a href="http://jira.freeswitch.org/browse/FS-3748">http://jira.freeswitch.org/browse/FS-3748</a></div><div><br></div><div>any other comments to my other questions? I think it would be &nbsp;a mod_msrp</div><div>and some msrp_glue.c things.</div><div><br></div><div><br></div><div>Thanks.</div><div><br></div><div>On Tuesday, December 6, 2011 at 11:49 PM, Brian West wrote:</div><div><br></div><div>Submit this to <a href="http://jira.freeswitch.org">jira.freeswitch.org</a> and we can push things upstream.</div><div><br></div><div>/b</div><div><br></div><div>On Dec 6, 2011, at 12:08 AM, Seven Du wrote:</div><div><br></div><div>Hi,</div><div><br></div><div>We are working on msrp support in FS. With the following patch to lib sofia,</div><div>the msrp SDP can deliver to mod_sofia</div><div><br></div><div><a href="http://pastebin.freeswitch.org/17944">http://pastebin.freeswitch.org/17944</a></div><div><br></div><div>questions:</div><div><br></div><div>1) should I submit this to our jira or to the the sofia team? Any</div><div>suggestions on the patch?</div><div><br></div><div>2) As FS is a B2BUA, so I think it would be endpoint-to-endpoint bridge,</div><div>then we need start TCP/MSRP thread to handle media</div><div><br></div><div>a. It should more like video handling or more like fax ? That means to hack</div><div>bridge code to also handle msrp, or should we implement api like</div><div>tx_fax/rx_fax vs tx_msrp/rxmsrp?</div><div><br></div><div>b. for text over msrp, is it possible to routing the chatplan like mod_sms</div><div><br></div><div>c. the first stage would be just endpoint to endpoint, shoud we implement</div><div>relay ? or even switch mode for conference? I'm very new to msrp.</div><div><br></div><div><br></div><div>3) we found a msrp lib from <a href="http://confiance.sourceforge.net">http://confiance.sourceforge.net</a>/ . It's GPL, I</div><div>know it's not license compatible, but as I learned from previous talk about</div><div>video, the code can put elsewhere and we just implement the logic to hook</div><div>them on. Or other lib we could use?</div><div><br></div><div><br></div><div>Any suggestion is appreciated.</div><div><br></div><div><br></div><div>Seven.</div><div><br></div><div>--</div><div>About: <a href="http://about.me/dujinfang">http://about.me/dujinfang</a></div><div>Blog: <a href="http://www.dujinfang.com">http://www.dujinfang.com</a></div><div>Proj: <a href="http://www.freeswitch.org.cn">http://www.freeswitch.org.cn</a></div><div><br></div><div>Sent with Sparrow (<a href="http://www.sparrowmailapp.com">http://www.sparrowmailapp.com</a>)</div><div><br></div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com">http://www.cudatel.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-dev mailing list</div><div><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a></div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><br></div><div><br></div><div><br></div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com">http://www.cudatel.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-dev mailing list</div><div><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a></div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><br></div><div><br></div><div><br></div><div><br></div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com">http://www.cudatel.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-dev mailing list</div><div><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a></div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></blockquote><div><br></div><div><br></div><div><br></div><div>-- </div><div>Anthony Minessale II</div><div><br></div><div>FreeSWITCH <a href="http://www.freeswitch.org">http://www.freeswitch.org</a>/</div><div>ClueCon <a href="http://www.cluecon.com">http://www.cluecon.com</a>/</div><div>Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a></div><div><br></div><div>AIM: anthm</div><div>MSN:<a href="mailto:anthony_minessale@hotmail.com">anthony_minessale@hotmail.com</a></div><div>GTALK/JABBER/PAYPAL:<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a></div><div>IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch</div><div><br></div><div>FreeSWITCH Developer Conference</div><div>sip:<a href="mailto:888@conference.freeswitch.org">888@conference.freeswitch.org</a></div><div>googletalk:<a href="mailto:conf+888@conference.freeswitch.org">conf+888@conference.freeswitch.org</a></div><div>pstn:+19193869900</div><div><br></div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com">http://www.cudatel.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-dev mailing list</div><div><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a></div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>