Hi Nicolas,

do you have a copy of the .js code you can paste. I would guess tho, that ORIGINATOR_CANCLE might be related to not setting hangup_after_bridge to false. Just a guess tho.

Hangup causes can be found here:
http://wiki.freeswitch.org/wiki/Hangup_causes

--matt
hello hunter - hosted predictive dialer & voice broadcasting
http://www.hellohunter.com


On Thu, Aug 6, 2009 at 9:38 AM, Nicolas Brenner <nicolas@medularis.com> wrote:
I'm bridging 2 calls in a javascript file, I originate the first call and then execute a bridge with an origination string for the second call. If I hangup the first call while trying to make the second call, I get this on the console:

2009-08-05 16:44:05.69122 [NOTICE] switch_ivr_originate.c:1994 Hangup sofia/external/005622170039 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
2009-08-05 16:44:05.69122 [DEBUG] switch_channel.c:1683 Send signal sofia/external/005622170039 [KILL]
2009-08-05 16:44:05.69122 [DEBUG] switch_core_session.c:932 Send signal sofia/external/005622170039 [BREAK]
2009-08-05 16:44:05.69122 [DEBUG] switch_ivr_originate.c:2134 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
2009-08-05 16:44:05.69122 [INFO] mod_dptools.c:2092 Originate Failed.  Cause: ORIGINATOR_CANCEL

But if I check hangup_cause in the CHANNEL_HANGUP_COMPLETE event, I see NORMAL_CLEARING. And the variable_originate_disposition has a value of "failure". Where can I get the detail of the call/bridge failure due to 'ORIGINATOR_CANCEL' as reported through the console?

Thanks!

Nicolas



_______________________________________________
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