Custom INVITE sessions (for file transfer for example)

IG
Ivan Genov
Wed, Apr 30, 2008 7:54 PM

Hi PJSIP developers,

Is there a way to create a custom INVITE session for the purpose of having a custom media channel? One noteable example is with file transfer - I would like to create a custom session to negotiate MSRP or any other kind of file transfer channel.

Any input on custom INVITE sessions or specifically on the file transfer topic would be appreciated.

Thanks,
Ivan.

  ____________________________________________________________________________________

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Hi PJSIP developers, Is there a way to create a custom INVITE session for the purpose of having a custom media channel? One noteable example is with file transfer - I would like to create a custom session to negotiate MSRP or any other kind of file transfer channel. Any input on custom INVITE sessions or specifically on the file transfer topic would be appreciated. Thanks, Ivan. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
BP
Benny Prijono
Thu, May 1, 2008 8:43 AM

On Wed, Apr 30, 2008 at 8:54 PM, Ivan Genov ivangg_q@yahoo.com wrote:

Hi PJSIP developers,

Is there a way to create a custom INVITE session for the purpose of having a
custom media channel? One noteable example is with file transfer - I would
like to create a custom session to negotiate MSRP or any other kind of file
transfer channel.

Any input on custom INVITE sessions or specifically on the file transfer
topic would be appreciated.

I think it should be possible with using PJSIP API (not PJSUA-LIB
API), although I haven't tried this myself. You need to manually
construct an SDP containing the file transfer descriptor, create
invite session and give the SDP to it. Once SDP is negotiated
on_media_update() will be called and you can retrieve the negotiated
SDP's from both local and remote party and do the file transfer.

Cheers
Benny

On Wed, Apr 30, 2008 at 8:54 PM, Ivan Genov <ivangg_q@yahoo.com> wrote: > > Hi PJSIP developers, > > Is there a way to create a custom INVITE session for the purpose of having a > custom media channel? One noteable example is with file transfer - I would > like to create a custom session to negotiate MSRP or any other kind of file > transfer channel. > > Any input on custom INVITE sessions or specifically on the file transfer > topic would be appreciated. > I think it should be possible with using PJSIP API (not PJSUA-LIB API), although I haven't tried this myself. You need to manually construct an SDP containing the file transfer descriptor, create invite session and give the SDP to it. Once SDP is negotiated on_media_update() will be called and you can retrieve the negotiated SDP's from both local and remote party and do the file transfer. Cheers Benny