<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><style type="text/css">
p, li { white-space: pre-wrap; }
</style><title></title><style type="text/css">
p { white-space: pre-wrap; margin-top: 0px;  margin-bottom: 0px;}

</style></head><body style=" font-family:'Corbel'; font-size:11pt; font-weight:400; font-style:normal;">
<p>I'm doing something similar and I don't see the HANGUP either.  What I do see is that the control socket is closed when the hangup occurs, so I use that as a proxy for HANGUP.  Not ideal but it works for me.<br><br></p>
<hr width="96%"/>
<p><a name="mailpage"></a><span style=" font-weight:600;">F</span><span style=" font-weight:600;">rom: </span><a href="mailto:ivan@myrvold.org"><span style=" color:#0057ae;">Ivan C Myrvold</span></a><br><span style=" font-weight:600;">To: </span><a href="mailto:freeswitch-users@lists.freeswitch.org"><span style=" color:#0057ae;">freeswitch-users@lists.freeswitch.org</span></a><br><span style=" font-weight:600;">Sent: </span>06/22/2008 08:59 AM<br><span style=" font-weight:600;">Received: </span>06/22/2008 09:00 AM<br><span style=" font-weight:600;">Subject: </span>Re: [Freeswitch-users] Outbound socket</p>
<p><br></p>
<p><br><br></p>
<pre style="font-family:'Deja Vu Sans Mono;Courier New,courier'; font-style: normal;">SendMsg
call-command: execute
execute-app-arg: sofia/192.168.207.203/116%192.168.207.203
execute-app-name: bridge

Ivan

Den 22. juni. 2008 kl. 14:40 skrev Brian West:

&gt; What are you doing in your script over the socket?  You're directing
&gt; them elsewhere?
&gt;
&gt; /b
&gt;
&gt; On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote:
&gt;
&gt;&gt; In my dialplan, I have set the following to send incoming calls to an
&gt;&gt; application I am working on:
&gt;&gt;
&gt;&gt; 
&gt;&gt;
&gt;&gt; This is working very nice, and I am receiving events for all incoming
&gt;&gt; calls, and I am redirecting the calls in my application to some of  
&gt;&gt; the
&gt;&gt; registered phones I have.
&gt;&gt;
&gt;&gt; But when I am terminating the calls, I do not getting the hangup
&gt;&gt; events, which I would like to have so I can see when the calls were
&gt;&gt; hung up.
&gt;&gt; This is the last message I get:
&gt;&gt;
&gt;&gt; <a href='http://pastebin.freeswitch.org/4671'>http://pastebin.freeswitch.org/4671</a>
&gt;&gt;
&gt;&gt; Do I have to set up an inbound socket to the FreeSwitch server, just
&gt;&gt; to catch those messages too?
&gt;&gt;
&gt;&gt; Ivan
&gt;&gt;
&gt;&gt; _______________________________________________
&gt;&gt; Freeswitch-users mailing list
&gt;&gt; Freeswitch-users@lists.freeswitch.org
&gt;&gt; <a href='http://lists.freeswitch.org/mailman/listinfo/freeswitch-users'>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
&gt;&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
&gt;&gt; <a href='http://www.freeswitch.org'>http://www.freeswitch.org</a>
&gt;
&gt;
&gt; _______________________________________________
&gt; Freeswitch-users mailing list
&gt; Freeswitch-users@lists.freeswitch.org
&gt; <a href='http://lists.freeswitch.org/mailman/listinfo/freeswitch-users'>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
&gt; UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
&gt; <a href='http://www.freeswitch.org'>http://www.freeswitch.org</a>
&gt;


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
<a href='http://lists.freeswitch.org/mailman/listinfo/freeswitch-users'>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
<a href='http://www.freeswitch.org'>http://www.freeswitch.org</a></pre></body></html>