Hi,
   Now i know, why user_context is not working for me. My calls are coming from Opensips and are not authenticated by Freeswitch. 

--- Jayesh

---------- Forwarded message ----------
From: Ognjen Seslija <oseslija@gmail.com>
To: freeswitch-users@lists.freeswitch.org
Date: Mon, 5 Apr 2010 13:14:41 +0200
Subject: Re: [Freeswitch-users] domain-wise context
user_context applies to authenticated users. That means if a user successfully gets its INVITE authenticated either by IP or SIP auth method its call will end up in ${user_context}.

Ognjen

On Mon, Apr 5, 2010 at 7:43 AM, Jayesh Nambiar <jayesh.voip@gmail.com> wrote:
Hi Brian,
I've tried user_context variable. Does user_context apply to only registered users in freeswitch?
Because in my case the users are registered on a different software(OSips). Also out of curiosity, does the OSips needs to be defined as a Gateway in FS for handling the calls in a standard fashion?

Thanks,

--- Jayesh 


---------- Forwarded message ----------
From: Brian West <brian@freeswitch.org>
To: freeswitch-users@lists.freeswitch.org
Date: Sat, 3 Apr 2010 22:57:19 -0500
Subject: Re: [Freeswitch-users] domain-wise context
see user_context variable on the user.

/b

On Apr 3, 2010, at 10:47 PM, Jayesh Nambiar wrote:

> Hi,
> Sorry for sounding so impatient, the anxiety only grew because before posting it to the list I spent a week on reading all the documentation available on and around this topic FS site and mailing lists. I really appreciate and am thankful for your suggestions.
> I'll try out the suggestions given by you. Is there a way that we can compare the domain name in the dialplan using regular expressions. Is there a value in condition tag that can be used to compare this, something like "extension_number".
> Or should I store the domain value in some variable(something like sip_h_<domain_name>) and compare that variable to take the call to a different context?
>
> Thanks,
>
> --- Jayesh

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org