Hi David,<br><br>I tried and it is function the same, it will still do the transfer/next bridge when a 480 occurs after ringing for 2 minutes. I set continue_on_fail=102.<br><br>----- Original Message -----<br>From: David Ponzone &lt;david.ponzone@gmail.com&gt;<br>Date: Monday, June 28, 2010 3:44 pm<br>Subject: Re: [Freeswitch-users] Dialplan handling on call fails<br>To: freeswitch-users@lists.freeswitch.org<br><br>&gt; Perhaps by using continue_on_fail and putting a transfer just <br>&gt; after&nbsp; <br>&gt; the bridge, so you can jump to another extension/dialplan ?<br>&gt; <br>&gt; David Ponzone&nbsp; Direction Technique<br>&gt; email: david.ponzone@ipeva.fr<br>&gt; tel:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 01 74 03 18 97<br>&gt; gsm:&nbsp;&nbsp; 06 66 98 76 34<br>&gt; <br>&gt; Service Client IPeva<br>&gt; tel:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0811 46 26 26<br>&gt; www.ipeva.fr&nbsp; -&nbsp;&nbsp; www.ipeva-studio.com<br>&gt; <br>&gt; Ce message et toutes les pièces jointes sont confidentiels et <br>&gt; établis&nbsp; <br>&gt; à l'intention exclusive de ses destinataires. Toute utilisation <br>&gt; ou&nbsp; <br>&gt; diffusion non autorisée est interdite. Tout message électronique <br>&gt; est&nbsp; <br>&gt; susceptible d'altération. IPeva décline toute responsabilité au <br>&gt; titre&nbsp; <br>&gt; de ce message s'il a été altéré, déformé ou falsifié. Si vous <br>&gt; n'êtes&nbsp; <br>&gt; pas destinataire de ce message, merci de le détruire <br>&gt; immédiatement et&nbsp; <br>&gt; d'avertir l'expéditeur.<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; Le 28/06/2010 à 23:44, Roger Salloum a écrit :<br>&gt; <br>&gt; &gt; Hi David,<br>&gt; &gt;<br>&gt; &gt; Thanks for clearing that up. I tried when the call establishes <br>&gt; and&nbsp; <br>&gt; &gt; it would hang up, which is controlled by hangup_after_bridge. <br>&gt; Do you&nbsp; <br>&gt; &gt; have any suggestions for how i would get the failover <br>&gt; without&nbsp; <br>&gt; &gt; requiring all the bridges to be within the same condition? So <br>&gt; that i&nbsp; <br>&gt; &gt; can get failover to a less best match?<br>&gt; &gt;<br>&gt; &gt; ----- Original Message -----<br>&gt; &gt; From: David Ponzone &lt;david.ponzone@gmail.com&gt;<br>&gt; &gt; Date: Monday, June 28, 2010 12:36 pm<br>&gt; &gt; Subject: Re: [Freeswitch-users] Dialplan handling on call fails<br>&gt; &gt; To: freeswitch-users@lists.freeswitch.org<br>&gt; &gt;<br>&gt; &gt; &gt; Roger,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; you're right, but I think there is a mix up here.<br>&gt; &gt; &gt; In your dialplan, all your bridge actions will be executed<br>&gt; &gt; &gt; because of<br>&gt; &gt; &gt; the conditions they are included in, not because you use<br>&gt; &gt; &gt; continue_on_fail.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; The common use of continue_on_fail looks like:<br>&gt; &gt; &gt; &lt;condition .....&gt;<br>&gt; &gt; &gt; &lt;action set continue_on_fail=true&gt;<br>&gt; &gt; &gt; &lt;action bridge1&gt;<br>&gt; &gt; &gt; &lt;action bridge2&gt;<br>&gt; &gt; &gt; &lt;action bridge3&gt;<br>&gt; &gt; &gt; &lt;/condition&gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; David Ponzone&nbsp; Direction Technique<br>&gt; &gt; &gt; email: david.ponzone@ipeva.fr<br>&gt; &gt; &gt; tel:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 01 74 03 18 97<br>&gt; &gt; &gt; gsm:&nbsp;&nbsp; 06 66 98 76 34<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Service Client IPeva<br>&gt; &gt; &gt; tel:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0811 46 26 26<br>&gt; &gt; &gt; www.ipeva.fr&nbsp; -&nbsp;&nbsp; www.ipeva-studio.com<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Ce message et toutes les pièces jointes sont confidentiels et<br>&gt; &gt; &gt; établis<br>&gt; &gt; &gt; à l'intention exclusive de ses destinataires. Toute utilisation<br>&gt; &gt; &gt; ou<br>&gt; &gt; &gt; diffusion non autorisée est interdite. Tout message électronique<br>&gt; &gt; &gt; est<br>&gt; &gt; &gt; susceptible d'altération. IPeva décline toute responsabilité au<br>&gt; &gt; &gt; titre<br>&gt; &gt; &gt; de ce message s'il a été altéré, déformé ou falsifié. Si vous<br>&gt; &gt; &gt; n'êtes<br>&gt; &gt; &gt; pas destinataire de ce message, merci de le détruire<br>&gt; &gt; &gt; immédiatement et<br>&gt; &gt; &gt; d'avertir l'expéditeur.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; David Ponzone&nbsp; Direction Technique<br>&gt; &gt; &gt; email: david.ponzone@ipeva.fr<br>&gt; &gt; &gt; tel:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 01 74 03 18 97<br>&gt; &gt; &gt; gsm:&nbsp;&nbsp; 06 66 98 76 34<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Service Client IPeva<br>&gt; &gt; &gt; tel:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0811 46 26 26<br>&gt; &gt; &gt; www.ipeva.fr&nbsp; -&nbsp;&nbsp; www.ipeva-studio.com<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Ce message et toutes les pièces jointes sont confidentiels et<br>&gt; &gt; &gt; établis<br>&gt; &gt; &gt; à l'intention exclusive de ses destinataires. Toute utilisation<br>&gt; &gt; &gt; ou<br>&gt; &gt; &gt; diffusion non autorisée est interdite. Tout message électronique<br>&gt; &gt; &gt; est<br>&gt; &gt; &gt; susceptible d'altération. IPeva décline toute responsabilité au<br>&gt; &gt; &gt; titre<br>&gt; &gt; &gt; de ce message s'il a été altéré, déformé ou falsifié. Si vous<br>&gt; &gt; &gt; n'êtes<br>&gt; &gt; &gt; pas destinataire de ce message, merci de le détruire<br>&gt; &gt; &gt; immédiatement et<br>&gt; &gt; &gt; d'avertir l'expéditeur.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Le 28/06/2010 à 21:06, Roger Salloum a écrit :<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;From my understanding the break is used to handle what<br>&gt; &gt; &gt; happens on<br>&gt; &gt; &gt; &gt; the evaluation of the condition. I have break=never as I want<br>&gt; &gt; &gt; it to<br>&gt; &gt; &gt; &gt; try all rules for the extension even if the one above returns<br>&gt; &gt; &gt; true<br>&gt; &gt; &gt; &gt; or false.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; ----- Original Message -----<br>&gt; &gt; &gt; &gt; From: David Ponzone &lt;david.ponzone@gmail.com&gt;<br>&gt; &gt; &gt; &gt; Date: Monday, June 28, 2010 6:36 am<br>&gt; &gt; &gt; &gt; Subject: Re: [Freeswitch-users] Dialplan handling on call fails<br>&gt; &gt; &gt; &gt; To: freeswitch-users@lists.freeswitch.org<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; If you use continue_on_fail, I don't think you need to set<br>&gt; &gt; &gt; &gt; &gt; break="never".<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; David Ponzone&nbsp; Direction Technique<br>&gt; &gt; &gt; &gt; &gt; email: david.ponzone@ipeva.fr<br>&gt; &gt; &gt; &gt; &gt; tel:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 01 74 03 18 97<br>&gt; &gt; &gt; &gt; &gt; gsm:&nbsp;&nbsp; 06 66 98 76 34<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Service Client IPeva<br>&gt; &gt; &gt; &gt; &gt; tel:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0811 46 26 26<br>&gt; &gt; &gt; &gt; &gt; www.ipeva.fr&nbsp; -&nbsp;&nbsp; www.ipeva-studio.com<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Ce message et toutes les pièces jointes sont <br>&gt; confidentiels et<br>&gt; &gt; &gt; &gt; &gt; établis<br>&gt; &gt; &gt; &gt; &gt; à l'intention exclusive de ses destinataires. Toute <br>&gt; utilisation&gt; &gt; &gt; &gt; ou<br>&gt; &gt; &gt; &gt; &gt; diffusion non autorisée est interdite. Tout message <br>&gt; électronique&gt; &gt; &gt; &gt; est<br>&gt; &gt; &gt; &gt; &gt; susceptible d'altération. IPeva décline toute responsabilité<br>&gt; &gt; &gt; &gt; &gt; au<br>&gt; &gt; &gt; &gt; &gt; titre de ce message s'il a été altéré, déformé ou falsifié.<br>&gt; &gt; &gt; &gt; &gt; Si<br>&gt; &gt; &gt; &gt; &gt; vous n'êtes pas destinataire de ce message, merci de le<br>&gt; &gt; &gt; &gt; &gt; détruire<br>&gt; &gt; &gt; &gt; &gt; immédiatement et d'avertir l'expéditeur.<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Le 26/06/2010 à 16:53, Roger Salloum a écrit :<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; Hi,<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; I'm trying to setup a dialplan such that if one particular<br>&gt; &gt; &gt; &gt; &gt; route<br>&gt; &gt; &gt; &gt; &gt; &gt; fails it will try another.&nbsp; However, I do not <br>&gt; want it to<br>&gt; &gt; &gt; &gt; &gt; try another<br>&gt; &gt; &gt; &gt; &gt; &gt; route once it had recieved a 180/183 in response from a<br>&gt; &gt; &gt; &gt; &gt; gateway. I<br>&gt; &gt; &gt; &gt; &gt; &gt; have not been able to determine how to accomplish this.<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; For Example:<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp; &lt;condition field="destination_number"<br>&gt; &gt; &gt; &gt; &gt; expression="^(1000123.*)$"<br>&gt; &gt; &gt; &gt; &gt; &gt; break="never"&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action<br>&gt; &gt; &gt; &gt; &gt; application="set" data="hangup_after_bridge=true"/&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;        &lt;action application="set"<br>&gt; &gt; &gt; &gt; &gt; &gt; data="continue_on_fail=RECOVER_ON_TIMER_EXPIRE"/&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action<br>&gt; &gt; &gt; &gt; &gt; application="bridge" data="sofia/gateway/carrier1/$1"/&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp; &lt;/condition&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp; &lt;condition field="destination_number"<br>&gt; &gt; &gt; &gt; &gt; expression="^(1000.*)$"<br>&gt; &gt; &gt; &gt; &gt; &gt; break="never"&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action<br>&gt; &gt; &gt; &gt; &gt; application="set"<br>&gt; &gt; &gt; &gt; &gt; &gt; data="hangup_after_bridge=RECOVER_ON_TIMER_EXPIRE"/&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action<br>&gt; &gt; &gt; &gt; &gt; application="bridge" data="sofia/gateway/carrier2/$1"/&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp; &lt;/condition&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp; &lt;condition field="destination_number"<br>&gt; &gt; &gt; &gt; &gt; expression="^(1.*)$"<br>&gt; &gt; &gt; &gt; &gt; &gt; break="never"&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action<br>&gt; &gt; &gt; &gt; &gt; application="set" data="hangup_after_bridge=true"/&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; &lt;action application="set"<br>&gt; &gt; &gt; &gt; &gt; &gt; data="continue_on_fail=RECOVER_ON_TIMER_EXPIRE"/&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="bridge"<br>&gt; &gt; &gt; &gt; &gt; data="sofia/gateway/carrier3/$1"/&gt;&gt;&nbsp;&nbsp; <br>&gt; &lt;/condition&gt;&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; So when 10001234567 is dialled i will match all 3. I'd<br>&gt; &gt; &gt; like to<br>&gt; &gt; &gt; &gt; &gt; be<br>&gt; &gt; &gt; &gt; &gt; &gt; able to try 1, if failed, try 2, if failed try 3. All<br>&gt; &gt; &gt; calls go<br>&gt; &gt; &gt; &gt; &gt; out<br>&gt; &gt; &gt; &gt; &gt; &gt; via an outbound proxy.<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; Using the above examples if the gateway does not <br>&gt; respond in<br>&gt; &gt; &gt; &gt; &gt; time,<br>&gt; &gt; &gt; &gt; &gt; &gt; the proxy generates a 408 REQUEST TIMEOUT error <br>&gt; message. It<br>&gt; &gt; &gt; &gt; &gt; will<br>&gt; &gt; &gt; &gt; &gt; &gt; then fail out and try the next route. However, when the<br>&gt; &gt; &gt; &gt; &gt; gateway<br>&gt; &gt; &gt; &gt; &gt; &gt; responds with a 180/183 but there is no answer after 2 <br>&gt; minutes&gt; &gt; &gt; &gt; the<br>&gt; &gt; &gt; &gt; &gt; &gt; proxy, will generate a 480 NO ANSWER (also tried a 408<br>&gt; &gt; &gt; &gt; &gt; REQUEST<br>&gt; &gt; &gt; &gt; &gt; &gt; TIMEOUT ). When Freeswitch receives this message it <br>&gt; fails, and<br>&gt; &gt; &gt; &gt; &gt; then<br>&gt; &gt; &gt; &gt; &gt; &gt; attempts the third failure route. How do i prevent the<br>&gt; &gt; &gt; &gt; &gt; dialplan from<br>&gt; &gt; &gt; &gt; &gt; &gt; continuing once it has received a 180/183 when no one <br>&gt; answers&gt; &gt; &gt; &gt; the<br>&gt; &gt; &gt; &gt; &gt; &gt; phone?<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; Thanks,<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; &gt; &gt; FreeSWITCH-users mailing list<br>&gt; &gt; &gt; &gt; &gt; &gt; FreeSWITCH-users@lists.freeswitch.org<br>&gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; <br>&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>&gt; &gt; &gt; &gt; &gt; &gt; http://www.freeswitch.org<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; FreeSWITCH-users mailing list<br>&gt; &gt; &gt; &gt; FreeSWITCH-users@lists.freeswitch.org<br>&gt; &gt; &gt; &gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; <br>&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>&gt; &gt; &gt; &gt; http://www.freeswitch.org<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; FreeSWITCH-users mailing list<br>&gt; &gt; FreeSWITCH-users@lists.freeswitch.org<br>&gt; &gt; http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>&gt; &gt; <br>&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>&gt; &gt; http://www.freeswitch.org<br>&gt; <br>&gt;