[Freeswitch-users] Overriding domain variables

Victor Chukalovskiy victor.chukalovskiy at gmail.com
Mon Sep 29 18:48:39 MSD 2014


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.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/7e0a734d/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list