<div dir="rtl"><div dir="ltr">Hello,</div>
<div dir="ltr"> </div>
<div dir="ltr">  We would like to handle an incoming call to a busy phone according to user&#39;s prefference:  Some want waiting call, some want to just reject the call, and others want to send the call to voicemail.</div>

<div dir="ltr"> </div>
<div dir="ltr">  We have a small JavaScript which tests the status of the destination and the user&#39;s will and tries to act accordingly. Our problem is how to send busy. I tried session.hangup(&quot;USER_BUSY&quot;) but it always sends &quot;temporary unavailable&quot; which causes the orignator to think that the destination is out of order.</div>

<div dir="ltr"> </div>
<div dir="ltr">What is the correct way to do so?</div>
<div dir="ltr"> </div>
<div dir="ltr">                       Thanks! __Yehavi:</div></div>