[Freeswitch-users] Overriding domain variables

Iskren Hadzhinedev iskren.hadzhinedev at ikiji.com
Tue Sep 30 10:07:17 MSD 2014


Thank you very much, it works like a charm!

Kind regards,
-- 
*Iskren Hadzhinedev*


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/[1]

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[2]> 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"


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[3]”> 
<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[4]
http://www.freeswitchsolutions.com[5]

Official FreeSWITCH Sites
http://www.freeswitch.org[6]
http://confluence.freeswitch.org[7]
http://www.cluecon.com[8]


[9]

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org[10]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users[11]
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users[12]
http://www.freeswitch.org[6] 

_________________________________________________________________________Professional 
FreeSWITCH Consulting Services:

consulting at freeswitch.org[4]
http://www.freeswitchsolutions.com[5]
http://www.freeswitch.org[6]
http://confluence.freeswitch.org[7]
http://www.cluecon.com[8]
[9]
FreeSWITCH-users at lists.freeswitch.org[10]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users[11]
http://lists.freeswitch.org/mailman/options/freeswitch-users[12]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140930/35a28fb0/attachment-0001.html 


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