Why not just setup 2 profiles sharing the same domain? This allows the phones to use one set of credentials on either network... If you are having problems, then why not simply use split horizon dns so that endpoints on any of the attached networks get proper host pointers... Its beyond the scope of FreeSWITCH to tell you how to your DNS for this, but there is a pile of documentation on this. K On 12/15/12 3:19 PM, "Steven Ayre" <steveayre@gmail.com> wrote:
Impossible... One profile can only listen to a single ip:port - It needs to know an IP to put inside the SIP packets for Contact/SDP. But this isn't your problem.
Rather your problem is coming from the fact they're both registering with the same credentials.
Can you get each phone to register with its own user account?
Also see what string sofia_contact returns - it might be its returning multiple destinations in the generated dial string, but that they're either not a forked dial or you need to set ignore_early_media=true so that a successful bridge happens on the first phone to answer, not the first phone to ring.
I suspect simply prefixing your bridge dial string with {ignore_early_media=true} will get the behaviour you desire.
Sent from my iPad
On 15 Dec 2012, at 20:50, Mimiko <vbvbrj@gmail.com> wrote:
Hello.
A problem. I need internal profile to listen to two IPs out of 5. As one profile can be set or on "auto" ip, or specific local IP, it is needed to create a profile for each IP. But a problem arise when one phone registers to first profile and another phone registers to the second profile with the same credentials. When calling this specific extension, only one phone rings.
How to correctly setup one profile with two different IP on multihomed server?
-- Mimiko desu.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch