[Freeswitch-users] api_hangup_hook not actually executing the command

Mathieu Rene mrene_lists at avgs.ca
Thu Jan 22 12:07:43 PST 2009


Its global_setvar not set_global

Math

On Tue, Jan 20, 2009 at 12:11 PM, Scott Ellis <scott.ellis at novatex.com.au>wrote:

> The on answer is fine, the api_hangup_hook gets to the point where it
> wants to execute, but then nothing happens. Any thoughts?
>
>
> 2009-01-21 03:08:00 [DEBUG] switch_channel.c:1773
> switch_channel_perform_mark_answered() sofia/internal/Line_9 at 10.0.0.9
> execute on answer: set_global(10.0.0.19_INCALL=true)2009-01-21 03:08:00
> [DEBUG] mod_dptools.c:726 set_global_function() SET GLOBAL
> [10.0.0.19_INCALL]=[true]
>
> 2009-01-21 03:08:09 [DEBUG] switch_core_state_machine.c:416
> switch_core_session_run() Hangup Command
> set_global(10.0.0.19_INCALL=false):
>
> It does not execute - the global variable is not set...quite odd.
>
> Scott
>
>
> _______________________________________________
> 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/20090122/5a292f31/attachment-0002.html 


More information about the FreeSWITCH-users mailing list