<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I have this in directory/default.xml</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><param name="dial-string" value="<A
href='mailto:{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/'>{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/</A>><BR></FONT></DIV>
<DIV><FONT size=2>tried this in my dialplan :</FONT></DIV>
<DIV><FONT size=2><action application="bridge" data="<A
href="mailto:{absolute_codec_string='speex@16000k,G729,GSM,G726,PCMU,PCMA',sip_from_uri=${sip_from_user}@${sip_from_host},origination_caller_id_name=${caller_id_name},origination_caller_id_number=${caller_id_number}}user/${dialed_extension}"/">user/${dialed_extension}"/</A>></FONT></DIV>
<DIV><FONT size=2><FONT color=#0000ff><FONT color=#000000><action
application="bridge" data="</FONT><U>${sofia_contact(</U><A
href='mailto:${dialed_user}@${dialed_domain})}"/'>${dialed_user}@${dialed_domain})}"/</A></FONT>></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>this in internal.xml :</FONT></DIV>
<DIV><FONT size=2><param name="multiple-registrations"
value="true"/></FONT></DIV>
<DIV><FONT size=2> <param name="manage-presence"
value="true"/><BR> <param
name="manage-shared-appearance" value="true"/><BR>
<param name="dbname" value="share_presence"/><BR>
<param name="presence-hosts" value="$${domain}"/></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>so when an outbound call arrives :</FONT></DIV>
<DIV><FONT size=2>- if one phone with one extension is registered it works well,
it receives the call no matter from whatever node</FONT></DIV>
<DIV><FONT size=2>- if 2 phones with same extension are registered on 2
different nodes it works well now</FONT></DIV>
<DIV><FONT size=2>- if 2 phones with same extension are registered on the same
node only 1 phone rings (the latest registered)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>tell if I need to pastebin the logs (don't remember the
link)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks</DIV>
<DIV><BR></DIV></FONT>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=Avi@aMarcus.com href="mailto:Avi@aMarcus.com">Avi Marcus</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 29, 2010 12:26
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users]
multiple-registration for same extension</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>
<DIV class=gmail_quote>On Wed, Dec 29, 2010 at 7:11 PM, Madovsky <SPAN
dir=ltr><<A
href="mailto:infos@madovsky.org">infos@madovsky.org</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>
<DIV>yes, </DIV>
<DIV class=im>
<DIV> </DIV>
<DIV><param name="multiple-registrations" value="true"/></DIV></DIV>
<DIV>and restart FS.</DIV>
<DIV>also is it need to put this line in internal.xml or external.xml
knowing that</DIV>
<DIV>registrations are effective only in internal.xml ?</DIV>
<DIV class=im>
<DIV> </DIV>
<DIV>> It's worked for me several times, however, I usually bridge to
"user/$extension".</DIV></DIV>
<DIV>but if you use sofia_contact in the dialplan bridge it gives to you <A
href="mailto:sofia/$$%7Bdomain%7D/extension@$$%7Bdomain"
target=_blank>sofia/$${domain}/extension@$${domain</A>}</DIV>
<DIV>so how to use user/extension in mutliple-registrations ?</DIV>
<DIV> </DIV>
<DIV>as I use a cluster with SRV NAPTR for outbound calls maybe it's the
problem.</DIV>
<DIV>I noticed that if the call arrives in the same node as the one where
phones are registered it works.</DIV>
<DIV>if not, only 1 phone or no phone rings. weirdly there is nothing
abnormal on debug log</DIV></FONT></DIV></DIV></BLOCKQUOTE>
<DIV>I guess you're not clustering the DB and replicating the
internal registrations across the servers?</DIV>
<DIV><BR></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV>
<DIV></DIV>
<DIV class=h5>
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="FONT: 10pt arial; BACKGROUND: #e4e4e4"><B>From:</B> <A
title=Avi@aMarcus.com href="mailto:Avi@aMarcus.com" target=_blank>Avi
Marcus</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org"
target=_blank>FreeSWITCH Users Help</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 29, 2010
11:44 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users]
multiple-registration for same extension</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>You set:
<DIV><param name="multiple-registrations" value="true"/></DIV>
<DIV>and did a reloadxml, and waited for both to register again?</DIV>
<DIV>It's worked for me several times, however, I usually bridge to
"user/$extension".</DIV>
<DIV>-Avi</DIV>
<DIV><BR>
<DIV class=gmail_quote>On Wed, Dec 29, 2010 at 6:18 PM, Madovsky <SPAN
dir=ltr><<A href="mailto:infos@madovsky.org"
target=_blank>infos@madovsky.org</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>I enabled multiple-registrations to true in
internal.xml (which is the difference between true and contact
?)</FONT></DIV>
<DIV><FONT size=2>added this line to my dialplan</FONT></DIV>
<DIV> </DIV>
<DIV><action application="bridge"
data="${sofia_contact(${dialed_extension}@${domain_name})}"/></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>but only the phone registered lastly
rings...</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>thanks</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Franck</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><BR></DIV></DIV><BR>_______________________________________________<BR>FreeSWITCH-users
mailing list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>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></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></DIV>
<P></P>
<HR>
<DIV class=im>
<P></P>_______________________________________________<BR>FreeSWITCH-users
mailing list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>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></DIV>
<P></P></BLOCKQUOTE></DIV><BR>_______________________________________________<BR>FreeSWITCH-users
mailing list<BR><A
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></BLOCKQUOTE></DIV><BR></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>FreeSWITCH-users
mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>