Assuming you are on an up to date FS, If the call is being rejected and the message is actually going to FS then it would work.
When I originate a call from a module in FS using switch_ivr_originate(), if the callee rejects the call in the middle of the ringing, FS is not detecting the hangup cause and it is not getting the response immediatly. After some time (may be 60 seconds default value or the value of originate_timeout seconds) only it is getting NO_ANSWER (hangup cause) and comming out from the originate function. I have tried two ways to capture the result. One is event socket and other is using switch_ivr_originate function. Both are taking same time. How can I get the response/hangup cause immediatly when the calee rejects the call.
Regards,
Murthy.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org