I have a Problem with continue_on_fail. I have setup a hunt group <action application="set" data="continue_on_fail=NO_ANSWER,USER_BUSY"/> <action application="bridge" data="sofia/external/219@10.11.12.243,sofia/external/223@10.11.12.234,sofia/external/236@10.11.12.188,sofia/external/101@10.11.12.245"/> <action application="bridge" data= (dialstring for fallback user ) I want the fallback user to be called whenever none of the previously called 3 gateway numbers picks up or if they are all busy. Therefore continue_on_fail=NO_ANSWER,USER_BUSY The fallback user is called, however if any of the previously called gateways picks up and then hangs up, the fallback user is called afterwards. Means: The fallback user is always called. I had expected, that continue_on_fail=NO_ANSWER,USER_BUSY would not fire the next bridge if it gets a NORMAL_CLEARING. Am I thinking wrongly about this? I have added <action application="set" data="hangup_after_bridge=true"/> and this works, but I would like to specify more in detail the conditions when to follow the next hunt group entry. Best regards Peter
You definitely need to use the settings in combination for what you are trying to do. Can you explain a bit more what you want to do in what conditions and maybe we can suggest how to accomplish this. NORMAL_CLEARING is not a failure, so it can continue on after the bridge unless you specify otherwise. Mike On Dec 7, 2009, at 1:31 PM, Peter P GMX wrote:
I have a Problem with continue_on_fail.
I have setup a hunt group <action application="set" data="continue_on_fail=NO_ANSWER,USER_BUSY"/> <action application="bridge" data="sofia/external/219@10.11.12.243,sofia/external/223@10.11.12.234,sofia/external/236@10.11.12.188,sofia/external/101@10.11.12.245"/> <action application="bridge" data= (dialstring for fallback user )
I want the fallback user to be called whenever none of the previously called 3 gateway numbers picks up or if they are all busy. Therefore continue_on_fail=NO_ANSWER,USER_BUSY
The fallback user is called, however if any of the previously called gateways picks up and then hangs up, the fallback user is called afterwards. Means: The fallback user is always called.
I had expected, that continue_on_fail=NO_ANSWER,USER_BUSY would not fire the next bridge if it gets a NORMAL_CLEARING.
Am I thinking wrongly about this?
I have added <action application="set" data="hangup_after_bridge=true"/> and this works, but I would like to specify more in detail the conditions when to follow the next hunt group entry.
set hangup_after_bridge=true Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 7-Dec-09, at 1:31 PM, Peter P GMX wrote:
I have a Problem with continue_on_fail.
I have setup a hunt group <action application="set" data="continue_on_fail=NO_ANSWER,USER_BUSY"/> <action application="bridge" data="sofia/external/219@10.11.12.243,sofia/external/ 223@10.11.12.234,sofia/external/236@10.11.12.188,sofia/external/101@10.11.12.245 "/> <action application="bridge" data= (dialstring for fallback user )
I want the fallback user to be called whenever none of the previously called 3 gateway numbers picks up or if they are all busy. Therefore continue_on_fail=NO_ANSWER,USER_BUSY
The fallback user is called, however if any of the previously called gateways picks up and then hangs up, the fallback user is called afterwards. Means: The fallback user is always called.
I had expected, that continue_on_fail=NO_ANSWER,USER_BUSY would not fire the next bridge if it gets a NORMAL_CLEARING.
Am I thinking wrongly about this?
I have added <action application="set" data="hangup_after_bridge=true"/> and this works, but I would like to specify more in detail the conditions when to follow the next hunt group entry.
Best regards Peter
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
this action can be accomplished using Group Dialing (Sequential). this may not answer your problem but have you considered it? -nandy On Tue, Dec 8, 2009 at 2:31 AM, Peter P GMX <Prometheus001@gmx.net> wrote:
I have a Problem with continue_on_fail.
I have setup a hunt group <action application="set" data="continue_on_fail=NO_ANSWER,USER_BUSY"/> <action application="bridge" data="sofia/external/219@10.11.12.243,sofia/external/223@10.11.12.234 ,sofia/external/236@10.11.12.188,sofia/external/101@10.11.12.245"/> <action application="bridge" data= (dialstring for fallback user )
I want the fallback user to be called whenever none of the previously called 3 gateway numbers picks up or if they are all busy. Therefore continue_on_fail=NO_ANSWER,USER_BUSY
The fallback user is called, however if any of the previously called gateways picks up and then hangs up, the fallback user is called afterwards. Means: The fallback user is always called.
I had expected, that continue_on_fail=NO_ANSWER,USER_BUSY would not fire the next bridge if it gets a NORMAL_CLEARING.
Am I thinking wrongly about this?
I have added <action application="set" data="hangup_after_bridge=true"/> and this works, but I would like to specify more in detail the conditions when to follow the next hunt group entry.
Best regards Peter
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hello Nandy, thanks for your hint, but it's a bit more than that. In our application which is handled via XML-Curl, the user can define it's forwards on a web interface. He can enter mixed local or external numbers which are called sequentially or in parallel. Best regards Peter Nandy Dagondon schrieb:
this action can be accomplished using Group Dialing (Sequential). this may not answer your problem but have you considered it? -nandy
On Tue, Dec 8, 2009 at 2:31 AM, Peter P GMX <Prometheus001@gmx.net <mailto:Prometheus001@gmx.net>> wrote:
I have a Problem with continue_on_fail.
I have setup a hunt group <action application="set" data="continue_on_fail=NO_ANSWER,USER_BUSY"/> <action application="bridge" data="sofia/external/219@10.11.12.243 <mailto:219@10.11.12.243>,sofia/external/223@10.11.12.234 <mailto:223@10.11.12.234>,sofia/external/236@10.11.12.188 <mailto:236@10.11.12.188>,sofia/external/101@10.11.12.245 <mailto:101@10.11.12.245>"/> <action application="bridge" data= (dialstring for fallback user )
I want the fallback user to be called whenever none of the previously called 3 gateway numbers picks up or if they are all busy. Therefore continue_on_fail=NO_ANSWER,USER_BUSY
The fallback user is called, however if any of the previously called gateways picks up and then hangs up, the fallback user is called afterwards. Means: The fallback user is always called.
I had expected, that continue_on_fail=NO_ANSWER,USER_BUSY would not fire the next bridge if it gets a NORMAL_CLEARING.
Am I thinking wrongly about this?
I have added <action application="set" data="hangup_after_bridge=true"/> and this works, but I would like to specify more in detail the conditions when to follow the next hunt group entry.
Best regards Peter
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------------------------------------------------
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Mathieu Rene
-
Michael Jerris
-
Nandy Dagondon
-
Peter P GMX