PJSIP & unsupported media type (415)

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

 



Hi Benny,

Benny Prijono wrote:
> 
> 
> This is supposed to be the case (well, at least with recent pjsip version).
> Which version do you use?
> 

I'm in sync with the SVN trunk r1679

PJMEDIA behaves correctly as it should (with the patch applied of course).
But at first Sight the Stack is not handling SIP/415 responses correctly since 
it actually lacks the mandatory "Accept" header with the media types 
PJSIP/PJMEDIA supports. Without that information the peer will obviously never 
know which of both medias was the troublemaker in its offer ;o)

My proposal was to add

Accept: audio/*

in the 415 Response, if the offer contains *ONLY* streams PJSIP doesn't support 
for the moment.


Cheers
Alain

-- 
                             ""
                           (o)(o)
                 _____o00o__(__)__o00o_____
1024D/A9F85A52  2000-01-18   Alain Totouom  <totouom at gmx.de>
PGP FingerPrint DA180DF2 FBD25F67 0656452D E3A27531 A9F85A52



[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