Hi, Can you please let me know in which file this parameter would be defined. Regards, Archana From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus Sent: 15 November 2012 11:43 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] profile 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<mailto: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