nicolas at medularis.com
Wed Aug 5 16:41:47 PDT 2009
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
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
2009-08-05 16:44:05.69122 [DEBUG] switch_core_session.c:932 Send signal
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.
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 knowing the call/bridge failed
because of 'ORIGINATOR_CANCEL' as reported through the console?
the value of variable_originate_disposition at the events level and when I
have an origination failure due to 'ORIGINATOR_CANCEL
On Wed, Aug 5, 2009 at 6:16 PM, Michael Collins <msc at freeswitch.org> wrote:
> On Wed, Aug 5, 2009 at 3:54 PM, Raffaele P. Guidi <
> raffaele.p.guidi at gmail.com> wrote:
>> interesting! what values can contain "variable_originate_disposition"? And
>> can I set them manually in a script to reject a call simulating user busy or
>> call rejected? A lua example?
> Start here:
> And note the link to the hangup causes. As far as Lua, I'm not sure there's
> a good reason to do it there. Could you give us pseudo code example of what
> you're thinking of doing?
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users