The api_reporting_hook is called on the same state where the CDRs are available so you are 100% sure that you have all vars that go to CDR available.
That won't work if the channel no longer exists (it accesses the channel's object and gets the variable stored there).
You can either use a hangup hook as someone else suggested (runs after hangup but before the session is destroyed so the channels are still available) or look at my event patch which raises an event containing a header with that variable's value.
-SteveOn 21 January 2011 16:38, rex.alex <rajesh.npnr@yahoo.com> wrote:
Hello Steve,
I am also working around the fax module and I would like to get the fax delivery status through "uuid_getvar uuid fax_success" api function, so I have installed this patch. But it is still not fetching the required status.
Please assist.
Regards,
Rex
View this message in context: Re: Send email on successful fax sending.
Sent from the freeswitch-users mailing list archive at Nabble.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
_______________________________________________
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