[Freeswitch-users] why it hangs up after originate

Michael Jerris mike at jerris.com
Thu May 23 17:00:56 MSD 2013


On May 22, 2013, at 10:12 PM, Vincent Xia <gmangudai at gmail.com> wrote:

> when im executing console commands like "originate user/1005 @eavesdrop(uuid)" to have 1005 listen to a call party, 1005 rings then i click answer and find out it hangs up immediately, the freeswitch log says "[NOTICE] switch_core_state_machine.c:262 sofia/internal/sip:1005 at IPaddr:5088 has executed the last dialplan instruction, hanging up." 
> 
> does that mean i need to add something the to the dialplan? is there a simple solution by extending the originate command like "originate user/1005 @eavesdrop(uuid) &wait_for_hangup"?

http://wiki.freeswitch.org/wiki/Mod_commands#originate

"&<application_name>"
you need & not @

Mike


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130523/15a056a8/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list