Parsing FTMP attribute

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

 



Hi,

i am having problems parsing the FMTP attribute in the SDP.

 

I receive fmtp lines like 'CIF=3 CIF=2', but the parse_fmtp function of the session.c only parses correctly lines like this 'CIF=3;CIF=2'.

(The difference is the ' ' instead of the ';' to separate multiple name=value)

 

I have not found any information in the SDP rfc.

Can anyone tell me if this is a bug in pjsip or if the space char is not allowed to separate multiple name=value?

 

 

Just in case, this is how i fixed this issue

 

File: session.c

Function: parse_fmtp

...

/* Get token */

start = p;

while (p < p_end && *p != ';' && *p != '=' && *p != ' ')  ++p;

...

 

cheers,

 

Rafael Maia
 		 	   		  
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100201/aee2a617/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