<div dir="ltr">Thanks for replying.<div><br></div><div>Michael, Is there any plan to add such feature into FreeSWITCH?</div><div><br></div><div>It will be very useful for mobile app, because usually mobile (iOS) app can't keep registration alive all the time.</div><div>Intercepting call could solve my problem, but not as straight forward as this way.<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 27, 2017 at 3:49 PM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">We do not support such a feature at this time.<div><div class="h5"><div><br><div><blockquote type="cite"><div>On Nov 27, 2017, at 1:11 PM, Danyi Lin <<a href="mailto:danyi.lin@gmail.com" target="_blank">danyi.lin@gmail.com</a>> wrote:</div><br class="m_6343381506286931918Apple-interchange-newline"><div><div dir="ltr"><font face="monospace, monospace">How can I fork a call to a new registered endpoint?<br><br>Here is the scenario:<br>Callee has 2 devices: dev1 online (registered), dev2 offline<br><br>1. An incoming call to the user, dev1 is ringing<br>2. dev2 register now<br>3. fork call to dev2<br><br>Call flow as below (<a href="https://gist.github.com/dylin/5ef157f2bc4da8b1c0b145c03e9efcfd" target="_blank">https://gist.github.com/<wbr>dylin/<wbr>5ef157f2bc4da8b1c0b145c03e9efc<wbr>fd</a>):</font><div><font face="monospace, monospace"><br> Caller | FS | dev1 | dev2<br>----------- ----------- ----------- -----------<br> | INVITE | | |<br> |------------>| | |<br> | | | |<br> | | INVITE | |<br> | |----------->| |<br> | | | |<br> | | | REGISTER |<br> | |<-----------+------------|<br> | | | |<br> | | INVITE | |<br> | |------------+----------->|<br> | | | |<br><br>I tried </font><span style="font-family:monospace,monospace">freeswitch.Session("<wbr>sofia/to/dev2", lega) to originate call to dev2,</span><div><span style="font-family:monospace,monospace">and dev2 got call. However if dev1 answered call, it won't cancel INVITE</span></div><div><font face="monospace, monospace">to dev2 as a normal fork.<br></font><div><div><font face="monospace, monospace"><br></font></div><div><div><br></div><div><div><font face="monospace, monospace">Any suggestions are welcome.<br><br>Best regards,<br>Danyi Lin</font><br></div></div></div></div></div></div></div></div></blockquote></div><br></div></div></div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Cheers,<br>Danyi Lin</div><div><div><br></div></div></div></div></div></div></div></div>
</div>