[Freeswitch-users] Overriding domain variables
Stanislav Sinyagin
ssinyagin at gmail.com
Mon Sep 29 22:11:58 MSD 2014
here's an example of using user variables on inbound calls:
http://txlab.wordpress.com/2013/06/29/freeswitch-limiting-the-number-of-concurrent-calls-on-multiple-sip-accounts/
With user_data() function, you retrieve the variables that you need.
On Mon, Sep 29, 2014 at 4:48 PM, Victor Chukalovskiy <
victor.chukalovskiy at gmail.com> wrote:
> Hi, what you do here is setting 15 sec time-out on outgoing calls that
> "iskren" dials.
> This does not affect what happens on incoming calls from others to
> "iskren".
>
> One way to achieve what you want is to change / set call timeout in the
> dialplan just before you bridge the call to "iskren"
>
>
> On 14-09-29 10:34 AM, Iskren Hadzhinedev wrote:
>
> Howdy all,
>
>
>
> Is it possible to override a variable set in the domain by setting it
> again further down in the XML directory?
>
> I have the following scenario:
>
>
>
> <domain name=”sip.test.com”>
>
> <variables>
>
> <variable name=”call_timeout” value=”30”>
>
> </variables>
>
> ...
>
> <user id=”iskren”>
>
> <variables>
>
> <variable name=”call_timeout” value=”15”/>
>
> </variable>
>
> </user>
>
> ....
>
> </domain>
>
>
>
> However, calling that user still times out after 30 seconds.
>
> Can this be done in the directory, or I must set it in the dialplan?
>
> Thanks!
>
>
>
> Kind regards,
>
> --
>
> Iskren Hadzhinedev
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140929/6a5777a6/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list