Custom INVITE sessions (for file transfer for example)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 30, 2008 at 8:54 PM, Ivan Genov <ivangg_q at 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



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux