I want to achieve the following:
When a call comes in, it should ring 30 seconds on extension 1000.
If there's no answer the call should go to my mobile.


...............
<action application="set" data="continue_on_fail=true"/>
<action application="bridge" data="{originate_timeout=30}sofia/internal/1000%$${domain}"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="sofia/gateway/powervoip/003163086xxxx"/>
<action application="voicemail" data="default $${domain} 1000"/>
.............


However,  when I answer the incoming call at 1000 and hangup, the call will still  go to my mobile, in stead of hanging up.
What am I doing wrong?

Rgds.
Henk