[Freeswitch-users] profile

Michael Collins msc at freeswitch.org
Thu Nov 15 23:31:25 MSK 2012


This is found in conf/sip_profiles/internal.xml or external.xml or whatever
SIP profile you have created. It's right at the top in the "name" attribute:

<profile name="internal">

One of the easiest ways to see what's available is to send a call through
the "info" app. Also, if you're looking at specific events then it's not a
bad idea to dump all the events to the screen or a file and then sift
through them. It's a lot of information at first but once you get
accustomed to looking for specific things it becomes much easier.

-MC

On Thu, Nov 15, 2012 at 8:59 AM, Archana Venugopan
<a.venugopan at mundio.com>wrote:

>  Hi,****
>
> Can you please let me know in which file this parameter would be defined.*
> ***
>
> ** **
>
> Regards,****
>
> Archana****
>
> ** **
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at 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 at 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****
>
> ** **
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121115/e4033455/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list