<div dir="ltr">Hi,<div><br></div><div>I am originating calls to mobile number from ESL APIs and want to capture the events of switch-off, busy phone, call rejection etc<br><div><br></div><div>Corresponding Hangup causes in Freeswitch are -NO_USER_RESPONSE, USER_BUSY, CALL_REJECTED</div><div><br></div><div>My diaplan is :</div></div><div><br></div><div><div>&lt;extension name=&quot;ivr_demo&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^4441$&quot;&gt;</div><div><span class="" style="white-space:pre">                </span>&lt;action application=&quot;playback&quot; data=&quot;/usr/local/freeswitch/recordings/${folder}/trailer/trailer.wav&quot;/&gt;</div><div><span class="" style="white-space:pre">                </span></div><div><span class="" style="white-space:pre">        </span>&lt;/condition&gt;</div><div>&lt;/extension&gt;</div></div><div><br></div><div>command is originate {folder=abc}sofia/gateway/MySIP/91XXXXXXXXXX 4441</div><div><br></div><div>The target phone recieves only around six rings and if phone is not answered, call automatically hangups by reporting hangup cause as NORMAL_CLEARING</div><div><br></div><div><br></div><div>whereas I originate a conference call :</div><div><br></div><div>originate {folder=abc}sofia/gateway/MySIP/91XXXXXXXXXX &amp;conference(abc)<br></div><div><br></div><div>the phone get around 12 rings and if call not anwered, hangup cause is reported as NO_USER_RESPONSE</div><div><br></div><div>Is something wrong with the dialplan?</div><div><br></div><div>Regards,</div><div>Deepika</div><div><br></div><div><br></div><div><br></div><div><br></div></div>