List Info

Thread: File Sharing using MSRP




File Sharing using MSRP
user name
2006-02-23 14:44:07
Can you please help me on the concept on File Sharing using
MSRP.
I have the following idea:

MSRP can be used with Content Indirection and other File
Transfer  
Protocols like TFTP/HTTP to achive File Transfer in SIP

We have the File name say, photo.jpg and initimate it to the
other side  
through Content Indirection using MSRP as:

MSRP a786hjs2 SEND
To-Path: msrp://biloxi.example.com:12763/kjhd37s2s2;tcp
From-Path: msrp://atlanta.example.com:7654/jshA7we;tcp
Message-ID: 8765
Content-Type: message/external-body;
ACCESS-TYPE=URL;
URL="http://www.example.
net/photo.jpg;
EXPIRATION="Sat, 20 Jun 2002 12:00:00 GMT";
size=231
Content-Type: image/jpg
-------a786hjs2$

The other end if it is ready to receive the file photo.jpg,
sends 200 ok  
else sends 413 or other apt. error code.

After receiving a 200 OK Response, how can we transfer the
file using  
TFTP/any other protocol.

Will it be a good idea to do SIP Invite and do the File
Transfer as:

INVITE sip:bobatlanta.example.com SIP/2.0
To: <sip:bobbiloxi.example.com>
From: <sip:aliceatlanta.example.com>;tag=786
Call-ID: 3413an89KU
Content-Type: application/sdp
v=0
o=- 0 0 IN IP4 209.179.2.62
s=
c=IN IP4 atlanta.example.com
m=data 1960 udp

here 1960 - Port No. of FSP Server (FSP - file Service
Protocol used for  
file transfer using UDP).


The other end replies similarly with 200 ok and media line
having the port  
no of the FSP Client

After finishing content transfer they send BYE and
terminate.

Will this idea work out.?? Please do give our inputs on
this.

Thanks in advance.

Regds,
Sudha
_______________________________________________
msrp mailing list
msrplist.sipfoundry.org
htt
ps://list.sipfoundry.org/mailman/listinfo/msrp
File Sharing using MSRP
user name
2006-02-23 21:52:00
To clarify: the purpose of this mailing list is to discuss
the specific 
implementation of MSRP that is being hosted by SIP Foundry,
**NOT** as a 
general discussion list for the MSRP protocol.

That said, MSRP has been very painstakingly designed to
allow the 
transfer of absurdly large files using MSRP itself. If you
can set up an 
MSRP connection, throwing TFTP or HTTP into the mix adds
unnecessary 
complication.

/a

Sudha wrote:

> Can you please help me on the concept on File Sharing
using MSRP.
> I have the following idea:
>
> MSRP can be used with Content Indirection and other
File Transfer  
> Protocols like TFTP/HTTP to achive File Transfer in SIP
>
> We have the File name say, photo.jpg and initimate it
to the other 
> side  through Content Indirection using MSRP as:
>
> MSRP a786hjs2 SEND
> To-Path: msrp://biloxi.example.com:12763/kjhd37s2s2;tcp
> From-Path: msrp://atlanta.example.com:7654/jshA7we;tcp
> Message-ID: 8765
> Content-Type: message/external-body;
> ACCESS-TYPE=URL;
> URL="http://www.example.
net/photo.jpg;
> EXPIRATION="Sat, 20 Jun 2002 12:00:00 GMT";
> size=231
> Content-Type: image/jpg
> -------a786hjs2$
>
> The other end if it is ready to receive the file
photo.jpg, sends 200 
> ok  else sends 413 or other apt. error code.
>
> After receiving a 200 OK Response, how can we transfer
the file using  
> TFTP/any other protocol.
>
> Will it be a good idea to do SIP Invite and do the File
Transfer as:
>
> INVITE sip:bobatlanta.example.com SIP/2.0
> To: <sip:bobbiloxi.example.com>
> From: <sip:aliceatlanta.example.com>;tag=786
> Call-ID: 3413an89KU
> Content-Type: application/sdp
> v=0
> o=- 0 0 IN IP4 209.179.2.62
> s=
> c=IN IP4 atlanta.example.com
> m=data 1960 udp
>
> here 1960 - Port No. of FSP Server (FSP - file Service
Protocol used 
> for  file transfer using UDP).
>
>
> The other end replies similarly with 200 ok and media
line having the 
> port  no of the FSP Client
>
> After finishing content transfer they send BYE and
terminate.
>
> Will this idea work out.?? Please do give our inputs on
this.
>
> Thanks in advance.
>
> Regds,
> Sudha
> _______________________________________________
> msrp mailing list
> msrplist.sipfoundry.org
> htt
ps://list.sipfoundry.org/mailman/listinfo/msrp


_______________________________________________
msrp mailing list
msrplist.sipfoundry.org
htt
ps://list.sipfoundry.org/mailman/listinfo/msrp
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )