Anthony,

any domain has the same dial-string:

<param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>


and when an extension calls another extension I use:

<action application="bridge" data="{ignore_early_media=true}sofia/$${domain}/${Called_Exten}"/>










Date: Mon, 22 Apr 2013 16:58:13 -0500
From: Anthony Minessale <anthony.minessale@gmail.com>
Subject: Re: [Freeswitch-users] Multi-tenat PBX using xml_curl
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Message-ID:
    <CAKbxfG9YOB9pPPyBok-srfYQ8a1KRxbE2S7TaKESYwxiG_uFng@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

What is the dial string you are using to call them?


On Mon, Apr 22, 2013 at 4:51 PM, Chris B. Ware <chrisbware@yahoo.it> wrote:

> Hi guys,
>
> I've looked for a help on this issue on irc and mailing-list archive
> without success.
> I need to configure a multitenant PBX using xml_curl. I've followed wiki
> to do it.
>
> I've two domains:
>
> DomainA.voip.com
> DomainB.voip.com.
>
> I can register extensions to those domains but when I call one extensions
> from another I receive
> an "INVALID PROFILE" error.
>
> The only way I've found to fix this issue is to add those domains as
> aliases under internal profile.
>
> I thought they were automatically added: what should I set to generate
> their aliases automatically?
>
> Please, help. Thanks.
>
> _________________________________________________________________________
> 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org