For instance CHANNEL_HANGUP will contain the hangup cause.

-Steve

On 12 August 2010 20:46, Steven Ayre <steveayre@gmail.com> wrote:
Subscribe to events
http://wiki.freeswitch.org/wiki/Mod_event_socket#event
http://wiki.freeswitch.org/wiki/Event_list

You'll then see an event for ringing, answer, hangup, failed etc.

Those events will give you the information you need

-Steve


On 12 August 2010 20:25, Michael Collins <msc@freeswitch.org> wrote:
What is your originate command? Are you ignoring early media? Just curious.
-MC


On Thu, Aug 12, 2010 at 12:07 PM, Helmut Kuper <helmut.kuper@ewetel.de> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello there,

I try to originate a new call in "event socket outbound" mode in an
external application. I would like to get originate's result code, but I
only got

"+OK uuid" on answer, dnd, user busy, cancel ...

or

"NO_ANSWER" on timeout


rather then "+OK uuid" for answer and "-ERR Reason" for everything else.

So how can I get the result code of the originate process? In FS console
I can see the wanted result codes from target (e.g. "mod_dptools.c:2355
Originate Failed.  Cause: USER_BUSY").


best regards
Helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFMZEaB4tZeNddg3dwRAiLXAJ9wS0pEIe3pagDADOXcx/tNlkBr+QCdEL/S
P0OhzYqbWJ54At6ENrcD1q0=
=XeB+
-----END PGP SIGNATURE-----

_______________________________________________
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