Hi there,<br>I am trying to accomplish a pretty simple thing in FS dialplan - ring one or multiple destinations with individual timeout per destination, if nobody answers - forward to a voicemail.<br>Here is dial plan I use:<br>
<br><extension name="call_route_1688506814_16099860919" continue="false"><condition field="caller_id_number" expression="^(\d{7,20})$"/><br><condition field="destination_number" expression="^(call_route_16099860919)$"><br>
<action application="set" data="hangup_after_bridge=true"/><br><action application="set" data="continue_on_fail=false"/><br><action application="set" data="ignore_early_media=true"/><br>
<action application="sched_hangup" data="+7200 alloted_timeout"/><br><action application="set" data="transfer_ringback=${us-ring}"/><br><action application="set" data="ringback=${us-ring}"/><br>
<action application="bridge" data="[leg_timeout=20]sofia/internal/1002%${domain_name},[leg_timeout=25]sofia/internal/1003%${domain_name}"/><br><action application="sleep" data="500"/><action application="set" data="voicemail_greeting_number=1"/><action application="voicemail" data="default $${domain} 1002"/></condition></extension><br>
<br>What happens is incoming call from my provider rings ext 1002, but instead of going to the VM after 20 sec and no answer FS sends 602 (alloted_timeout) and the ring repeats again and so 3 times, after which call dies. But never goes to voice mail.<br>
What I am doing wrong?<br>