I have previously been using many sofia profiles to handle a multi-tenant setup, but I'm working on consolidating them into one for simplicity. Is it possible to get the following behavior in the freeswitch cli? sofia status profile sip_profile_name reg -Returns all of the users registered to this sofia profile/port (the combined set of domainN.mine.com) sofia status profile domain1.mine.com reg -Returns all of the users registered to the domain1.mine.com domain sofia status profile domain2.mine.com reg -Returns all of the users registered to the domain2.mine.com domain Right now, each of the domainN.mine.com commands returns the same as the sip_profile_name command, as each is an alias of sip_profile. The domain tag in my sofia profile is: <domain name="all" alias="true" parse="true"/> If I change alias to false, I cannot run the sofia status profile domainN reg commands, but domain_exists domainN.mine.com will still return true. Parse did not seem to make any difference. Thanks for the help, Nick
Yes, thats the entire purpose of that alias feature. While the domain_exists doesn't use the alias feature to find the domain it actually looks in the XML. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 28, 2012, at 1:12 PM, Nick Vines <jnvines@gmail.com> wrote:
The domain tag in my sofia profile is: <domain name="all" alias="true" parse="true"/>
If I change alias to false, I cannot run the sofia status profile domainN reg commands, but domain_exists domainN.mine.com will still return true.
participants (2)
-
Brian West
-
Nick Vines