I am not sure what you are sending over the socket but you have a queued hangup being processed on line 640 of your pastebin
are you executing any commands with a ! character in it by any chance or executing the hangup app on purpose?



On Wed, Dec 2, 2009 at 2:16 PM, Kristian Kielhofner <kristian.kielhofner@gmail.com> wrote:
Tony,

 Thanks for that but now it appears that the call just gets hung up
on when the caller takes the callee off hold.  Debug here:

http://pastebin.freeswitch.org/11359

 Thanks again!

On Wed, Dec 2, 2009 at 1:13 PM, Anthony Minessale
> I decided to just change the code so its more elegant to handle recursive
> broadcasting so you can try again and see if that helps.
>
>

--



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400