<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I start use MOH instead play file, this solve part of problem.<br>
<br>
sleep replace with playback & timeout<br>
<br>
Not good solution, but works, enough.<br>
<br>
I thinking, possible to make one leg to extension with MOH and in
conference, call to customer.<br>
When customer answer, disconnect MOH leg from conference.<br>
<br>
<br>
<div class="moz-cite-prefix">On 09/14/2016 11:31 AM, Gregor Nanger
wrote:<br>
</div>
<blockquote
cite="mid:CAC7ttFHjRbtjyZghe6kGZ4Kfo5wGmovomDOxk9TVNYur1XuZDQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:trebuchet
ms,sans-serif">Just post info for others. As I see David use
preanswer and your config answer. Is this solution??</div>
<img moz-do-not-send="true"
src="http://t.sidekickopen65.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dbp0W3MPnzY4XrbSMW8q-f_43LvrVvW59BB4r1k1H6H0?si=5036397111279616&pi=8f442478-1a1e-4d4c-8302-4667cb3904b4"
style="display:none!important" height="1" width="1"></div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-09-14 1:17 GMT+02:00 Dmitry
Mordovin <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:d.mordovin@dwide.com" target="_blank">d.mordovin@dwide.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi,<br>
<br>
Thank you David, your config sample help me!<span
class="HOEnZb"><font color="#888888"><br>
<br>
DM</font></span>
<div>
<div class="h5"><br>
<br>
<div>On 09/13/2016 06:25 PM, David Villasmil wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I got that. I think it might work :)</div>
<div>Let him try it :)</div>
<div><br>
</div>
<div>Something like:</div>
<div><br>
</div>
<div>
<div style="font-size:12.8px"> <extension
name="Local_Extension"></div>
<div style="font-size:12.8px">
<condition field="destination_number"
expression="^(9.*)$"></div>
<div style="font-size:12.8px"> <span
style="white-space:pre-wrap"> </span><action
application="pre_answer"/><br>
</div>
<div style="font-size:12.8px"> <span
style="white-space:pre-wrap"> </span><action
application="playback"
data="local_stream://moh"/></div>
<div style="font-size:12.8px"> <action
application="bridge" data="<span
style="color:rgb(0,0,0);font-family:monospace,courier;font-size:12.8px;line-height:1.3em;background-color:rgb(249,249,249)">[leg_timeout=5]</span><span
style="font-size:12.8px">user/1001</span><span
style="font-size:12.8px"><wbr>@${domain_name}"/></span></div>
<span style="font-size:12.8px"></span>
<div><span style="font-size:12.8px">
<action application="sleep"
data="5000"/> </span></div>
<div style="font-size:12.8px"> <action
application="bridge" data="<span
style="color:rgb(0,0,0);font-family:monospace,courier;font-size:12.8px;line-height:1.3em;background-color:rgb(249,249,249)">[leg_timeout=5]</span><span
style="font-size:12.8px">user/1002</span><span
style="font-size:12.8px"><wbr>@${domain_name}"/></span></div>
<div>
<div><span style="font-size:12.8px">
<action application="playback"
data="/opt/freeswitch-share/<wbr>fs_sounds/ru/connection_not_<wbr>established.mp3"/></span><br>
</div>
</div>
<span style="font-size:12.8px"></span>
<div style="font-size:12.8px"><span
style="font-size:12.8px"> <action
application="hangup"/></span><br>
</div>
<span style="font-size:12.8px">
<div> </condition></div>
<div> </extension></div>
<div><br>
</div>
<div>David</div>
</span></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Sep 13, 2016 at
4:19 PM, Don Hawkins <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:hawkins@hawkinsegroup.com"
target="_blank">hawkins@hawkinsegroup.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<p dir="ltr">He wants the second attempt to
bride to be transparent and hold music to
pay during the sleep time. Had to read it a
few times, unfortunately can't help.</p>
<p dir="ltr">Sincerely,<br>
Don Hawkins</p>
<p dir="ltr">Sent from my NationPCS® Nexus 6.</p>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sep 13, 2016
9:18 AM, "David Villasmil" <<a
moz-do-not-send="true"
href="mailto:david.villasmil.work@gmail.com"
target="_blank">david.villasmil.work@gmail.co<wbr>m</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">Hello,
<div><br>
</div>
<div>Not sure i understood you
goal, but I receive the INVITE,
and start sending moh until the
call is answered, like this:</div>
<div><br>
</div>
<div>
<div> <extension
name="Local_Extension"></div>
<div> <condition
field="destination_number"
expression="^(9.*)$"></div>
<div> <span
style="white-space:pre-wrap">
</span><action
application="pre_answer"/><br>
</div>
<div>
<div> <span
style="white-space:pre-wrap">
</span><action
application="playback"
data="local_stream://moh"/></div>
</div>
<div> <action
application="bridge"
data="user/${dialed_extension}<wbr>@${domain_name}"/></div>
<div> <action
application="hangup"/></div>
<div> </condition></div>
<div> </extension></div>
<div><br>
</div>
</div>
<div>You could do something
similar.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Dacud</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue,
Sep 13, 2016 at 3:56 PM, Dmitry
Mordovin <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:d.mordovin@dwide.com"
target="_blank">d.mordovin@dwide.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF"
text="#000000">
<div
style="font-family:-moz-fixed;font-size:12px"
lang="x-unicode">Hello, <br>
<br>
I can't figure out how to
configure hold music to
play from begin extension
till customer answer. <br>
The problems is: <br>
- Hold music play while
bridge calling to customer
only and silence while
sleep 5 sec before second
try <br>
- Hold music begin play
.wav from start each time
when bridge switch to next
route. <br>
<br>
Any ideas how to configure
hold music whole call
session and, start playing
after ANSWER (1 step) and
stop play when customer
answer(3 step) or bridge
fail (4 step)? <br>
<br>
My config: <br>
<br>
<extension
name="srv_sctv"> <br>
<condition
field="destination_number"
expression="^12345$"> <br>
<br>
<!-- 1.
Answer & welcome
--> <br>
<br>
<action
application="answer"/>
<br>
<action
application="set"
data="continue_on_fail=true"/>
<br>
<br>
<action
application="playback"
data="/opt/freeswitch-share/fs<wbr>_sounds/ring_welcome.wav"/>
<br>
<br>
<!-- 2. Setup
hold music & other
settings --> <br>
<action
application="set"
data="ignore_early_media=true"
/> <br>
<action
application="set"
data="instant_ringback=true"
/> <br>
<action
application="export"
data="hold_music=/opt/freeswit<wbr>ch-share/moh/0/2_8.wav"
/> <br>
<action
application="set"
data="transfer_ringback=file_s<wbr>tring:///opt/freeswitch-share/<wbr>moh/0/2_8.wav"/><br>
<action
application="set"
data="ringback=/opt/freeswitch<wbr>-share/moh/0/2_8.wav"/>
<br>
<br>
<!-- 3. Call
to customer --> <br>
<action
application="set"
data="hangup_after_bridge=true<wbr>"/>
<br>
<br>
<action
application="bridge"
data="[leg_timeout=20]sofia/ga<wbr>teway/gw1/79262410000@wg1|[leg<wbr>_timeout=20]sofia/gateway/gw1/<wbr>79262411111@gw1"/><br>
<!-- Second
try in 5 seconds --> <br>
<action
application="sleep"
data="5000"/> <br>
<action
application="bridge"
data="[leg_timeout=20]sofia/ga<wbr>teway/gw1/79262410000@wg1|[leg<wbr>_timeout=20]sofia/gateway/gw1/<wbr>79262411111@gw1"/><br>
<br>
<!-- 4.
Bridge fail --> <br>
<action
application="playback"
data="/opt/freeswitch-share/fs<wbr>_sounds/ru/connection_not_esta<wbr>blished.mp3"/><br>
<action
application="hangup"/>
<br>
</condition>
<br>
</extension> <br>
<br>
Thank All! <br>
</div>
</div>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH
Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
rel="noreferrer"
target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
rel="noreferrer"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://confluence.freeswitch.org"
rel="noreferrer"
target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com"
rel="noreferrer"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
rel="noreferrer"
target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
rel="noreferrer"
target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
rel="noreferrer"
target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting
Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://confluence.freeswitch.org"
rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com"
rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://confluence.freeswitch.org"
rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a moz-do-not-send="true"
href="http://www.cluecon.com"
rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org"
rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>______________________________<wbr>______________________________<wbr>_____________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" rel="noreferrer"
target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://confluence.freeswitch.org" rel="noreferrer"
target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<table style="font-size:12px;border:1px dashed
rgb(187,187,187);font-family:sans-serif;width:537px"
border="0">
<tbody style="border-spacing:2px;border:0px none
rgb(128,128,128)">
<tr style="border-spacing:2px;border:0px none
rgb(128,128,128)" valign="top">
<td
style="color:rgb(32,32,32);margin:8px;border-width:0px
1px 0px 0px;border-style:none solid none
none;border-color:rgb(32,32,32) rgb(0,161,230)
rgb(32,32,32)
rgb(32,32,32);font-weight:bold;letter-spacing:1px;text-transform:capitalize;vertical-align:top;padding:1px
8px 1px 1px;width:63px;outline:rgb(32,32,32) none
0px;border-spacing:2px"><span
style="color:rgb(0,161,230);outline:rgb(0,161,230)
none 0px;border-spacing:2px;border:0px none
rgb(0,161,230)"><font face="georgia, serif"
size="2">Gregor Nanger</font></span>
<div
style="font-size:17px;font-family:sans-serif;width:63px;outline:rgb(32,32,32)
none 0px;border-spacing:2px;border:0px none
rgb(32,32,32)"> </div>
</td>
<td style="margin:8px;border:0px none
rgb(80,80,80);vertical-align:top;padding:1px 1px 1px
6px;width:354px;outline:rgb(80,80,80) none
0px;border-spacing:2px"><font face="georgia, serif"
size="1"><b>CTO</b><br>
t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41
756485 <br>
• Infomedia d.o.o. • Jerebova 3, Novo mesto,
Slovenia <br>
• <a moz-do-not-send="true"
href="http://www.infomedia.si" target="_blank">www.infomedia.si</a></font></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</body>
</html>