<div dir="ltr"><span style="background-color:rgb(255,255,255)">It's in "sofia_profile_name" but I don't know if that's available during the call.</span><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi</span></div>
<br><br><div class="gmail_quote">On Thu, Nov 15, 2012 at 12:40 PM, Archana Venugopan <span dir="ltr"><<a href="mailto:a.venugopan@mundio.com" target="_blank">a.venugopan@mundio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal">Can anyone please tell me how to get the profile name<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">local sipprofile = params:getHeader("sip_profile"); <u></u><u></u></p>
<p class="MsoNormal">print ("sip profile is:" .. sipprofile); <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">When I give this I am getting a Nil value error instead of ‘external’ or ‘internal’. I want the profile to return either external or internal value.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Archana<span style="font-size:10.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u><br></p></div></div></blockquote></div></div>