[Freeswitch-users] domain-wise context

Ognjen Seslija oseslija at gmail.com
Mon Apr 5 04:14:41 PDT 2010


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 at 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 at freeswitch.org>
>> To: freeswitch-users at 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 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100405/5e3e6cd1/attachment-0001.html 


More information about the FreeSWITCH-users mailing list