[Kamailio-Users] SIP-T: Multipart SDPs, ISUP parsing, etc

Kristian Kielhofner kkielhofner at star2star.com
Wed Sep 3 23:09:56 CEST 2008


On Wed, Sep 3, 2008 at 12:44 PM, Daniel-Constantin Mierla
<miconda at gmail.com> wrote:
> Hello,
>
>
> I would expose the body as a dynamic structure, so components will be
> accessible in the script, e.g. (naming schema just for example),
>
> if($body(0=>content-type)=="application/sdp")
> {
>   if($body(0=>m=>type) == "audio")
>   {
>   }
> }
>
> Based on the available content type parsers (sdp, isup), the structure has
> different attributes.
>
> Cheers,
> Daniel
>

Yeah, my fault.  It's certainly not "multipart SDP" as much as MIME
Multipart with application/sdp and application/isup parts...
application/isup is what I'm interested in, obviously!

-- 
Kristian Kielhofner
http://blog.krisk.org




More information about the sr-users mailing list