Hi,<div><div>I have a question about originate in api_hangup_hook.</div><div>I'm looking for call back the calling number after hang up, I made a test in dialplan but if I make a call with a mobile phone the originate is so fast that often goes to voicemail.</div>
<div>Is there a way to call back after some seconds?</div></div><div><br></div><div>My dialplan for this test is:</div><div><br></div><div><div><context name="cb_test"></div><div> <extension name="cb_test"></div>
<div> <condition></div><div> <action application="pre_answer"/></div><div> <action application="set" data="api_hangup_hook=originate sofia/external/${caller_id_number}@x.x.x.x CB000000"/></div>
<div> <action application="sleep" data="5000"/></div><div> <action application="hangup"/></div><div> </condition></div><div> </extension></div><div>
</context></div></div><div><br></div>