On Thu, May 1, 2008 at 5:51 PM, Ivan Genov <ivangg_q at yahoo.com> wrote: > > 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? > Since you will be working at PJSIP API level and not PJSUA-LIB API, basically the application will have to handle both types of invite sessions. So the answer to your question is probably no -- at PJSIP level, it doesn't handle voice calls. Cheers Benny