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. Check your traces. On Mon, Dec 5, 2011 at 6:35 AM, murthy <murthysoft@gmail.com> wrote:
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900