View previous topic :: View next topic |
Author |
Message |
scott.ellis at novatex... Guest
|
Posted: Tue Jan 20, 2009 12:15 pm Post subject: [Freeswitch-users] api_hangup_hook not actually executing th |
|
|
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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Jan 20, 2009 12:22 pm Post subject: [Freeswitch-users] api_hangup_hook not actually executing th |
|
|
Can you pastebin the entire call from start to finish? Also, pastebin
your dialplan extension.
-MC
On Tue, Jan 20, 2009 at 9:11 AM, Scott Ellis <scott.ellis@novatex.com.au> wrote:
Quote: | 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@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@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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Jan 20, 2009 12:26 pm Post subject: [Freeswitch-users] api_hangup_hook not actually executing th |
|
|
I have just tested this:
<extension name="api_hangup_hook_test">
<condition field="destination_number" expression="^877$">
<action application="answer"/>
<action application="set" data="api_hangup_hook=originate user/1008@bkw.org
9999"/>
<action application="playback" data="local_stream://moh"/>
</condition>
</extension>
When I hangup I see:
2009-01-20 11:22:41 [DEBUG] switch_core_state_machine.c:433
switch_core_session_run() Hangup Command originate(user/1008@bkw.org
9999):
Works.... So yes we need to see the full log.
/b
On Jan 20, 2009, at 11:20 AM, Michael Collins wrote:
Quote: | Can you pastebin the entire call from start to finish? Also, pastebin
your dialplan extension.
-MC
|
_______________________________________________
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 |
|
Back to top |
|
|
scott.ellis at novatex... Guest
|
Posted: Tue Jan 20, 2009 12:37 pm Post subject: [Freeswitch-users] api_hangup_hook not actually executing th |
|
|
coming
Brian West wrote: |
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Thu Jan 22, 2009 3:47 pm Post subject: [Freeswitch-users] api_hangup_hook not actually executing th |
|
|
Its global_setvar not set_global
Math
On Tue, Jan 20, 2009 at 12:11 PM, Scott Ellis <scott.ellis@novatex.com.au (scott.ellis@novatex.com.au)> wrote:
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
scott.ellis at novatex... Guest
|
Posted: Fri Jan 23, 2009 9:05 pm Post subject: [Freeswitch-users] api_hangup_hook not actually executing th |
|
|
Thank you.
Scott
Brian West wrote: |
|
Back to top |
|
|
|