Thank you very much, it works like a charm!

 

Kind regards,

--

Iskren Hadzhinedev


On Monday 29 September 2014 20:11:58 Stanislav Sinyagin wrote:

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@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@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

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 

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

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