Hi David,<br><br>It works well with your kindly advise... very appreciated for help! sure, i need more carefully read the wiki :)<br><br>Regards,<br>Charles<span style="font-size:14px"><font face="'Helvetica Neue'"><font color="#1C00FF"><br>
</font></font></span><br><div class="gmail_quote">2011/7/14 David Ponzone <span dir="ltr"><<a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Charles,<div><br></div><div>you need to read the wiki with care :)</div><div><br></div><div><span style="font-family:sans-serif;font-size:13px;line-height:19px"><h3 style="color:black;background-color:initial;font-weight:bold;margin-top:0px;margin-right:0px;margin-bottom:0.3em;margin-left:0px;padding-top:0.5em;padding-bottom:0.17em;border-bottom-width:initial;border-bottom-style:none;border-bottom-color:initial;font-size:17px;background-repeat:initial initial">
<span><a href="http://wiki.freeswitch.org/wiki/Variable_failure_causes" title="Variable failure causes" style="text-decoration:none;color:rgb(0, 43, 184);background-color:initial;background-repeat:initial initial" target="_blank">failure_causes</a></span></h3>
<div style="margin-top:0.4em;margin-right:0px;margin-bottom:0.5em;margin-left:0px;line-height:1.5em">Controls which failure causes will be considered as a failure to the bridge(s). This will change the values for which <a href="http://wiki.freeswitch.org/wiki/Variable_continue_on_fail" title="Variable continue on fail" style="text-decoration:none;color:rgb(0, 43, 184);background-color:initial;background-repeat:initial initial" target="_blank">continue_on_fail</a> will fail by default unless <a href="http://wiki.freeswitch.org/wiki/Variable_continue_on_fail" title="Variable continue on fail" style="text-decoration:none;color:rgb(0, 43, 184);background-color:initial;background-repeat:initial initial" target="_blank">continue_on_fail</a> is set to true.</div>
<div><br></div><div>This means if you set continue_on_fail to true, failure_causes will be ignored.</div><div><br></div><div>Remove:</div><div class="im"><div> <action application="set" data="continue_on_fail=true"/></div>
</div><div><div><br></div><div>Or remove:</div><div class="im"><div> <action application="set" data="failure_causes=USER_BUSY"/></div></div>and set:</div><div><div> <action application="set" data="continue_on_fail=USER_BUSY"/></div>
<div></div></div><div><br></div><div><br></div></span><div class="im"><div>
<span style="font-size:14px"><div style="word-wrap:break-word"><div><font face="'Helvetica Neue'"><font color="#1C00FF">David Ponzone </font><font color="#000000" size="3"><span style="font-size:12px">Direction Technique</span></font></font></div>
<div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">tel: 01 74 03 18 97</span></font></font></div>
<div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">gsm: 06 66 98 76 34</span></font></font></div><div><font face="'Helvetica Neue'"><br></font></div><div><font color="#1C00FF" face="'Helvetica Neue'">Service Client<span> </span></font><font face="'Helvetica Neue'"><font color="#FF0000">IP</font></font><font color="#1C00FF" face="'Helvetica Neue'">eva</font></div>
<div><font color="#1C00FF" face="'Helvetica Neue'"><span style="color:rgb(0, 0, 0);font-family:Helvetica"><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">tel: 0811 46 26 26</span></font></font></div>
<div><font face="'Helvetica Neue'" size="3"><span style="font-size:13px"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><a>www.ipeva.fr</a></span><span style="color:rgb(101, 104, 149)"> - <span style="color:rgb(0, 34, 243);text-decoration:underline"><a>www.ipeva-studio.com</a></span></span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)">
<span><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;text-align:justify;color:rgb(192, 192, 192)"><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.</i></div>
<div style="text-decoration:underline;text-align:justify"><font color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br><br>
</div>
<br></div><div><div>Le 13/07/2011 à 12:06, fieldpeak a écrit :</div><div><div></div><div class="h5"><br><blockquote type="cite">My phone sends back '486 Busy Here'.<br><br><div class="gmail_quote">2011/7/12 David Ponzone <span dir="ltr"><<a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a>></span><br>
<blockquote class="gmail_quote" style="margin-top:0pt;margin-right:0pt;margin-bottom:0pt;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex">
<div style="word-wrap:break-word">Check what your phone sends back when busy.<div><br><div>
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<div><font face="'Helvetica Neue'"><font color="#1c00ff">David Ponzone </font><font color="#000000" size="3"><span style="font-size:12px">Direction Technique</span></font></font></div><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div>
<div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">tel: 01 74 03 18 97</span></font></font></div><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">gsm: 06 66 98 76 34</span></font></font></div>
<div><font face="'Helvetica Neue'"><br></font></div><div><font color="#1c00ff" face="'Helvetica Neue'">Service Client<span> </span></font><font face="'Helvetica Neue'"><font color="#ff0000">IP</font></font><font color="#1c00ff" face="'Helvetica Neue'">eva</font></div>
<div><font color="#1c00ff" face="'Helvetica Neue'"><span style="color:rgb(0, 0, 0);font-family:Helvetica"><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">tel: 0811 46 26 26</span></font></font></div>
<div><font face="'Helvetica Neue'" size="3"><span style="font-size:13px"><div style="margin:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><a>www.ipeva.fr</a></span><span style="color:rgb(101, 104, 149)"> - <span style="color:rgb(0, 34, 243);text-decoration:underline"><a>www.ipeva-studio.com</a></span></span></div>
<div style="margin:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><br></span></div><div style="margin:0px;color:rgb(0, 34, 243)"><span><div style="margin:0px;text-align:justify;color:rgb(192, 192, 192)">
<i>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.</i></div>
<div style="text-decoration:underline;text-align:justify"><font color="#c0c0c0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br></span><br>
</div>
<br><div><div>Le 12/07/2011 à 10:31, fieldpeak a écrit :</div><br><blockquote type="cite"><div><div></div><div>Hi Steve,<br><br>Thanks for your kindly help, it works with below dial plan...<br>However, for both user busy or no answer, it played the voice prompt...<br>
i would like it only prompts in case user busy but not no answer, although i configured the "failure_causes=USER_BUSY" as below dialplan, it looks not help...attached is a log...<br>
<br> <extension name="Local_Extension"><br> <condition field="destination_number" expression="^(1\d{3})$"><br> <action application="set" data="dialed_extension=$1"/><br>
<action application="export" data="dialed_extension=$1"/><br> <action application="set" data="ringback=${us-ring}"/><br> <action application="set" data="transfer_ringback=$${hold_music}"/><br>
<action application="set" data="call_timeout=30"/><br> <br> <action application="set" data="failure_causes=USER_BUSY"/><br> <br> <action application="set" data="hangup_after_bridge=true"/><br>
<br> <!-- to enable voice mail, set continue_on_fail=true below --><br> <action application="set" data="continue_on_fail=true"/><br> <action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/><br>
<action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/><br> <action application="bridge" data="sofia/internal/${dialed_extension}%${domain_name}"/><br>
<action application="answer"/><br> <br> <action application="sleep" data="1000"/><br> <!-- play a voice prompt e.g. 'the extension you dialed is busy now, please dial the other exsention' to replacing busy tone when the called extension is in a call... --> <br>
<action application="play_and_get_digits" data="2 5 3 4000 # $${base_dir}/sounds/en/us/callie/conference/8000/conf-pin.wav /invalid.wav other_ext_var \d+"/><br> <action application="transfer" data="${other_ext_var} XML default"/><br>
<br> </condition><br> </extension><br><br>Regards,<br>Charles<br><br><br><div class="gmail_quote">2011/7/11 Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">There are two ways....<br><br>Most phones will return a USER_BUSY release code if you bridge to a phone that's busy. If the phone does then you can continue_on_fail so that you (pre-)answer the call and play that message after the bridge. Something like:<br>
<blockquote><div><extension name="Local_Extension"><br> <condition field="destination_number" expression="^(1\d{3})$"><br> <action application="set" data="dialed_extension=$1"/><br>
<action application="export" data="dialed_extension=$1"/><br></div><div> <action application="set" data="call_timeout=30"/><br></div> <action application="set" data="hangup_after_bridge=true"/> <!-- Hangup on successful call --><br>
<action application="set" data="continue_on_fail=true"/> <!-- Don't hangup on failed call, continue to IVR prompt --><div><br> <action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/><br>
<action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/><br></div> <action application="bridge" data="user/${dialed_extension}%${domain_name}"/><br>
<!-- Put the IVR prompt here, see <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_play_and_get_digits</a> --><br>
</condition><br>
</extension><br></blockquote>The 2nd option is that you use Limit to determine if another person is already on a call to the phone. That only really works if you run the the only servers that call the phone since it requires tracking all calls to the phone. It will sometimes work better though - especially if the phone has multiple lines. <a href="http://wiki.freeswitch.org/wiki/Limit" target="_blank">http://wiki.freeswitch.org/wiki/Limit</a><br>
<br>-Steve<br><br><br><div class="gmail_quote"><div><div></div><div>On 11 July 2011 03:25, fieldpeak <span dir="ltr"><<a href="mailto:fieldpeak@gmail.com" target="_blank">fieldpeak@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>
Hi Gurus,<br> <br>Could anyone advise how to realize have FS to play a voice prompt e.g. 'the extension you dialed is busy now, please dial the other exsention' to replacing busy tone when the called extension is in a call...<br>
<br>the details is below,<br><br>When calling to FS, the FS will play IVR "welcome to call us, please input the extension number, for operator please press 0",<br>then the caller input the extension number, in case the extension is in a call, the caller will hear busy tone...<br>
it needs the system play "the extension you dailed is busy, please dial the other extension", currently my dial plan as following, could anyone advise how to change based on below dial plan or any other new dail plan can realize it...<br>
<br>Thanks a lot!<br><br> <extension name="Local_Extension"><br> <condition field="destination_number" expression="^(1\d{3})$"><br> <action application="set" data="dialed_extension=$1"/><br>
<action application="export" data="dialed_extension=$1"/><br> <action application="set" data="ringback=${us-ring}"/><br> <action application="set" data="transfer_ringback=$${hold_music}"/><br>
<action application="set" data="call_timeout=30"/><br> <action application="set" data="hangup_after_bridge=true"/><br> <br> <!-- to enable voice mail, set continue_on_fail=true below --><br>
<action application="set" data="continue_on_fail=false"/><br> <action application="hash" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/><br>
<action application="hash" data="insert/${domain_name}-last_dial_ext/global/${uuid}"/><br> <action application="bridge" data="sofia/internal/${dialed_extension}%${domain_name}"/><br>
<action application="answer"/><br> <br> <action application="sleep" data="1000"/><br> <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/><br>
</condition><br> </extension><br> <br> <br> <extension name="IVR" ><br> <condition field="destination_number" expression="^888$"><br> <action application="answer"/><br>
<action application="sleep" data="2000"/><br> <action application="ivr" data="IVR"/><br> </condition><br> </extension><br> <br>
<!-- --><br> <menu name="IVR"<br> greet-long="C:/VSWITCH/recordings/greeting_tts.wav"<br> greet-short="C:/VSWITCH/recordings/greeting_tts.wav"<br> invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"<br>
exit-sound="voicemail/vm-goodbye.wav"<br> confirm-macro=""<br> confirm-key=""<br> tts-engine="flite"<br> tts-voice="rms"<br> confirm-attempts="3"<br>
timeout="10000"<br> inter-digit-timeout="2000"<br> max-failures="3"<br> max-timeouts="3"<br> digit-len="5"><br> <entry action="menu-exec-app" digits="/(^\*\d{3,5}$|^\d{3,5}$)/" param="transfer $1 XML default"/><br>
</menu><br> <br>Regards,<br>Charles<br>
<br></div></div>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div><span><log_no_answer.txt></span>_______________________________________________<div><br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
</div></blockquote></div><br></div></div><br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div></div></div><br></div></div><br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>