Thank you so much Daniel.
If I have a trouble I will type again :)

Regards.

> On 05 Feb 2016, at 11:47, Daniel-Constantin Mierla <mico...@gmail.com> wrote:
> 
> Hello,
> 
> yes, you can add multi-domain users by providing username@domain, like:
> 
> 
> kamctl add al...@wonderland.com <mailto:al...@wonderland.com> ...
> 
> Cheers,
> Daniel
> 
> On 05/02/16 09:18, Barış Şekerciler wrote:
>> Hi Daniel,
>> Thanks.
>> I'm wondering how can I add users to multi-domains with kamctl? Or is there 
>> anything which does the same job?
>> 
>> Regards. 
>> 
>> 
>> On 4 February 2016 at 19:45:54, Daniel-Constantin Mierla (mico...@gmail.com 
>> <mailto:mico...@gmail.com>) wrote:
>> 
>>> Hello,
>>> 
>>> look at the modules that you use and see if they have a parameter to enable 
>>> multi-domain support -- typically the use_domain module parameter needs to 
>>> be set to 1. If you look at the default kamailio.cfg for version 4.3.x, 
>>> there is a flag MULTIDOMAIN that you need to enable
>>> 
>>> Then you can use domain module to maintain the list of the local domain, or 
>>> if you have just few and not going to change, then you can use 'alias' 
>>> global parameter (it can be set many times with different domains).
>>> 
>>> Cheers,
>>> Daniel
>>> 
>>> On 04/02/16 14:45, Barış Şekerciler wrote:
>>>> Hello everyone!
>>>> I'm wondering something about Kamailio. Here is the idea:
>>>> Such and example, I want to give base system which depends on Kamailio to 
>>>> 3 companies in 1 server.
>>>> So I have 1 Kamailio Server and 4 or 5 Freeswitch server. Thus, I have to 
>>>> set a domain for each company, so total is I need 3 domains.
>>>> 
>>>> For example a, b, c are users. But they should in the different domains 
>>>> for know which is which. In a word, it should seems like this:
>>>> 
>>>> a...@subdomain.domain.com <mailto:a...@subdomain.domain.com>
>>>> b...@subdomain.domain.com <mailto:b...@subdomain.domain.com>
>>>> c...@subdomain.domain.com <mailto:c...@subdomain.domain.com>
>>>> 
>>>> a...@subdomain2.domain.com <mailto:a...@subdomain2.domain.com>
>>>> b...@subdomain2.domain.com <mailto:b...@subdomain2.domain.com>
>>>> c...@subdomain2.domain.com <mailto:c...@subdomain2.domain.com>
>>>> 
>>>> or
>>>> 
>>>> a...@subdomain.domain2.com <mailto:a...@subdomain.domain2.com>
>>>> b...@subdomain.domain2.com <mailto:b...@subdomain.domain2.com>
>>>> c...@subdomain.domain2.com <mailto:c...@subdomain.domain2.com>
>>>> 
>>>> etc...
>>>> 
>>>> So where can I do this? Remember, Kamailio should in the 1 server and all 
>>>> of domains and users should in this server (I will use Postgres)
>>>> 
>>>> For more details, you can write.
>>>> 
>>>> Thank you.
>>>> Regards.
>>>> 
>>>> 
>>>> _______________________________________________
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>> sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org>
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
>>>> <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>>> 
>>> --  
>>> Daniel-Constantin Mierla
>>> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - 
>>> http://www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
>>> Book: SIP Routing With Kamailio - http://www.asipto.com 
>>> <http://www.asipto.com/>
>>> http://miconda.eu <http://miconda.eu/>
>>> _______________________________________________ 
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list 
>>> sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> 
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 
>>> <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> 
> 
> -- 
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda <http://twitter.com/#!/miconda> - 
> http://www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
> Book: SIP Routing With Kamailio - http://www.asipto.com 
> <http://www.asipto.com/>
> http://miconda.eu <http://miconda.eu/>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to