During the call or when the call is done? During the call I believe you can just check the endpoint_disposition var. After the call you can use an api_hangup_hook and have access to the entire suite of channel variables.
Hello,Is there any way to get if an originate-bridge has been answered and duration doing the originate-bridge from an already answered channel? Could be considered hangup cause NORMAL_CLEARING=ANSWER?Regards
_________________________________________________________________________
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-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org