[Freeswitch-users] Multi-tenat PBX using xml_curl

Anthony Minessale anthony.minessale at gmail.com
Wed Apr 24 02:22:18 MSD 2013


Try

<param name="dial-string"
value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@
${dialed_domain}}${sofia_contact(*/${dialed_user}@${di\
aled_domain})}"/>

and


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





On Tue, Apr 23, 2013 at 2:45 AM, Chris B. Ware <chrisbware at yahoo.it> wrote:

> 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 at gmail.com>
> Subject: Re: [Freeswitch-users] Multi-tenat PBX using xml_curl
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Message-ID:
>     <CAKbxfG9YOB9pPPyBok-srfYQ8a1KRxbE2S7TaKESYwxiG_uFng at 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 at 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 at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at 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 at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130423/7ae05671/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list