<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt">Intercept would potentially work<br>https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_intercept<br><br>but why so complicated?<br><br><br><div><span><br></span></div><div><br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Grant Bagdasarian &lt;GB@cm.nl&gt;<br> <b><span style="font-weight: bold;">To:</span></b> "FreeSWITCH Users Help (freeswitch-users@lists.freeswitch.org)" &lt;freeswitch-users@lists.freeswitch.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, September 10, 2013 3:54 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Freeswitch-users] General SIP question
 and FS possibilities<br> </font> </div> <div class="y_msg_container"><br><div id="yiv4186061021"><style><!--
#yiv4186061021  
 _filtered #yiv4186061021 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv4186061021  
#yiv4186061021 p.yiv4186061021MsoNormal, #yiv4186061021 li.yiv4186061021MsoNormal, #yiv4186061021 div.yiv4186061021MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}
#yiv4186061021 a:link, #yiv4186061021 span.yiv4186061021MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv4186061021 a:visited, #yiv4186061021 span.yiv4186061021MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv4186061021 span.yiv4186061021EmailStyle17
        {font-family:"Calibri", "sans-serif";color:windowtext;}
#yiv4186061021 .yiv4186061021MsoChpDefault
        {font-family:"Calibri", "sans-serif";}
 _filtered #yiv4186061021 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv4186061021 div.yiv4186061021WordSection1
        {}
--></style><div><div class="yiv4186061021WordSection1"><div class="yiv4186061021MsoNormal">Hello,</div><div class="yiv4186061021MsoNormal"> &nbsp;</div><div class="yiv4186061021MsoNormal">How do you group two call legs together when the first is originated by a different server than the second one?</div><div class="yiv4186061021MsoNormal"> &nbsp;</div><div class="yiv4186061021MsoNormal">For example:</div><div class="yiv4186061021MsoNormal"> &nbsp;</div><div class="yiv4186061021MsoNormal">FreeSWITCH 1 ----------------- FreeSWITCH 2.</div><div class="yiv4186061021MsoNormal"> &nbsp;</div><div class="yiv4186061021MsoNormal">A call is originated from FS1 to FS2. </div><div class="yiv4186061021MsoNormal">FS2 processes the call, plays some messages etc.</div><div class="yiv4186061021MsoNormal">Within the first call leg, FS2 originates a second call leg to FS1.</div><div class="yiv4186061021MsoNormal"> &nbsp;</div><div class="yiv4186061021MsoNormal">A solution
 would be to append the CallID of the first call leg as a new header in the INVITE of the second leg. This solution is from the FS2 point of view.</div><div class="yiv4186061021MsoNormal">What if we want FS1 to be able to detect two calls are within the same ‘session’. Is that possible?</div><div class="yiv4186061021MsoNormal"> &nbsp;</div><div class="yiv4186061021MsoNormal">Regards,</div><div class="yiv4186061021MsoNormal"> &nbsp;</div><div class="yiv4186061021MsoNormal">Grant</div></div></div></div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/"
 target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br><br><br></div> </div> </div> 
 </div></body></html>