Hello,<br><br>Pre-answer doesn't answer the call, just sends a 183 so the remote party can hear whatever audio is coming from the caller side.<br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 14, 2016 at 9:32 AM Gregor Nanger <<a href="mailto:gregor@infomedia.si">gregor@infomedia.si</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 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"></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-14 1:17 GMT+02:00 Dmitry Mordovin <span dir="ltr"><<a 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><font color="#888888"><br>
<br>
DM</font></span><div><div><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">@${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">@${domain_name}"/></span></div>
<div>
<div><span style="font-size:12.8px"> <action
application="playback"
data="/opt/freeswitch-share/fs_sounds/ru/connection_not_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 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 href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</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}@${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 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_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/freeswitch-share/moh/0/2_8.wav"
/> <br>
<action application="set"
data="transfer_ringback=file_string:///opt/freeswitch-share/moh/0/2_8.wav"/><br>
<action application="set"
data="ringback=/opt/freeswitch-share/moh/0/2_8.wav"/>
<br>
<br>
<!-- 3. Call to customer
--> <br>
<action application="set"
data="hangup_after_bridge=true"/>
<br>
<br>
<action
application="bridge"
data="[leg_timeout=20]sofia/gateway/gw1/79262410000@wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111@gw1"/><br>
<!-- Second try in 5
seconds --> <br>
<action application="sleep"
data="5000"/> <br>
<action
application="bridge"
data="[leg_timeout=20]sofia/gateway/gw1/79262410000@wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111@gw1"/><br>
<br>
<!-- 4. Bridge fail -->
<br>
<action
application="playback"
data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/><br>
<action
application="hangup"/> <br>
</condition> <br>
</extension> <br>
<br>
Thank All! <br>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
</div>
</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div></div><div class="gmail_extra">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><table border="0" style="font-size:12px;border:1px dashed rgb(187,187,187);font-family:sans-serif;width:537px"><tbody style="border-spacing:2px;border:0px none rgb(128,128,128)"><tr valign="top" style="border-spacing:2px;border:0px none rgb(128,128,128)"><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 href="http://www.infomedia.si" target="_blank">www.infomedia.si</a></font></td></tr></tbody></table></div></div>
</div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>