<div dir="auto">ok, thx will try as soon as possible. Perhaps I understood the docs wrong, I thought I could only ring all registered phones when I set multiple registrations to contacts, I'll try and mail the result.<div dir="auto"><br></div><div dir="auto">__</div><div dir="auto">s.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 9, 2021, 6:15 PM Martin Paterson <<a href="mailto:martin@pattersong.co.uk" target="_blank" rel="noreferrer">martin@pattersong.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think that will do it.<br>
<br>
Several places FS code do something similar to:<br>
<br>
            if (multi_reg_contact) {<br>
                sql =<br>
                    switch_mprintf("delete from sip_registrations<br>
where sip_user='%q' and sip_host='%q' and contact='%q'", to_user,<br>
reg_host, contact_str);<br>
            } else {<br>
                sql = switch_mprintf("delete from sip_registrations<br>
where call_id='%q'", call_id);<br>
            }<br>
<br>
This bit is from where it handles receiving an unregister (a register<br>
with expires of zero). If your several user agents have the same<br>
contact, then they will all be unregistered at the same time.<br>
<br>
The documentation<br>
(<a href="https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files</a>)<br>
says:<br>
Valid values for this parameter are "contact", "true", "false".<br>
value="true" is the most common use. Setting this value to "contact"<br>
will remove the old registration based on sip_user, sip_host and<br>
contact field as opposed to the call_id.<br>
<br>
Martin.<br>
<br>
Martin Paterson, Pattersong Music<br>
Reduced orchestrations of G&S<br>
<br>
On Fri, 9 Jul 2021 at 15:08, Social Boh <<a href="mailto:social@bohboh.info" rel="noreferrer noreferrer" target="_blank">social@bohboh.info</a>> wrote:<br>
><br>
> Hello<br>
><br>
> can you change:<br>
><br>
> <param name="multiple-registrations" value="contact"/><br>
><br>
> with<br>
><br>
> <param name="multiple-registrations" value="true"/><br>
><br>
> make the same tests and then report...<br>
><br>
> Regards<br>
><br>
> ---<br>
> I'm SoCIaL, MayBe<br>
><br>
> El 9/07/2021 a las 5:36 a. m., Stefan escribió:<br>
> > Hello, I've a problem with multiple registrations on freeswitch 1.10.6.<br>
> > My internal profile contains the following:<br>
> ><br>
> > <param name="multiple-registrations" value="contact"/><br>
> ><br>
> > And in the dialplan I use the bridge like this:<br>
> ><br>
> > <action application="bridge" data="${sofia_contact(${dialed_extension})}"/><br>
> ><br>
> > It works as expected, all registered endpoints ring when i call an<br>
> > extension which is registered multiple times. The problem starts when<br>
> > one of the registered endpoints unregisteres. Then freeswitch<br>
> > derigisteres all, and none is reachable anymore.<br>
> ><br>
> > To be clear: a client with extension Number 2000 is registered 2 times,<br>
> > one Registration is through Linphone, the other one through a polycom<br>
> > phone. All is fine: When I call the extension 2000 both, Linphone and<br>
> > polycom ring. But now the user chooses to close the Linphone, and<br>
> > Linphone deregisters. The effect of this on freeswitch is, that the user<br>
> > is completely deregistered, not just the Linphone Registration, but also<br>
> > the one from polycom. As a result, I can't reach him anymore.<br>
> ><br>
> > Even more astonishing: When the user now turns on his Linphone again, it<br>
> > will register, and on calling the extension 2000 again both, Linphone<br>
> > and polycom will ring.<br>
> ><br>
> > I tried to set:<br>
> ><br>
> > <param name="inbound-use-callid-as-uuid" value="true"/><br>
> ><br>
> > in my internal profile. But it did not change the described behaviour.<br>
> ><br>
> > So my question is: how can I make freeswitch deregister multiple<br>
> > registrations of the same user individualy?<br>
> ><br>
> > __<br>
> > s.<br>
> ><br>
> ><br>
> > _________________________________________________________________________<br>
> ><br>
> > The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
> > Build your next product on our scalable cloud platform.<br>
> ><br>
> > Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
> ><br>
> > Professional FreeSWITCH Services<br>
> > <a href="mailto:sales@freeswitch.com" rel="noreferrer noreferrer" target="_blank">sales@freeswitch.com</a><br>
> > <a href="https://freeswitch.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
> ><br>
> > Official FreeSWITCH Sites<br>
> > <a href="https://freeswitch.com/oss" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
> > <a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
> > <a href="https://cluecon.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
> ><br>
> > FreeSWITCH-users mailing list<br>
> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="noreferrer noreferrer" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> > <a href="https://freeswitch.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
><br>
> _________________________________________________________________________<br>
><br>
> The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
> Build your next product on our scalable cloud platform.<br>
><br>
> Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
><br>
> Professional FreeSWITCH Services<br>
> <a href="mailto:sales@freeswitch.com" rel="noreferrer noreferrer" target="_blank">sales@freeswitch.com</a><br>
> <a href="https://freeswitch.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="https://freeswitch.com/oss" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
> <a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
> <a href="https://cluecon.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="noreferrer noreferrer" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="https://freeswitch.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" rel="noreferrer noreferrer" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" rel="noreferrer noreferrer" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>