<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Open Sans'; font-size:8pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Thank you very much, it works like a charm!</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Kind regards,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-weight:600;">Iskren Hadzhinedev</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />On Monday 29 September 2014 20:11:58 Stanislav Sinyagin wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">here's an example of using user variables on inbound calls:<br /><a href="http://txlab.wordpress.com/2013/06/29/freeswitch-limiting-the-number-of-concurrent-calls-on-multiple-sip-accounts/"><span style=" text-decoration: underline; color:#0057ae;">http://txlab.wordpress.com/2013/06/29/freeswitch-limiting-the-number-of-concurrent-calls-on-multiple-sip-accounts/</span></a><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">With user_data() function, you retrieve the variables that you need.<br /><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Mon, Sep 29, 2014 at 4:48 PM, Victor Chukalovskiy <<a href="mailto:victor.chukalovskiy@gmail.com"><span style=" text-decoration: underline; color:#0057ae;">victor.chukalovskiy@gmail.com</span></a>> wrote:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi, what you do here is setting 15 sec time-out on outgoing calls that "iskren" dials.<br />This does not affect what happens on incoming calls from others to "iskren".<br /><br />One way to achieve what you want is to change / set call timeout in the dialplan just before you bridge the call to "iskren"</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br />On 14-09-29 10:34 AM, Iskren Hadzhinedev wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Howdy all, </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Is it possible to override a variable set in the domain by setting it again further down in the XML directory? </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I have the following scenario: </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';"><domain name=”</span><a href="http://sip.test.com"><span style=" font-family:'cousine'; text-decoration: underline; color:#0057ae;">sip.test.com</span></a><span style=" font-family:'cousine';">”></span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';"><variables></span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';"><variable name=”call_timeout” value=”30”></span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';"></variables></span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">...</span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';"><user id=”iskren”></span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';"><variables></span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';"><variable name=”call_timeout” value=”15”/></span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';"></variable></span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';"></user></span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';">....</span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'cousine';"></domain></span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">However, calling that user still times out after 30 seconds. </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Can this be done in the directory, or I must set it in the dialplan? </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Thanks! </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Kind regards, </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-weight:600;">Iskren Hadzhinedev</span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> <br /><br /></p>
<pre style=" margin-top:12px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';">_________________________________________________________________________</span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';">Professional FreeSWITCH Consulting Services: </span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="mailto:consulting@freeswitch.org"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;">consulting@freeswitch.org</span></a></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="http://www.freeswitchsolutions.com"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;">http://www.freeswitchsolutions.com</span></a></pre>
<pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;"><br /></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';">Official FreeSWITCH Sites</span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="http://www.freeswitch.org"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;">http://www.freeswitch.org</span></a></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="http://confluence.freeswitch.org"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;">http://confluence.freeswitch.org</span></a></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="http://www.cluecon.com"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;">http://www.cluecon.com</span></a></pre>
<pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;"><br /></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';">FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="http://www.cudatel.com"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;">http://www.cudatel.com</span></a></pre>
<pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;"><br /></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';">FreeSWITCH-users mailing list</span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;">FreeSWITCH-users@lists.freeswitch.org</span></a></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</span></a></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Courier New,courier';">UNSUBSCRIBE:</span><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;">http://lists.freeswitch.org/mailman/options/freeswitch-users</span></a></pre>
<pre style=" margin-top:0px; margin-bottom:12px; margin-left:87px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a href="http://www.freeswitch.org"><span style=" font-family:'Courier New,courier'; text-decoration: underline; color:#0057ae;">http://www.freeswitch.org</span></a> <br /><br />_________________________________________________________________________<br />Professional FreeSWITCH Consulting Services:<br /><a href="mailto:consulting@freeswitch.org"><span style=" text-decoration: underline; color:#0057ae;">consulting@freeswitch.org</span></a><br /><a href="http://www.freeswitchsolutions.com"><span style=" text-decoration: underline; color:#0057ae;">http://www.freeswitchsolutions.com</span></a><br /><br />Official FreeSWITCH Sites<br /><a href="http://www.freeswitch.org"><span style=" text-decoration: underline; color:#0057ae;">http://www.freeswitch.org</span></a><br /><a href="http://confluence.freeswitch.org"><span style=" text-decoration: underline; color:#0057ae;">http://confluence.freeswitch.org</span></a><br /><a href="http://www.cluecon.com"><span style=" text-decoration: underline; color:#0057ae;">http://www.cluecon.com</span></a><br /><br />FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br /><a href="http://www.cudatel.com"><span style=" text-decoration: underline; color:#0057ae;">http://www.cudatel.com</span></a><br /><br />FreeSWITCH-users mailing list<br /><a href="mailto:FreeSWITCH-users@lists.freeswitch.org"><span style=" text-decoration: underline; color:#0057ae;">FreeSWITCH-users@lists.freeswitch.org</span></a><br /><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"><span style=" text-decoration: underline; color:#0057ae;">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</span></a><br />UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"><span style=" text-decoration: underline; color:#0057ae;">http://lists.freeswitch.org/mailman/options/freeswitch-users</span></a><br /><a href="http://www.freeswitch.org"><span style=" text-decoration: underline; color:#0057ae;">http://www.freeswitch.org</span></a><br /></pre>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p></body></html>