Hi,
Right now I have 2 machines (one on domainA and the other on domainB). I want to allow a phone registered in the openser from domainA to call a phone registered in the openser from domainB (and vice-versa). I have already inserted both domains in both openser but when I try to call a "user not found" message is returned. Can anyone help me?
Thanks in advanced, Ricardo Coelho
El Thu, 27 May 2010 04:44:53 +0100 Ricardo Coelho ricardo.tching@gmail.com escribió:
Hi,
Right now I have 2 machines (one on domainA and the other on domainB). I want to allow a phone registered in the openser from domainA to call a phone registered in the openser from domainB (and vice-versa). I have already inserted both domains in both openser but when I try to call a "user not found" message is returned. Can anyone help me?
Could you explain "inserted both domains in both openser"? Why would you do that?
Insert both domains in both mysql databases of each openser
On May 27, 2010, at 8:25 AM, Jon Bonilla (Manwe) wrote:
El Thu, 27 May 2010 04:44:53 +0100 Ricardo Coelho ricardo.tching@gmail.com escribió:
Hi,
Right now I have 2 machines (one on domainA and the other on domainB). I want to allow a phone registered in the openser from domainA to call a phone registered in the openser from domainB (and vice-versa). I have already inserted both domains in both openser but when I try to call a "user not found" message is returned. Can anyone help me?
Could you explain "inserted both domains in both openser"? Why would you do that?
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
El Thu, 27 May 2010 14:01:03 +0100 Ricardo Coelho ricardo.tching@gmail.com escribió:
Insert both domains in both mysql databases of each openser
Do you mean that for calling a user@company.com account I should add company.com to my database?
I am sorry but I still don't understand what you mean. In which tables and for what purpone?
Hi,
Forget the domains and tables. What I want is: I have 2 machines running openser and some phones are registered on openserA and some on openserB. I want to allow a phone in openserA to call a phone in openserB.
Sorry for the mess and thanks
On May 27, 2010, at 3:47 PM, Jon Bonilla (Manwe) wrote:
El Thu, 27 May 2010 14:01:03 +0100 Ricardo Coelho ricardo.tching@gmail.com escribió:
Insert both domains in both mysql databases of each openser
Do you mean that for calling a user@company.com account I should add company.com to my database?
I am sorry but I still don't understand what you mean. In which tables and for what purpone?
El Thu, 27 May 2010 16:09:35 +0100 Ricardo Coelho ricardo.tching@gmail.com escribió:
Hi,
Forget the domains and tables. What I want is: I have 2 machines running openser and some phones are registered on openserA and some on openserB. I want to allow a phone in openserA to call a phone in openserB.
Sorry for the mess and thanks
The easyest way for you if you would be to perform a lookup and if the user is not local just rewite the uri and send the call to the other host.
Or you could just try if you have domain part if(!is_domain_local("$rd"))
and have a code to route calls to the outside
Am 27.05.2010 17:09, schrieb Ricardo Coelho:
I have 2 machines running openser and some phones are registered on openserA and some on openserB.
Why are some phones registered at openserA and others at openserB?
- Do they have different SIP domains where one SIP domain point to A and other domain point to B? - Are they using the same SIP domain but the domain has multiple NAPTR/SRV/A records causing the segmentation? - Are they using the same SIP domain which points to a load balancer which forwards some clients to A and other to B? - something else?
regards Klaus
I am working on a project that aims to improve scalability of a system and it is required that only some phones are attached to openserA and all the others are attached to openserB. I am new to openser so forgive me for the lack of knowledge.
Thanks
On May 27, 2010, at 5:05 PM, Klaus Darilion wrote:
Am 27.05.2010 17:09, schrieb Ricardo Coelho:
I have 2 machines running openser and some phones are registered on openserA and some on openserB.
Why are some phones registered at openserA and others at openserB?
- Do they have different SIP domains where one SIP domain point to A and other domain point to B?
- Are they using the same SIP domain but the domain has multiple NAPTR/SRV/A records causing the segmentation?
- Are they using the same SIP domain which points to a load balancer which forwards some clients to A and other to B?
- something else?
regards Klaus
Hi, Ricardo...
Just help us understand your needs so that we can better help you...
When you talk on scalability, on how many registered users are we talking about? Are all this users just registered, or are you planning to use RTPProxy? If so, on the same machine?
Just let say that just for registration and SIP message routing (as for what an SIP-proxy is for... :) ) Kamailio can easily handle 10k users in a well designed and dimensioning server. Maybe Marius or Henning could share with us fresh numbers from their environment, but the numbers are impressive... really huge...
So, back to your requirement, are you aiming scalability or availability? For the first, I already commented. For the second, the path to obtain is other: load-balancing.
Edson.
Em 27/05/2010 18:09, Ricardo Coelho escreveu:
I am working on a project that aims to improve scalability of a system and it is required that only some phones are attached to openserA and all the others are attached to openserB. I am new to openser so forgive me for the lack of knowledge.
Thanks
On May 27, 2010, at 5:05 PM, Klaus Darilion wrote:
Am 27.05.2010 17:09, schrieb Ricardo Coelho:
I have 2 machines running openser and some phones are registered on openserA and some on openserB.
Why are some phones registered at openserA and others at openserB?
- Do they have different SIP domains where one SIP domain point to A and other domain point to B?
- Are they using the same SIP domain but the domain has multiple NAPTR/SRV/A records causing the segmentation?
- Are they using the same SIP domain which points to a load balancer which forwards some clients to A and other to B?
- something else?
regards Klaus
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
On Friday 28 May 2010, Edson - Lists wrote:
Just let say that just for registration and SIP message routing (as for what an SIP-proxy is for... :) ) Kamailio can easily handle 10k users in a well designed and dimensioning server. Maybe Marius or Henning could share with us fresh numbers from their environment, but the numbers are impressive... really huge...
Hello Edson,
10k subscriber/ machine for REGISTER is not that much. Even if you include redundancy in the picture you should be able to support several hundred thousand subscriber on a fairly standard server, if you can use a longer registration interval (e.g. have mainly residential/ SOHO customers).
Regards,
Henning
Em 28/05/2010 13:14, Henning Westerholt escreveu:
On Friday 28 May 2010, Edson - Lists wrote:
Just let say that just for registration and SIP message routing (as for what an SIP-proxy is for... :) ) Kamailio can easily handle 10k users in a well designed and dimensioning server. Maybe Marius or Henning could share with us fresh numbers from their environment, but the numbers are impressive... really huge...
Hello Edson,
10k subscriber/ machine for REGISTER is not that much. Even if you include redundancy in the picture you should be able to support several hundred thousand subscriber on a fairly standard server, if you can use a longer registration interval (e.g. have mainly residential/ SOHO customers).
Regards,
Henning
Hi, Henning...
That's the exact why I said "easily"... ;)
How many 10k, 20k or even 50k registered users are out there using SR or any of it's predecessor or derivations? not many, for sure...
So, that's why I asked Ricardo about his project... :) You got the point... ;)
Edson.
Am 27.05.2010 23:09, schrieb Ricardo Coelho:
I am working on a project that aims to improve scalability of a system and it is required that only some phones are attached to openserA and all the others are attached to openserB. I am new to openser so forgive me for the lack of knowledge.
Ok. But you still have not answered my question. How do you achieve that some phones are registered to proxyA and others to proxyB?
regards klaus
Thanks
On May 27, 2010, at 5:05 PM, Klaus Darilion wrote:
Am 27.05.2010 17:09, schrieb Ricardo Coelho:
I have 2 machines running openser and some phones are registered on openserA and some on openserB.
Why are some phones registered at openserA and others at openserB?
- Do they have different SIP domains where one SIP domain point to
A and other domain point to B? - Are they using the same SIP domain but the domain has multiple NAPTR/SRV/A records causing the segmentation? - Are they using the same SIP domain which points to a load balancer which forwards some clients to A and other to B? - something else?
regards Klaus