<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Then I have no idea why it’s not working for you. I even tried your dialplan its working fine:</div><div class=""><br class=""></div><div class="">Dialplan:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class=""><!--TEST START--></div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><extension</span> name="call_duration" continue="true"<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><condition</span> field="destination_number" expression="^call_duration$" break="never"<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><action</span> application="set" data="call_length=${expr(randomize(<span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">&x);</span>ceil(random(29999,45000,&x)))}" inline="true"/<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><action</span> application="log" data="INFO Random value is ${call_length}"/<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span></condition></div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class=""></extension></div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><extension</span> name="transfer_request"<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><condition</span> field="destination_number" expression="^\*(85)$"<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><action</span> application="pre_answer"/<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><action</span> application="answer"/<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><action</span> application="execute_extension" data="call_duration XML from-core"/<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><action</span> application="log" data="INFO Call from ${caller_id_number} to ${destination_number} will last for ${call_length}ms"/<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><action</span> application="execute_extension" data="call_duration XML from-core"/<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><action</span> application="log" data="INFO Call from ${caller_id_number} to ${destination_number} will last for ${call_length}ms"/<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><action</span> application="sleep" data="${call_length}"/<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class=""><action</span> application="hangup" data="NORMAL_CLEARING"/<span style="font-variant-ligatures: no-common-ligatures; color: #01a3af" class="">></span></div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> </span></condition></div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class=""></extension></div><div style="margin: 0px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196); min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class=""><!--TEST END--></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Output:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [INFO] mod_dialplan_xml.c:637 Processing 33170567631 <33170567631>->call_duration in context from-core</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->unloop] continue=false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->outside_call] continue=true</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Absolute Condition [outside_call]</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Action set(outside_call=true) </div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) </div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->call_duration] continue=true</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (PASS) [call_duration] destination_number(call_duration) =~ /^call_duration$/ break=never</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Action set(call_length=${expr(randomize(&x);ceil(random(29999,45000,&x)))}) INLINE</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> set(call_length=35719)</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [DEBUG] mod_dptools.c:1519 SET <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> [call_length]=[35719]</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Action log(INFO Random value is ${call_length}) </div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->transfer_request] continue=false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (FAIL) [transfer_request] destination_number(call_duration) =~ /^\*(85)$/ break=on-false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->call_debug] continue=true</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->homer_X_cid] continue=true</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (PASS) [homer_X_cid] destination_number(call_duration) =~ /.*/ break=on-false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Action set(sip_h_X-CID=${sip_call_id}) </div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->Local_Extension] continue=false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (FAIL) [Local_Extension] destination_number(call_duration) =~ /^\*(85)$/ break=on-false</div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [NOTICE] switch_core_session.c:2895 Execute set(outside_call=true)</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> set(outside_call=true)</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [DEBUG] mod_dptools.c:1519 SET <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> [outside_call]=[true]</div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [NOTICE] switch_core_session.c:2895 Execute export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> export(RFC2822_DATE=Tue, 24 Jan 2017 13:22:23 +0000)</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RFC2822_DATE]=[Tue, 24 Jan 2017 13:22:23 +0000]</div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [NOTICE] switch_core_session.c:2895 Execute log(INFO Random value is ${call_length})</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> log(INFO Random value is 35719)</div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><b class="">2017-01-24 13:22:23.616006 [INFO] mod_dptools.c:1713 Random value is 35719</b></div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [NOTICE] switch_core_session.c:2895 Execute set(sip_h_X-CID=${sip_call_id})</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> set(sip_h_X-CID=313438353236343134333135383733-7sj1k4kl0i83)</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [DEBUG] mod_dptools.c:1519 SET <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> [sip_h_X-CID]=[313438353236343134333135383733-7sj1k4kl0i83]</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> log(INFO Call from 33170567631 to *85 will last for 35719ms)</div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [INFO] mod_dptools.c:1713 Call from 33170567631 to *85 will last for 35719ms</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> execute_extension(call_duration XML from-core)</div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [INFO] mod_dialplan_xml.c:637 Processing 33170567631 <33170567631>->call_duration in context from-core</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->unloop] continue=false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->outside_call] continue=true</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Absolute Condition [outside_call]</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Action set(outside_call=true) </div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) </div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->call_duration] continue=true</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (PASS) [call_duration] destination_number(call_duration) =~ /^call_duration$/ break=never</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Action set(call_length=${expr(randomize(&x);ceil(random(29999,45000,&x)))}) INLINE</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> set(call_length=33576)</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [DEBUG] mod_dptools.c:1519 SET <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> [call_length]=[33576]</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Action log(INFO Random value is ${call_length}) </div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->transfer_request] continue=false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (FAIL) [transfer_request] destination_number(call_duration) =~ /^\*(85)$/ break=on-false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->call_debug] continue=true</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->homer_X_cid] continue=true</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (PASS) [homer_X_cid] destination_number(call_duration) =~ /.*/ break=on-false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Action set(sip_h_X-CID=${sip_call_id}) </div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> parsing [from-core->Local_Extension] continue=false</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">Dialplan: <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> Regex (FAIL) [Local_Extension] destination_number(call_duration) =~ /^\*(85)$/ break=on-false</div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [NOTICE] switch_core_session.c:2895 Execute set(outside_call=true)</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> set(outside_call=true)</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [DEBUG] mod_dptools.c:1519 SET <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> [outside_call]=[true]</div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [NOTICE] switch_core_session.c:2895 Execute export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> export(RFC2822_DATE=Tue, 24 Jan 2017 13:22:23 +0000)</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RFC2822_DATE]=[Tue, 24 Jan 2017 13:22:23 +0000]</div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [NOTICE] switch_core_session.c:2895 Execute log(INFO Random value is ${call_length})</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> log(INFO Random value is 33576)</div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class=""><b class="">2017-01-24 13:22:23.616006 [INFO] mod_dptools.c:1713 Random value is 33576</b></div><div style="margin: 0px; font-family: Courier; color: rgb(1, 163, 175); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [NOTICE] switch_core_session.c:2895 Execute set(sip_h_X-CID=${sip_call_id})</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> set(sip_h_X-CID=313438353236343134333135383733-7sj1k4kl0i83)</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [DEBUG] mod_dptools.c:1519 SET <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> [sip_h_X-CID]=[313438353236343134333135383733-7sj1k4kl0i83]</div><div style="margin: 0px; font-family: Courier; color: rgb(150, 150, 0); background-color: rgb(223, 219, 196);" class="">EXECUTE <a href="mailto:sofia/core/33170567631@sip.v.ibrowse.com" class="">sofia/core/33170567631@sip.v.ibrowse.com</a> log(INFO Call from 33170567631 to *85 will last for 33576ms)</div><div style="margin: 0px; font-family: Courier; color: rgb(0, 165, 0); background-color: rgb(223, 219, 196);" class="">2017-01-24 13:22:23.616006 [INFO] mod_dptools.c:1713 Call from 33170567631 to *85 will last for 33576ms</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">regards,</div><div class="">srigo</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 24, 2017, at 2:00 PM, Chris Young <<a href="mailto:Chris.Young@enghouse.com" class="">Chris.Young@enghouse.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">I was running an older version of FreeSWITCH (1.5.15) but I've just retried with 1.6.14 and I still get the same behaviour. I am running on Windows in case that makes any difference.<span class="Apple-converted-space"> </span><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Here is my dialplan. This server is part of a test environment and what I am trying to achieve is to have a variable call duration:<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><?xml version="1.0" encoding="utf-8"?><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><include><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <extension name="persistent_agent_leg"><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: 36pt;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><condition field="destination_number" expression="^([78]\d{3})$"> <o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: 36pt;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><action application="set" data="send_silence_when_idle=400"/><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt 72pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: 36pt;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><action application="pre_answer"/><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <action application="answer"/> <o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: 36pt;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <action application="park"/><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </condition><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </extension><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <extension name="call_duration" continue="true"><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <condition field="destination_number" expression="^call_duration$" break="never"><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <action application="set" data="call_length=${expr(randomize(&x);ceil(random(29999,45000,&x)))}" inline="true"/><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </condition><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </extension><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <extension name="transfer_request"><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <condition field="destination_number" expression="^([45]\d{3})$"><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <action application="pre_answer"/> <o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <action application="answer"/><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <action application="execute_extension" data="call_duration XML default"/><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <action application="log" data="INFO Call from ${caller_id_number} to ${destination_number} will last for ${call_length}ms"/><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <action application="sleep" data="${call_length}"/><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> <action application="hangup" data="NORMAL_CLEARING"/><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </condition><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </extension> <o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""></include><o:p class=""></o:p></span></div><div class=""><p class="MsoNormal" style="margin: 6pt 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(91, 155, 213);" class=""> </span></p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></div><div class=""><div style="border-style: solid none none; border-top-color: rgb(225, 225, 225); border-top-width: 1pt; padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><b class=""><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">From:</span></b><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="Apple-converted-space"> </span><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" class="">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" class="">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]<span class="Apple-converted-space"> </span><b class="">On Behalf Of<span class="Apple-converted-space"> </span></b>KSrigo<br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>24 January 2017 10:37<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [Freeswitch-users] Random number generation<o:p class=""></o:p></span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Yes “from-core" was my context for the test. You have to update according your config. Could you tell me your freeswitch version?<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Mine is: FreeSWITCH Version 1.6.8-15-99de0ad~64bit. The config I gave you works fine on it.<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Could you post your dialplan ?<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Here is the whole dial plan I used for the test:<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><include><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <context name="from-core"><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <extension name="random_number_gen" continue="true"><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <condition field="destination_number" expression="^random_number_gen$" break="never"><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <!-- generate random number between 1 and 100 --><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <action application="set" data="rand_val=${expr(randomize(&x);ceil(random(0,100,&x)))}" inline="true"/><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <action application="log" data="INFO Random value is ${rand_val}"/><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> </condition><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> </extension><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <extension name="Local_Extension"><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <condition field="destination_number" expression="^\*(85)$"><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <!--test 1--><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <action application="execute_extension" data="random_number_gen XML from-core"/><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <!--test 2--><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <action application="execute_extension" data="random_number_gen XML from-core"/><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <action application="hangup"/><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> </condition><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> </extension><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> </context><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><include><o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Regards,<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Srigo<o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div><div class=""><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">On Jan 24, 2017, at 10:52 AM, Chris Young <<a href="mailto:Chris.Young@enghouse.com" style="color: purple; text-decoration: underline;" class="">Chris.Young@enghouse.com</a>> wrote:<o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Hi Srigo,</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Thanks for your help. Unfortunately, I still see the same value getting generated each time the extension gets executed e.g.</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> 51a7a226-27e6-4fe3-979b-0b0bb28253d9 2017-01-24 09:49:21.504783 [INFO] mod_dptools.c:1628 Random value is 1</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: 36pt;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">70aae2dc-cee6-4a3c-805f-5655abd7e6e6 2017-01-24 09:49:21.965642 [INFO] mod_dptools.c:1628 Random value is 1</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: 36pt;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">92e81c00-0ff0-4ddc-819f-019c145f39be 2017-01-24 09:49:22.444287 [INFO] mod_dptools.c:1628 Random value is 1</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">I take it that from-core is some context you've defined in your environment rather than anything special, as it didn't work when I used that (so I changed it to 'default')?</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Regards,</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Chris</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><o:p class=""></o:p></div></div><div class=""><div style="border-style: solid none none; border-top-color: rgb(225, 225, 225); border-top-width: 1pt; padding: 3pt 0cm 0cm;" class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><b class=""><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">From:</span></b><span class="apple-converted-space"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></span><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" style="color: purple; text-decoration: underline;" class="">freeswitch-users-bounces@lists.freeswitch.org</a><span class="Apple-converted-space"> </span>[<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" style="color: purple; text-decoration: underline;" class="">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]<span class="apple-converted-space"> </span><b class="">On Behalf Of<span class="apple-converted-space"> </span></b>KSrigo<br class=""><b class="">Sent:</b><span class="apple-converted-space"> </span>24 January 2017 09:14<br class=""><b class="">To:</b><span class="apple-converted-space"> </span>FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color: purple; text-decoration: underline;" class="">freeswitch-users@lists.freeswitch.org</a>><br class=""><b class="">Subject:</b><span class="apple-converted-space"> </span>Re: [Freeswitch-users] Random number generation</span><o:p class=""></o:p></div></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Hi Chris,<o:p class=""></o:p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">I’m not sure if I understood exactly your needs. This is how I use randomize function:<o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Define Random Number Generator extension:<o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><extension name="random_number_gen" continue="true"><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <condition field="destination_number" expression="^random_number_gen$" break="never"><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <!-- generate random number between 1 and 100 --><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <action application="set" data="rand_val=${expr(randomize(&x);ceil(random(0,100,&x)))}" inline="true"/><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <action application="log" data="INFO Random value is ${rand_val}"/><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> </condition><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""></extension><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">then call it in your diaplan each time you need to get a random number set:<o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><action application="execute_extension" data="random_number_gen XML from-core"/><o:p class=""></o:p></div></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Regards,<o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Srigo<o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div><div class=""><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">On Jan 24, 2017, at 9:51 AM, Chris Young <<a href="mailto:Chris.Young@enghouse.com" style="color: purple; text-decoration: underline;" class=""><span style="color: purple;" class="">Chris.Young@enghouse.com</span></a>> wrote:<o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hello all,</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">On the wiki, there is an example of using mod_expr to generate a random number:</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <!-- generate random number between 1 and 100 --></span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <action application="set" data="rand_val=${expr(randomize(&x);ceil(random(0,100,&x)))}"/></span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> <action application="log" data="INFO Random value is ${rand_val}"/></span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">This works well the first time but if the same dialplan instructions are executed subsequently, the same number is produced each time.</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Is this by design? Is there any other way to seed the random number generator so it will produce different results, as randomize() doesn't seem to be doing quite what I thought it would?</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Many thanks,</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">Chris</span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 13.5pt; font-family: Calibri, sans-serif; color: rgb(0, 85, 154);" class="">Chris Young</span><span class="apple-converted-space"><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><br class=""><span style="color: rgb(30, 144, 255);" class="">Software Engineer</span><span style="color: rgb(0, 160, 220);" class=""><br class=""><image001.png><br class=""></span><span style="color: rgb(0, 85, 154);" class="">t:</span> <span style="color: rgb(30, 144, 255);" class="">+44 118 943 9249</span><span style="color: rgb(0, 85, 154);" class=""><br class="">e:</span> <span class="apple-converted-space"> </span><span style="color: rgb(30, 144, 255);" class=""><a href="mailto:chris.young@enghouse.com" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(5, 99, 193);" class="">chris.young@enghouse.com</span></a></span><span style="color: rgb(0, 85, 154);" class=""><br class="">w:</span><span class="apple-converted-space"> </span><span style="color: rgb(30, 144, 255);" class=""><a href="http://www.enghouseinteractive.co.uk/" title="Enghouse Interactive" style="color: purple; text-decoration: underline;" class=""><span style="color: rgb(30, 144, 255);" class="">www.enghouseinteractive.co.uk</span></a></span><span style="color: rgb(0, 176, 240);" class=""><br class=""><image002.png></span></span><o:p class=""></o:p></div></div></div><p class="MsoNormal" style="margin: 6pt 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(166, 166, 166);" class="">Enghouse Interactive (UK) Ltd is a company registered in England and Wales. Registered number: 04230977. Registered office: Imperium, Imperial Way, Reading, Berkshire, RG2 0TD</span><o:p class=""></o:p></p><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""> </span><o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<span class="apple-converted-space"> </span><br class=""></span><a href="mailto:consulting@freeswitch.org" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(149, 79, 114);" class="">consulting@freeswitch.org</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="http://www.freeswitchsolutions.com/" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(149, 79, 114);" class="">http://www.freeswitchsolutions.com</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""><br class="">Official FreeSWITCH Sites<br class=""></span><a href="http://www.freeswitch.org/" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(149, 79, 114);" class="">http://www.freeswitch.org</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="http://confluence.freeswitch.org/" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(149, 79, 114);" class="">http://confluence.freeswitch.org</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="http://www.cluecon.com/" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(149, 79, 114);" class="">http://www.cluecon.com</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""><br class="">FreeSWITCH-users mailing list<br class=""></span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(149, 79, 114);" class="">FreeSWITCH-users@lists.freeswitch.org</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(149, 79, 114);" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class="">UNSUBSCRIBE:http://</span><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(149, 79, 114);" class="">lists.freeswitch.org/mailman/options/freeswitch-users</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="http://www.freeswitch.org/" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(149, 79, 114);" class="">http://www.freeswitch.org</span></a><o:p class=""></o:p></div></div></div></blockquote></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""> <o:p class=""></o:p></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<span class="apple-converted-space"> </span><br class=""></span><a href="mailto:consulting@freeswitch.org" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: purple;" class="">consulting@freeswitch.org</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="http://www.freeswitchsolutions.com/" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: purple;" class="">http://www.freeswitchsolutions.com</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""><br class="">Official FreeSWITCH Sites<br class=""></span><a href="http://www.freeswitch.org/" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: purple;" class="">http://www.freeswitch.org</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="http://confluence.freeswitch.org/" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: purple;" class="">http://confluence.freeswitch.org</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="http://www.cluecon.com/" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: purple;" class="">http://www.cluecon.com</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""><br class="">FreeSWITCH-users mailing list<br class=""></span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: purple;" class="">FreeSWITCH-users@lists.freeswitch.org</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: purple;" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class="">UNSUBSCRIBE:http://</span><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: purple;" class="">lists.freeswitch.org/mailman/options/freeswitch-users</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="http://www.freeswitch.org/" style="color: purple; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: purple;" class="">http://www.freeswitch.org</span></a><o:p class=""></o:p></div></div></blockquote></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_________________________________________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Professional FreeSWITCH Consulting Services:<span class="Apple-converted-space"> </span></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:consulting@freeswitch.org" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">consulting@freeswitch.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://www.freeswitchsolutions.com/" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://www.freeswitchsolutions.com</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Official FreeSWITCH Sites</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://www.freeswitch.org/" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://www.freeswitch.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://confluence.freeswitch.org/" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://confluence.freeswitch.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://www.cluecon.com/" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://www.cluecon.com</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">FreeSWITCH-users mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">FreeSWITCH-users@lists.freeswitch.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">UNSUBSCRIBE:http://</span><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">lists.freeswitch.org/mailman/options/freeswitch-users</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://www.freeswitch.org/" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://www.freeswitch.org</a></div></blockquote></div><br class=""></body></html>