<html>
<head>
<meta name="generator" content="Windows Mail 17.5.9600.20605">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, 
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, 
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Arial', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic';font-size:12pt;">

<div>Thanks for your clear answer.</div><div>But I find thinks a bit different. we do collect the FS events during ESL mod event_socket, and find that the Unique-ID changes by channel.</div><div>What I try to do is, we have a FS server, each call comes in via the server, there were made some logic like answer, greeting etc. and also saving the call in DB. from there it goes to a client extension to get the call, speak, hang up etc. when it comes to the client I need to know which call it is in the server and in the DB. </div><div>The only&nbsp;variable the client gets from the server is&nbsp;sip_call_id, and now after your explanation I understand why, since this is outbound.</div><div>My problem is that this variable also changes when bridging, it begins with one value then when bridging it changes to another value. the client gets the second value after bridging, and I cannot find this&nbsp;new value&nbsp;in early events like 'CHANNEL_CREATE' or 'CHANNEL_ORIGINATE', it &nbsp;only appears in later events like 'CHANNEL_PROGRESS'&nbsp;when the client already ringing, and this is a bit late.</div><div>In short, I need a unique variable to can recognize the incoming call to the client with the incoming call to the server.</div><div><br></div><div data-signatureblock="true"><div>Israel Fink - Developer<br>Machshevet team</div><div><br></div></div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><div><font face=" 'Calibri', 'Arial', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic'" style='line-height: 15pt; letter-spacing: 0.02em; font-family: "Calibri", "Arial", "Segoe UI", "Meiryo", "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic"; font-size: 12pt;'><b>From:</b>&nbsp;<a href="mailto:brian@freeswitch.org" target="_parent">Brian West</a><br><b>Sent:</b>&nbsp;‎Friday‎, ‎November‎ ‎7‎, ‎2014 ‎12‎:‎23‎ ‎AM<br><b>To:</b>&nbsp;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_parent">freeswitch-users@lists.freeswitch.org</a></font></div></div><div><br></div><div dir=""><div dir="ltr">1. Unique-ID is the session UUID, this won't change at all during the session (aka call).<div><br></div><div>2. Channel-Call-UUID is either the same as Unique-ID or the Unique-ID of the session you're bridged to by looking at the source code.</div><div><br></div><div>3. sip_call_id will be the sip call_id of an inbound/outbound SIP call, More than likely the outbound would match Unique-ID and on inbound it would be what ever the remote party sets/sends.</div><div><br></div><div>The bigger question is what exactly are you trying to solve/understand?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 6, 2014 at 7:52 AM, Israel Fink <span dir="ltr">&lt;<a href="mailto:ifink@machshevet.com" target="_parent">ifink@machshevet.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">




<div dir="ltr">
<div style='font-family: "Calibri","Arial","Segoe UI","Meiryo","Microsoft YaHei UI","Microsoft JhengHei UI","Malgun Gothic"; font-size: 12pt;' dir="ltr">
<div><p style='background: rgb(255, 255, 255); font: 14px/17.8px Arial, "Liberation Sans", "DejaVu Sans", sans-serif; margin: 0px 0px 1em; padding: 0px; border: 0px black; border-image: none; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; clear: both; word-spacing: 0px; vertical-align: baseline; white-space: normal; font-size-adjust: none; font-stretch: normal;'>I'm a bit confusing about the channel variables that represent the call ID.</p><p style='background: rgb(255, 255, 255); font: 14px/17.8px Arial, "Liberation Sans", "DejaVu Sans", sans-serif; margin: 0px 0px 1em; padding: 0px; border: 0px black; border-image: none; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; clear: both; word-spacing: 0px; vertical-align: baseline; white-space: normal; font-size-adjust: none; font-stretch: normal;'>I find that there are three variables, 1) Unique-ID 2) Channel-Call-UUID 3) variable_sip_call_id, what is the different between this.</p><p style='background: rgb(255, 255, 255); font: 14px/17.8px Arial, "Liberation Sans", "DejaVu Sans", sans-serif; margin: 0px 0px 1em; padding: 0px; border: 0px black; border-image: none; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; clear: both; word-spacing: 0px; vertical-align: baseline; white-space: normal; font-size-adjust: none; font-stretch: normal;'>The value of Channel-Call-UUID seems to be stable during the entire call, the value of Unique-ID in the begin it is the same as Channel-Call-UUID but when bridging it changes it value to another ID, then it comes back to the beginning value, i.m not clear when and why.</p><p style='background: rgb(255, 255, 255); font: 14px/17.8px Arial, "Liberation Sans", "DejaVu Sans", sans-serif; margin: 0px 0px 1em; padding: 0px; border: 0px black; border-image: none; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; clear: both; word-spacing: 0px; vertical-align: baseline; white-space: normal; font-size-adjust: none; font-stretch: normal;'>The variable variable_sip_call_id many time don't have any value, and also it changes the value when bridging and then comes back to the previous value.</p><p style='background: rgb(255, 255, 255); font: 14px/17.8px Arial, "Liberation Sans", "DejaVu Sans", sans-serif; margin: 0px 0px 1em; padding: 0px; border: 0px black; border-image: none; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; clear: both; word-spacing: 0px; vertical-align: baseline; white-space: normal; font-size-adjust: none; font-stretch: normal;'>I have looked for an explanation in FreeSWITCH wiki, but don't find.</p><p style='background: rgb(255, 255, 255); font: 14px/17.8px Arial, "Liberation Sans", "DejaVu Sans", sans-serif; margin: 0px 0px 1em; padding: 0px; border: 0px black; border-image: none; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; clear: both; word-spacing: 0px; vertical-align: baseline; white-space: normal; font-size-adjust: none; font-stretch: normal;'>In the mailing list a have found an explanation here: <a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2013-August/099035.html%2c" target="_parent">http://lists.freeswitch.org/pipermail/freeswitch-users/2013-August/099035.html,</a> but still not enough.<br>Can someone give a good explanation about this variables,what is their purpose, and so on.</p><br></div><div><div><br></div><div>Israel Fink - Developer<br>Machshevet team</div><div><br></div></div>


</div>
</div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_parent">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_parent">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_parent">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_parent">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_parent">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_parent">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_parent">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_parent">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_parent">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size: x-small;"><a href="mailto:brian@freeswitch.org" target="_parent">brian@freeswitch.org</a></span></font></p>
<p><font face="courier new, monospace" size="1"><img tabindex="-1" src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png" data-ms-imgsrc="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_parent">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_parent">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 |&nbsp;<b>ISN:</b>410*543 |&nbsp;<b>Skype:</b>briankwest</font></p></div></div>
</div>
</div>





</div>
</body>
</html>