Hi,
I would like to use domain module to support multiple domain users.
How can move forward on this?
Thanks, Ramu
Hi,
a good starting point is the module documentation http://kamailio.org/docs/modules/devel/domain.html
Many modules have a parameter called use_domain. You have to set that to 1.
Look also at default configuration file, it shows in comments how to enable multi-domain.
If you encounter problems in configuring Kamailio do the job you want, feel free to post here your questions.
Regards, Ramona
Ramu wrote:
Hi,
I would like to use domain module to support multiple domain users.
How can move forward on this?
Thanks, Ramu
Hi,
Thanks for the response.
I went thru' the module and I got below doubt
1) I will set the domain name in domain table e.g mydomain.org 2) while registering the user I need to specify mydomain.org as part of SIPServer/Domain 3) and do I need to map mydomain.org to kamailio installed server ip?
On Wed, Feb 18, 2009 at 11:35 PM, Elena-Ramona Modroiu ramona@asipto.comwrote:
Hi,
a good starting point is the module documentation http://kamailio.org/docs/modules/devel/domain.html
Many modules have a parameter called use_domain. You have to set that to 1.
Look also at default configuration file, it shows in comments how to enable multi-domain.
If you encounter problems in configuring Kamailio do the job you want, feel free to post here your questions.
Regards, Ramona
Ramu wrote:
Hi,
I would like to use domain module to support multiple domain users.
How can move forward on this?
Thanks, Ramu
El Miércoles, 18 de Febrero de 2009, Ramu escribió:
Hi,
Thanks for the response.
I went thru' the module and I got below doubt
- I will set the domain name in domain table e.g mydomain.org
yes
- while registering the user I need to specify mydomain.org as part of
SIPServer/Domain
yes
- and do I need to map mydomain.org to kamailio installed server ip?
If not, how will the client reach the server? (well, you could set outbound-proxy pointing to server address).
On 02/18/2009 08:25 PM, Iñaki Baz Castillo wrote:
El Miércoles, 18 de Febrero de 2009, Ramu escribió:
Hi,
Thanks for the response.
I went thru' the module and I got below doubt
- I will set the domain name in domain table e.g mydomain.org
yes
- while registering the user I need to specify mydomain.org as part of
SIPServer/Domain
yes
- and do I need to map mydomain.org to kamailio installed server ip?
If not, how will the client reach the server? (well, you could set outbound-proxy pointing to server address).
You can use DNS SRV records to direct the sip traffic to kamailio. mydomain.org can point to something else (e.g., web server). However, you phone must support DNS SRV queries.
Cheers, Daniel
On Thu, Feb 19, 2009 at 3:37 PM, Daniel-Constantin Mierla <miconda@gmail.com
wrote:
On 02/18/2009 08:25 PM, Iñaki Baz Castillo wrote:
El Miércoles, 18 de Febrero de 2009, Ramu escribió:
Hi,
Thanks for the response.
I went thru' the module and I got below doubt
- I will set the domain name in domain table e.g mydomain.org
yes
- while registering the user I need to specify mydomain.org as part of
SIPServer/Domain
yes
- and do I need to map mydomain.org to kamailio installed server ip?
If not, how will the client reach the server? (well, you could set outbound-proxy pointing to server address).
You can use DNS SRV records to direct the sip traffic to kamailio. mydomain.org can point to something else (e.g., web server). However, you phone must support DNS SRV queries.
Can i map multiple Domain to same IP address and use multi domain setup .
example
10.1.1.1 testdomain.com 10.1.1.1. xyz.com
Ram
2009/2/23 ram talk2ram@gmail.com:
You can use DNS SRV records to direct the sip traffic to kamailio. mydomain.org can point to something else (e.g., web server). However, you phone must support DNS SRV queries.
Can i map multiple Domain to same IP address and use multi domain setup .
example
10.1.1.1 testdomain.com 10.1.1.1. xyz.com
Why not? haven't you seen web servers handling multiple virtual domains pointing to same IP? here is the same.
Hi All,
Am using kamailio's domain module.
My domain table has one row as follows: id domain last_modified 1 testing.mydev.net timestamp
And my subscriber table has users as follows: +----+----------+---------------------------+----------+---------------+-----+------+------+ | id | username | domain | password | email_address | ha1 | ha1b | rpid | +----+----------+---------------------------+----------+---------------+-----+------+------+ | 1 | 2000 | testing.mydev.net | 2000 | | | | NULL |
Am using X-Lite phone to register with Kamailio and got AOR in location table AOR:: 2000@testing.mydev.net
The problem here is how can I do a lookup("location")?
If I simply do a lookup("location") kamailio is not finding because User extension comes from other SIP server as INVITE sip:2000@kamailio_ip.
My setup as follows Users registers with Kamailio Kamailio sends INVITE to Asterisk for NAT handling Asterisk sends back user extension to Kamailio Kamailio has to lookup and call user.
On Mon, Feb 23, 2009 at 10:23 PM, Iñaki Baz Castillo ibc@aliax.net wrote:
2009/2/23 ram talk2ram@gmail.com:
You can use DNS SRV records to direct the sip traffic to kamailio. mydomain.org can point to something else (e.g., web server). However, you phone must support DNS SRV queries.
Can i map multiple Domain to same IP address and use multi domain setup .
example
10.1.1.1 testdomain.com 10.1.1.1. xyz.com
Why not? haven't you seen web servers handling multiple virtual domains pointing to same IP? here is the same.
-- Iñaki Baz Castillo ibc@aliax.net
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
2009/2/24 Ramu contactramu@gmail.com:
Am using X-Lite phone to register with Kamailio and got AOR in location table AOR:: 2000@testing.mydev.net
The problem here is how can I do a lookup("location")?
If I simply do a lookup("location") kamailio is not finding because User extension comes from other SIP server as INVITE sip:2000@kamailio_ip.
My setup as follows Users registers with Kamailio Kamailio sends INVITE to Asterisk for NAT handling Asterisk sends back user extension to Kamailio Kamailio has to lookup and call user.
The problem is not in Kamailio but in your environment. You must configure your Asterisk to set the request line as: INVITE sip:2000@testing.mydev.net SIP/2.0
You can get it just by using: Dial(SIP/2000@testing.mydev.net)
or you could map your SIP users in Asterisk (sip.conf): [2000] type = friend username = 2000 host = testing.mydev.net outboundproxy = Kamailio_IP ; (optional) insecure = invite
and do: Dial(SIP/2000)
But again, this is a fault in your Asterisk.