Hi, I want to extract specific metadata from a multipart/mixed body of a INVITE message. Is there any way to assign an specific content to a variable?
e.g: --------------------- INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] . . Content-Type: multipart/mixed;boundary=media --media m=audio [media_port] RTP/AVP 8 . . --media Content-Type: application/rs-metadata <?xml A B C xml> --------------------- I opensips: $var=get_content(rs-metadata); // $var is now (A,B,C) Is this possible in Opensips? Thanks, -- "Efficiency is doing things right; effectiveness is doing the right things (Peter Drucker)" Miguel Oyarzo DevOps & VoIP Engineer Linux User: # 483188 - counter.li.org http://au.linkedin.com/in/mikeaustralia Melbourne, Australia
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
