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. Regards, João Mesquita On Fri, Jan 21, 2011 at 1:44 PM, Steven Ayre <steveayre@gmail.com> wrote:
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.
-Steve
On 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.<http://freeswitch-users.2379917.n2.nabble.com/Send-email-on-successful-fax-sending-tp5881415p5948386.html> Sent from the freeswitch-users mailing list archive<http://freeswitch-users.2379917.n2.nabble.com/>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