[Freeswitch-users] Question about originate
Steven Ayre
steveayre at gmail.com
Thu Aug 12 12:46:43 PDT 2010
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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100812/a9ef3b5e/attachment.html
More information about the FreeSWITCH-users
mailing list