<div dir="ltr">Hi, I'm looking to implement a callback functionality.<div>I get an incoming invite which has the user who is making the call and his destination.</div><div>I'm supposed to 486 that and then after 2 second call them back, and connect the call.</div>
<div><br></div><div>Should I do a hangup hook to a lua script which sleeps 2 seconds and does an originate?</div><div>or zombie exec?</div><div>And if I do the originate within the lua script, won't that leave the lua script running for the whole calls?</div>
<div><br></div><div>What's the best way.. or even just a good way to do this - I don't expect more than 10 simultaneous calls as of now on this particular method.</div><div><br></div><div>Thanks,</div><div><div dir="ltr">
<span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>
</div></div>