-----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-----
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
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
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Michael, for example this: /log console +OK log level console [0] freeswitch@85.16.246.6@internal> originate sofia/internal/2850@85.16.246.6 &park +OK 9d345a98-a64a-11df-82f4-09e441f35e18 freeswitch@85.16.246.6@internal> on 2850 I simply pressed cancel button to reject call with user_busy regards Helmut Am 12.08.2010 21:25, schrieb Michael Collins:
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:
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
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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32)
iD8DBQFMZFBz4tZeNddg3dwRAl/IAJ9ac73EfpXMkwdZdDy4tgUCM716FgCggrOB QtQdplpKD1nc+k8RBMF5ESQ= =yYFh -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, ok, solved it. I had a transfer in my dialplan when bridge fails. The transfer diaplan played media debening on answer code ... thx and sorry Helmut Am 12.08.2010 21:50, schrieb Helmut Kuper:
Hi Michael,
for example this:
/log console
+OK log level console [0] freeswitch@85.16.246.6@internal> originate sofia/internal/2850@85.16.246.6 &park +OK 9d345a98-a64a-11df-82f4-09e441f35e18
freeswitch@85.16.246.6@internal>
on 2850 I simply pressed cancel button to reject call with user_busy
regards Helmut
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFMZFjr4tZeNddg3dwRAnvfAKCq+dbjCM1/NtpM84NM8wtkTIYUlgCdHeJV s/nIiatwn70fVeOhTktgFGs= =lweV -----END PGP SIGNATURE-----
participants (3)
-
Helmut Kuper
-
Michael Collins
-
Steven Ayre