[Freeswitch-users] Which event contains ORIGINATOR_CANCEL?

Nicolas Brenner nicolas at medularis.com
Thu Aug 6 09:38:34 PDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090806/e64a1b1f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list