Hi,
Okay I am now accessing the headers in sdp but I cannot seem to use a variable in the textops methods. If I do the following... $var(line1)=$(rb{sdp.line,c,0}); $var(line2)=$(rb{sdp.line,c,1}); Xlog("$var(line1)"); If ($var(line2)!=""){ Xlog("$var(line2)"); Replace_body("$var(line2)",""); } I get line1 and line2 variables printout but replace_body does nothing. If I just put in Replace_body("c=IN IP4",""); it deletes the relevant part so the function is working but it just won't except a variable as the search term. Any help would be greatly appreciated. Regards Chris
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users