On Tuesday, January 31, 2012 at 1:59 AM, Anthony Minessale wrote:
If its only relevant to sip its ok to live in mod_sofia but it canstill be cleanly done.On Mon, Jan 30, 2012 at 6:41 AM, Seven Du <dujinfang@gmail.com> wrote:UPDATE on MSRPAs the lib is GPL and incomplete and it crashes when I test with blink, Ithought it might be easier to write a simple implementation than debug theexisting code.So I have the following code:Please take a look and give some feedback so I can make progress.I followed RFC 4975 with some exceptions:1) MSRP in FS is always passive, so clients behind NAT can easily connect toit2) MSRP service only use one port(hardcoded to 8044 for now), so it's easyfor firewall configs3) MSRP always works in B2BUA way, perhaps we can add bypass_media orexternal MSRP relay later4) MSRP payload is different than RTP anyway, so I added some apps likemsrp_echo, msrp_send, msrp_recv and api like uuid_msrp_send etc.5) Each session use one TCP connection, no duplex6) Only support SDP have MSRP only, no mix of audio/videos7) I tried with blink on Mac and Boghe on Windows, send messages and fileswith FS is sort of works with the above code. msrp_bridge is buggy but it ispossible to send messages but not files for now.So I have new questions for the right way to do this:Current code is coupled in mod_sofia and ugly, but it need stub code intomod_sofia for SDP negotiation anyway, Ideally it should be a new mod_msrp todecouple from mod_sofia, but mod_sofia cannot call functions in mod_msrp Ithought about the spandsp fax way but fax using RTP but MSRP using TCP so Idon't now if it's possible. Another idea would be put the msrp code intocore, the advantage would be we have another media type in core so audio andMSRP data could be mixed in one SDP session.Ideas?Thanks.On Wednesday, December 7, 2011 at 10:11 AM, Seven Du wrote:any other comments to my other questions? I think it would be a mod_msrpand some msrp_glue.c things.Thanks.On Tuesday, December 6, 2011 at 11:49 PM, Brian West wrote:Submit this to jira.freeswitch.org and we can push things upstream./bOn Dec 6, 2011, at 12:08 AM, Seven Du wrote:Hi,We are working on msrp support in FS. With the following patch to lib sofia,the msrp SDP can deliver to mod_sofiaquestions:1) should I submit this to our jira or to the the sofia team? Anysuggestions on the patch?2) As FS is a B2BUA, so I think it would be endpoint-to-endpoint bridge,then we need start TCP/MSRP thread to handle mediaa. It should more like video handling or more like fax ? That means to hackbridge code to also handle msrp, or should we implement api liketx_fax/rx_fax vs tx_msrp/rxmsrp?b. for text over msrp, is it possible to routing the chatplan like mod_smsc. the first stage would be just endpoint to endpoint, shoud we implementrelay ? or even switch mode for conference? I'm very new to msrp.3) we found a msrp lib from http://confiance.sourceforge.net/ . It's GPL, Iknow it's not license compatible, but as I learned from previous talk aboutvideo, the code can put elsewhere and we just implement the logic to hookthem on. Or other lib we could use?Any suggestion is appreciated.Seven.--About: http://about.me/dujinfangBlog: http://www.dujinfang.comSent with Sparrow (http://www.sparrowmailapp.com)_________________________________________________________________________Professional FreeSWITCH Consulting Services:FreeSWITCH-powered IP PBX: The CudaTel Communication ServerOfficial FreeSWITCH SitesFreeSWITCH-dev mailing list_________________________________________________________________________Professional FreeSWITCH Consulting Services:FreeSWITCH-powered IP PBX: The CudaTel Communication ServerOfficial FreeSWITCH SitesFreeSWITCH-dev mailing list_________________________________________________________________________Professional FreeSWITCH Consulting Services:FreeSWITCH-powered IP PBX: The CudaTel Communication ServerOfficial FreeSWITCH SitesFreeSWITCH-dev mailing list--Anthony Minessale IIFreeSWITCH http://www.freeswitch.org/ClueCon http://www.cluecon.com/Twitter: http://twitter.com/FreeSWITCH_wireAIM: anthmGTALK/JABBER/PAYPAL:anthony.minessale@gmail.comIRC: irc.freenode.net #freeswitchFreeSWITCH Developer Conferencegoogletalk:conf+888@conference.freeswitch.orgpstn:+19193869900_________________________________________________________________________Professional FreeSWITCH Consulting Services:FreeSWITCH-powered IP PBX: The CudaTel Communication ServerOfficial FreeSWITCH SitesFreeSWITCH-dev mailing list