<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div style="font-family:Arial;">I'm thinking also I can basically set presence_id=3005@domain for inbound/outbound calls to/from any of the 3005_XXX extensions, right? I tried it and it works for the most part, but the issue is that the presence for 3005@domain gets cleared right away but the one for the actual extension, ie. 3005_APP@domain hangs for a while even after channel is destroyed. Not sure if it's a bug or not<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">Mike</div>
<div><br></div>
<div><br></div>
<div>On Sun, Aug 13, 2017, at 05:08 AM, Yuriy Gorlichenko wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div style="font-family:Arial;">I worked with the same logic you described. Regarding presence control i used Kamailio server as presence and as registrar server, but in my case  wrote my custom logic on SIP layer handling precence (means i rewrote presence logic in kamailio and integrated it in .cfg kamailio's file). I used kamailio because this is implosible to implement on a Dialplan (read as application) layer.<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">alo you can write your own module for integrate same logic in FreeSWTICH but it will be SIP layrer handling anyway.<br></div>
<div style="font-family:Arial;"> <br></div>
</div>
<div><div style="font-family:Arial;"><br></div>
<div defang_data-gmailquote="yes"><div style="font-family:Arial;">2017-08-13 2:16 GMT+03:00 Michael Avers <span dir="ltr"><<a href="mailto:michael@mailworks.org">michael@mailworks.org</a>></span>:<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div style="font-family:Arial;">Hello,<br></div>
<div style="font-family:Arial;"> <br></div>
<div style="font-family:Arial;"> We have customers that currently register their single extension on their desk phone, mobile softphone, as well as desktop softphone - and usually they want them all to ring at the same time, which is easy, we just let them have multiple registrations and it gets the job done.<br></div>
<div style="font-family:Arial;"> <br></div>
<div style="font-family:Arial;"> However, some customers are asking to have more fine grained control over which of their devices receive the incoming calls and in what order. For example they may want the desk phone to ring or 10 seconds and only then start ringing the mobile app, and the desktop softphone to never ring (they just use it for outbound dialing).<br></div>
<div style="font-family:Arial;"> <br></div>
<div style="font-family:Arial;"> What is the best way to achieve this? I thought about assigning unique credentials to each device they register on. This would be fine if I were to direct inbound calls coming on a DID or via an IVR extension, because I can just ring them as if it was a ring group and control all the needed requirements with the bridge string.<br></div>
<div style="font-family:Arial;"> <br></div>
<div style="font-family:Arial;"> However, how do I get this to work for local extension to extension calling? Say their extension should be 3005, but they no longer register it directly and instead are issued credentials for 3005_DESK@domain, 3005_XYZ@domain and so forth. I can have 3005 be a dialplan extension that bridges to them, sure.<br></div>
<div style="font-family:Arial;"> <br></div>
<div style="font-family:Arial;"> But then you have presence to deal with, basically when 3005_DESK is on the phone 3005@domain presence should indicate that.<br></div>
<div style="font-family:Arial;"> <br></div>
<div style="font-family:Arial;"> Is what I'm asking for possible at all, and if so are there any best practices to get this working properly? Hope I was clear enough :)<br></div>
<div style="font-family:Arial;"> <br></div>
<div style="font-family:Arial;"> Thanks<br></div>
<div style="font-family:Arial;"> Mike<br></div>
<div style="font-family:Arial;"> <br></div>
<div style="font-family:Arial;"> ______________________________<wbr>______________________________<wbr>_____________<br></div>
<div style="font-family:Arial;"> Professional FreeSWITCH Consulting Services:<br></div>
<div style="font-family:Arial;"> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br></div>
<div style="font-family:Arial;"> <a href="http://www.freeswitchsolutions.com">http://www.<wbr>freeswitchsolutions.com</a><br></div>
<div style="font-family:Arial;"> <br></div>
<div style="font-family:Arial;"> Official FreeSWITCH Sites<br></div>
<div style="font-family:Arial;"> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div>
<div style="font-family:Arial;"> <a href="http://confluence.freeswitch.org">http://confluence.freeswitch.<wbr>org</a><br></div>
<div style="font-family:Arial;"> <a href="http://www.cluecon.com">http://www.cluecon.com</a><br></div>
<div style="font-family:Arial;"> <br></div>
<div style="font-family:Arial;"> FreeSWITCH-users mailing list<br></div>
<div style="font-family:Arial;"> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br></div>
<div style="font-family:Arial;"> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br></div>
<div style="font-family:Arial;"> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br></div>
<div style="font-family:Arial;"> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div>
</blockquote></div>
</div>
<div><u>_________________________________________________________________________</u><br></div>
<div>Professional FreeSWITCH Consulting Services:<br></div>
<div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br></div>
<div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br></div>
<div> <br></div>
<div>Official FreeSWITCH Sites<br></div>
<div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div>
<div><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br></div>
<div><a href="http://www.cluecon.com">http://www.cluecon.com</a><br></div>
<div> <br></div>
<div>FreeSWITCH-users mailing list<br></div>
<div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br></div>
<div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br></div>
<div>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></div>
<div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div>
</blockquote><div style="font-family:Arial;"><br></div>
</body>
</html>