It's in "sofia_profile_name" but I don't know if that's available during the call.
-Avi


On Thu, Nov 15, 2012 at 12:40 PM, Archana Venugopan <a.venugopan@mundio.com> wrote:

Hi,

Can anyone please tell me how to get the profile name

 

local sipprofile = params:getHeader("sip_profile"); 

print ("sip profile is:" .. sipprofile); 

 

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.

 

Regards,

Archana