<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>                        body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;}                </STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.19258"><BASE target=_blank>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>
<STYLE>                        BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}                        body{FONT-SIZE:12.1pt; COLOR:#001; FONT-FAMILY:宋体,serif;}                </STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.19258"><BASE
target=_blank></HEAD>
<BODY
style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px"
marginheight="0" marginwidth="0">
<DIV><FONT color=#000000 size=3 face=宋体></FONT> </DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-06-26</FONT></DIV>
<DIV align=left><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" id=SignNameHR align=left SIZE=2>
</FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana><SPAN
id=_FlashSignName>GTS2010</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<HR>
</FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana><STATIONERY>
<DIV><FONT color=#000000 size=3 face=宋体>Hi:</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=宋体></FONT> </DIV>
<DIV><FONT color=#000000 size=3 face=宋体>I want to get the sdp body in my
script,and I add the code into my script:<BR> if
(is_method("INVITE"))<BR>
{<BR> $var(aline) =
$(rb{sdp.line,a,1});<BR>
xlog("The second a line in the SDP body is
$var(aline)\n");<BR> }<BR>
the same as the code I see from the opensips cookbook.<BR> But
I get the error:<BR> Jun 21 15:26:50 [2308]
ERROR:core:parse_transformation: unknown transformation: [sdp] in
[{sdp.line,a,1}]Jun 21 15:26:50 [2308] ERROR:core:parse_transformation: error
parsing [{sdp.line,a,1}]Jun 21 15:26:50 [2308] ERROR:core:pv_parse_spec:
ERROR:bad tr in pvar name "rb"Jun 21 15:26:50 [2308] ERROR:core:pv_parse_spec:
invalid parsing in [$(rb{sdp.line,a,1})] at (4)Jun 21 15:26:50 [2308]
CRITICAL:core:yyerror: parse error in config file, line 417, column 37-56:
unknown script variableJun 21 15:26:50 [2308] ERROR:core:main: bad config file
(1 errors)<BR> I want to know how to get the sdp
body.<BR> Hoping for your help!<BR> Thanks
& Regards!<BR> Lipeng Beijing China </FONT></DIV>
<DIV> </DIV></FONT></DIV></BODY></HTML>