<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Danyi,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">You can achieve it using Opensips (and freeswitch) (<a href="https://blog.opensips.org/2017/03/10/advanced-sip-scenarios-with-event-based-routing/">https://blog.opensips.org/2017/03/10/advanced-sip-scenarios-with-event-based-routing/</a>) See the push notification example at the bottom.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Srigo<br><br>Sent from my iPhone</div><div><br>On 27 Nov 2017, at 23:50, Michael Jerris <<a href="mailto:mike@jerris.com">mike@jerris.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=us-ascii">We have no plans to add it but if you are interested in sponsoring such an addition you could contact our professional services group at <a href="mailto:consulting@freeswitch.com" class="">consulting@freeswitch.com</a> to discuss.<div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 27, 2017, at 4:12 PM, Danyi Lin <<a href="mailto:danyi.lin@gmail.com" class="">danyi.lin@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Thanks for replying.<div class=""><br class=""></div><div class="">Michael, Is there any plan to add such feature into FreeSWITCH?</div><div class=""><br class=""></div><div class="">It will be very useful for mobile app, because usually mobile (iOS) app can't keep registration alive all the time.</div><div class="">Intercepting call could solve my problem, but not as straight forward as this way.<br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Nov 27, 2017 at 3:49 PM, Michael Jerris <span dir="ltr" class=""><<a href="mailto:mike@jerris.com" target="_blank" class="">mike@jerris.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">We do not support such a feature at this time.<div class=""><div class="h5"><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Nov 27, 2017, at 1:11 PM, Danyi Lin <<a href="mailto:danyi.lin@gmail.com" target="_blank" class="">danyi.lin@gmail.com</a>> wrote:</div><br class="m_6343381506286931918Apple-interchange-newline"><div class=""><div dir="ltr" class=""><font face="monospace, monospace" class="">How can I fork a call to a new registered endpoint?<br class=""><br class="">Here is the scenario:<br class="">Callee has 2 devices: dev1 online (registered), dev2 offline<br class=""><br class="">1. An incoming call to the user, dev1 is ringing<br class="">2. dev2 register now<br class="">3. fork call to dev2<br class=""><br class="">Call flow as below (<a href="https://gist.github.com/dylin/5ef157f2bc4da8b1c0b145c03e9efcfd" target="_blank" class="">https://gist.github.com/<wbr class="">dylin/<wbr class="">5ef157f2bc4da8b1c0b145c03e9efc<wbr class="">fd</a>):</font><div class=""><font face="monospace, monospace" class=""><br class="">  Caller    |     FS      |    dev1     |   dev2<br class="">-----------   -----------   -----------   -----------<br class="">     |  INVITE     |            |            |<br class="">     |------------>|            |            |<br class="">     |             |            |            |<br class="">     |             | INVITE     |            |<br class="">     |             |----------->|            |<br class="">     |             |            |            |<br class="">     |             |            | REGISTER   |<br class="">     |             |<-----------+------------|<br class="">     |             |            |            |<br class="">     |             | INVITE     |            |<br class="">     |             |------------+----------->|<br class="">     |             |            |            |<br class=""><br class="">I tried </font><span style="font-family:monospace,monospace" class="">freeswitch.Session("<wbr class="">sofia/to/dev2", lega) to originate call to dev2,</span><div class=""><span style="font-family:monospace,monospace" class="">and dev2 got call. However if dev1 answered call, it won't cancel INVITE</span></div><div class=""><font face="monospace, monospace" class="">to dev2 as a normal fork.<br class=""></font><div class=""><div class=""><font face="monospace, monospace" class=""><br class=""></font></div><div class=""><div class=""><br class=""></div><div class=""><div class=""><font face="monospace, monospace" class="">Any suggestions are welcome.<br class=""><br class="">Best regards,<br class="">Danyi Lin</font><br class=""></div></div></div></div></div></div></div></div></blockquote></div></div></div></div></div></blockquote></div></div></div></blockquote></div><br class=""></div></div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></body></html>