< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

RE: [reSIProcate] SDP parsing


Try the session().getValues() method it should return a list of session
attributes for the specified key.

Scott
> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-
> devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Basavaraj
Puttagangaiah
> Sent: Monday, March 13, 2006 1:47 PM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [reSIProcate] SDP parsing
> 
> Hi all
> 
>   I am trying to parse session attribute ("a=" line)in SDP.
>   If i try to parse media attribute, i am able to do it with
> 
>    session().media().front().getValues("fmtp").front()
> 
>   method. But for session attributes i.e if i give "a=" line
>   as part of session before "m=" line i don't find any method
>   to get the value.
>   Also if i see the code SDPContents.cxx, irrespective of it is
>   media attribute or session attribute, it is added to the same
>   map. But if i use the method above to retrieve it is not possible
>   to retrieve.
> 
>   Can any one tell how i can read session attribute?
> 
> 
> Thank you
>  +Basu
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel