<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello All</div><div><br></div><div>I am implementing LRN using sip invite how i can get the rn value of response received for the request in a variable. What i did is <br></div><div><br></div><div>Invite</div><div><br></div><div>SIP/2.0 302 Moved Temporarily<br>Via: SIP/2.0/UDP XXX.XX.XX.XXX:5060;branch=z9hG4bK1cc7.f7<br>From: "31XXXXXX00" <sip:
31XXXXXX00@XX.XXX.XX.X:5060>;tag=<br>To: <sip:131XXXXXX01@
XX.XXX.XX.X
>;tag=6b20a7d3<br>Call-ID: <a href="http://03b3850628d1d60d2341cc2c39ae15b7@192.168.1.100:5">03b3850628d1d60d2341cc2c39ae15b7@192.168.1.100:5</a><br>CSeq: 102 INVITE<br><b>Contact: <sip:131XXXXXX01;rn=131XXXXXX05;npdi@
XX.XXX.XX.X:5060></b><br>Location-Info: N<br>Content-Length: 0<br></div><div><br></div><div> if(t_check_status("302")) {<br> $var(lrn_rpl) = $(<reply>ct.fields(uri){param.value,rn});<br> xlog("SCRIPT:LRN Received :
$var(lrn_rpl)
\n");<br> }</div><div><br></div><div>Here i am getting NULL value in
$var(lrn_rpl) variable.</div><div><br></div><div>Can anyone let me know what i am doing wrong here.<br></div><div><br></div><div><br></div></div></div></div>