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