<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">OK, I did it this way, too, after you gave me that idea. I will not catch the release cause, but at least now I get the hangup time.<div>Thanks!<br><div><br></div><div>Ivan</div><div><br><div><div>Den 22. juni. 2008 kl. 15:55 skrev Greg White:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="font-family: Corbel; font-size: 11pt; font-weight: 400; font-style: normal; "><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; ">Good point. I'm using outbound sockets - so the UUID is implied. Seems to work well. I see the socket for the terminated call close; the others stay open.<br><br></div><hr width="96%"><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; "><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: rgb(0, 87, 174); ">Ivan C Myrvold</span></a><br><span style="font-weight: 600; ">To: </span><a href="mailto:freeswitch-users@lists.freeswitch.org"><span style="color: rgb(0, 87, 174); ">freeswitch-users@lists.freeswitch.org</span></a><br><span style="font-weight: 600; ">CC: </span><a href="mailto:gwhite@bustedflush.org"><span style="color: rgb(0, 87, 174); ">Greg White</span></a><br><span style="font-weight: 600; ">Sent: </span>06/22/2008 09:39 AM<br><span style="font-weight: 600; ">Received: </span>06/22/2008 09:39 AM<br><span style="font-weight: 600; ">Subject: </span>Re: [Freeswitch-users] Outbound socket</div><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; "><br></div><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; "><br><br></div><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; ">That doesn't help if you have several calls going, and one of the hangs up. You don't know which of them hang up, if you doesn't see the hangup message with the uuid in it.</div><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; "><br></div><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; ">Ivan</div><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; "><br></div><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; ">Den 22. juni. 2008 kl. 15:03 skrev Greg White:<br></div><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; ">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></div><hr width="96%"><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; "><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="text-decoration: underline; color: rgb(0, 87, 174); ">Ivan C Myrvold</span></a><br><span style="font-weight: 600; ">To: </span><a href="mailto:freeswitch-users@lists.freeswitch.org"><span style="text-decoration: underline; color: rgb(0, 87, 174); ">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</div><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; "><br></div><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; "><br><br></div><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:
> What are you doing in your script over the socket? You're directing
> them elsewhere?
>
> /b
>
> On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote:
>
>> In my dialplan, I have set the following to send incoming calls to an
>> application I am working on:
>>
>>
>>
>> This is working very nice, and I am receiving events for all incoming
>> calls, and I am redirecting the calls in my application to some of
>> the
>> registered phones I have.
>>
>> But when I am terminating the calls, I do not getting the hangup
>> events, which I would like to have so I can see when the calls were
>> hung up.
>> This is the last message I get:
>>
>> <a href="http://pastebin.freeswitch.org/4671"><span style="text-decoration: underline; color: rgb(0, 87, 174); "></span></a><a href="http://pastebin.freeswitch.org/4671">http://pastebin.freeswitch.org/4671</a>
<span style="color: rgb(0, 0, 0); ">>></span>
>> Do I have to set up an inbound socket to the FreeSwitch server, just
>> to catch those messages too?
>>
>> Ivan
>>
>> _______________________________________________
>> Freeswitch-users mailing list
>> <a href="mailto:Freeswitch-users@lists.freeswitch.org"><span style="text-decoration: underline; color: rgb(0, 87, 174); ">Freeswitch-users@lists.freeswitch.org</span></a>
<span style="color: rgb(0, 0, 0); ">>> </span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"></a><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
<span style="color: rgb(0, 0, 0); ">>> UNSUBSCRIBE:</span><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"></a><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<span style="color: rgb(0, 0, 0); ">>> </span><a href="http://www.freeswitch.org"></a><a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<span style="color: rgb(0, 0, 0); ">></span>
>
> _______________________________________________
> Freeswitch-users mailing list
> <a href="mailto:Freeswitch-users@lists.freeswitch.org"><span style="text-decoration: underline; color: rgb(0, 87, 174); ">Freeswitch-users@lists.freeswitch.org</span></a>
<span style="color: rgb(0, 0, 0); ">> </span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"></a><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
<span style="color: rgb(0, 0, 0); ">> UNSUBSCRIBE:</span><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"></a><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<span style="color: rgb(0, 0, 0); ">> </span><a href="http://www.freeswitch.org"></a><a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<span style="color: rgb(0, 0, 0); ">></span>
_______________________________________________
Freeswitch-users mailing list
<a href="mailto:Freeswitch-users@lists.freeswitch.org"><span style="text-decoration: underline; color: rgb(0, 87, 174); ">Freeswitch-users@lists.freeswitch.org</span></a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"></a><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
<span style="color: rgb(0, 0, 0); ">UNSUBSCRIBE:</span><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users"></a><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org"></a><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; "><br></div></div></span><br class="Apple-interchange-newline"></blockquote></div><br></div></div></body></html>