Re: [Freeswitch-users] multiple-registration for same extension
ok I think the problem is not FS... thanks ----- Original Message ----- From: Madovsky To: FreeSWITCH Users Help Sent: Wednesday, December 29, 2010 2:00 PM Subject: Re: [Freeswitch-users] multiple-registration for same extension I have this in directory/default.xml <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/> tried this in my dialplan : <action application="bridge" data="user/${dialed_extension}"/> <action application="bridge" data="${sofia_contact(${dialed_user}@${dialed_domain})}"/> this in internal.xml : <param name="multiple-registrations" value="true"/> <param name="manage-presence" value="true"/> <param name="manage-shared-appearance" value="true"/> <param name="dbname" value="share_presence"/> <param name="presence-hosts" value="$${domain}"/> so when an outbound call arrives : - if one phone with one extension is registered it works well, it receives the call no matter from whatever node - if 2 phones with same extension are registered on 2 different nodes it works well now - if 2 phones with same extension are registered on the same node only 1 phone rings (the latest registered) tell if I need to pastebin the logs (don't remember the link) Thanks ----- Original Message ----- From: Avi Marcus To: FreeSWITCH Users Help Sent: Wednesday, December 29, 2010 12:26 PM Subject: Re: [Freeswitch-users] multiple-registration for same extension On Wed, Dec 29, 2010 at 7:11 PM, Madovsky <infos@madovsky.org> wrote: yes, <param name="multiple-registrations" value="true"/> and restart FS. also is it need to put this line in internal.xml or external.xml knowing that registrations are effective only in internal.xml ? > It's worked for me several times, however, I usually bridge to "user/$extension". but if you use sofia_contact in the dialplan bridge it gives to you sofia/$${domain}/extension@$${domain} so how to use user/extension in mutliple-registrations ? as I use a cluster with SRV NAPTR for outbound calls maybe it's the problem. I noticed that if the call arrives in the same node as the one where phones are registered it works. if not, only 1 phone or no phone rings. weirdly there is nothing abnormal on debug log I guess you're not clustering the DB and replicating the internal registrations across the servers? ----- Original Message ----- From: Avi Marcus To: FreeSWITCH Users Help Sent: Wednesday, December 29, 2010 11:44 AM Subject: Re: [Freeswitch-users] multiple-registration for same extension You set: <param name="multiple-registrations" value="true"/> and did a reloadxml, and waited for both to register again? It's worked for me several times, however, I usually bridge to "user/$extension". -Avi On Wed, Dec 29, 2010 at 6:18 PM, Madovsky <infos@madovsky.org> wrote: I enabled multiple-registrations to true in internal.xml (which is the difference between true and contact ?) added this line to my dialplan <action application="bridge" data="${sofia_contact(${dialed_extension}@${domain_name})}"/> but only the phone registered lastly rings... thanks Franck _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ------------------------------------------------------------------------ _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org ---------------------------------------------------------------------------- _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (1)
-
Madovsky