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