[Freeswitch-users] api_hangup_hook not actually executing the command

Brian West brian at freeswitch.org
Tue Jan 20 09:24:28 PST 2009


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 at 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 at 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:

> Can you pastebin the entire call from start to finish? Also, pastebin
> your dialplan extension.
> -MC





More information about the FreeSWITCH-users mailing list