Custom INVITE sessions (for file transfer for example)

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

 



And would it be possible that still PJSIP handles the INVITEs for voice calls while the application handles the INVITEs for file transfer? As I understand, the application will get the SDP of every INVITE (including the voice calls) and it can recognize whether this is a file transfer INVITE or not, and if this is not the file transfer INVITE can the application just let PJSIP process it by default, not having to deal with the audio channels, etc?

Regards,
Ivan.

----- Original Message ----
From: Benny Prijono <bennylp@xxxxxxxxx>
To: pjsip list <pjsip at lists.pjsip.org>
Sent: Thursday, May 1, 2008 1:43:23 AM
Subject: Re: Custom INVITE sessions (for file transfer for example)

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

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080501/a5f17022/attachment.html 


[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