[asterisk-users] Re: Associate manager events to a previous
Originate action
Tony Mountifield
tony at softins.clara.co.uk
Sat Jul 22 09:40:03 MST 2006
In article <44C24798.7050908 at dynx.net>,
Richard Lyman <pchammer at dynx.net> wrote:
> iirc, current svn/trunk only has OriginateFailure. (OriginateSuccess
> output was removed)
Really??? If so, that would be a very retrograde step.
Fortunately, a look at the latest version of manager.c in trunk at
http://svn.digium.com/view/asterisk/trunk/manager.c?rev=38042&view=markup
is reassuring, in the function fast_originate():
/* Tell the manager what happened with the channel */
manager_event(EVENT_FLAG_CALL,
res ? "OriginateFailure" : "OriginateSuccess",
Comparing with 1.2, I see there were originally two calls to manager_event(),
one for OriginateFailure and another for OriginateSuccess.
They have now been combined into one, with a conditional event name,
which may have given rise to the mistaken impression if just skimming
the diffs cursorily.
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-users
mailing list