Hi, currently i have a configuration that works when UA use ip adresseses for contacting the server. Also ip is used for the domain.
What i would like users to do is use a domain ie sip1.otenet-telecom.net to register. Domain is setup A record and points to the ip of the server. Users register ok but when they try to make a call, if(uri!=myself) returns true and the call does not go through.
uri is number@sip1.otenet-telecom.net sip1.otenet-telecom.net is in the domain mysql table.
What do i do to get the server recognize the calls from users using the domain?
thanks
Put alias="sip1.otenet-telecom.net"
in your configuration file.
Jan.
On 25-11-2005 17:13, Kyriakos Mavromichalis wrote:
Hi, currently i have a configuration that works when UA use ip adresseses for contacting the server. Also ip is used for the domain.
What i would like users to do is use a domain ie sip1.otenet-telecom.net to register. Domain is setup A record and points to the ip of the server. Users register ok but when they try to make a call, if(uri!=myself) returns true and the call does not go through.
uri is number@sip1.otenet-telecom.net sip1.otenet-telecom.net is in the domain mysql table.
What do i do to get the server recognize the calls from users using the domain?
thanks
Kyriakos Mavromichalis Otenet Telecom
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hello Kyriakos,
I have created a custom function in 'domain' module. Function is called is_uri_host_local_rewrite()
It checks if host in Request URI is local more accurately. If it is numeric IP, it search DNS for FQDN. If found, function searches for it in 'domain' MySQL table. If found as well, it rewrites Request URI with this FQDN. It checks also DNS aliases.
I use it in production for few months now, have no problems. If you want, I can send you this modification on priv or I can send it on the list?
-- Arek
Kyriakos Mavromichalis wrote:
Hi, currently i have a configuration that works when UA use ip adresseses for contacting the server. Also ip is used for the domain.
What i would like users to do is use a domain ie sip1.otenet-telecom.net to register. Domain is setup A record and points to the ip of the server. Users register ok but when they try to make a call, if(uri!=myself) returns true and the call does not go through.
uri is number@sip1.otenet-telecom.net sip1.otenet-telecom.net is in the domain mysql table.
What do i do to get the server recognize the calls from users using the domain?
Arek, You could also submit it as a patch on http://bugs.sip-router.org/ :-) g-) ----- Original Message ----- From: "Arek Bekiersz" sip@perceval.net To: serusers@lists.iptel.org Sent: Friday, November 25, 2005 4:36 PM Subject: Re: [Serusers] domain and "myself" question
Hello Kyriakos,
I have created a custom function in 'domain' module. Function is called is_uri_host_local_rewrite()
It checks if host in Request URI is local more accurately. If it is numeric IP, it search DNS for FQDN. If found, function searches for it in 'domain' MySQL table. If found as well, it rewrites Request URI with this FQDN. It checks also DNS aliases.
I use it in production for few months now, have no problems. If you want, I can send you this modification on priv or I can send it on the list?
-- Arek
Kyriakos Mavromichalis wrote:
Hi, currently i have a configuration that works when UA use ip adresseses for contacting the server. Also ip is used for the domain.
What i would like users to do is use a domain ie sip1.otenet-telecom.net to register. Domain is setup A record and points to the ip of the server. Users register ok but when they try to make a call, if(uri!=myself) returns true and the call does not go through.
uri is number@sip1.otenet-telecom.net sip1.otenet-telecom.net is in the domain mysql table.
What do i do to get the server recognize the calls from users using the domain?
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Yes, I agree and I would encourage anyone to submit such feature enhancements or bug reports there. This way we can easily keep track of them.
Jan.
On 26-11-2005 09:42, Greger V. Teigre wrote:
Arek, You could also submit it as a patch on http://bugs.sip-router.org/ :-) g-) ----- Original Message ----- From: "Arek Bekiersz" sip@perceval.net To: serusers@lists.iptel.org Sent: Friday, November 25, 2005 4:36 PM Subject: Re: [Serusers] domain and "myself" question
Hello Kyriakos,
I have created a custom function in 'domain' module. Function is called is_uri_host_local_rewrite()
It checks if host in Request URI is local more accurately. If it is numeric IP, it search DNS for FQDN. If found, function searches for it in 'domain' MySQL table. If found as well, it rewrites Request URI with this FQDN. It checks also DNS aliases.
I use it in production for few months now, have no problems. If you want, I can send you this modification on priv or I can send it on the list?
-- Arek
Kyriakos Mavromichalis wrote:
Hi, currently i have a configuration that works when UA use ip adresseses for contacting the server. Also ip is used for the domain.
What i would like users to do is use a domain ie sip1.otenet-telecom.net to register. Domain is setup A record and points to the ip of the server. Users register ok but when they try to make a call, if(uri!=myself) returns true and the call does not go through.
uri is number@sip1.otenet-telecom.net sip1.otenet-telecom.net is in the domain mysql table.
What do i do to get the server recognize the calls from users using the domain?
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi Arek, thanks for the reply.It would be great to have the mod , perhaps its best to send it on the list so others can have access too?
K
----- Original Message ----- From: "Arek Bekiersz" sip@perceval.net To: serusers@lists.iptel.org Sent: Friday, November 25, 2005 4:36 PM Subject: Re: [Serusers] domain and "myself" question
Hello Kyriakos,
I have created a custom function in 'domain' module. Function is called is_uri_host_local_rewrite()
It checks if host in Request URI is local more accurately. If it is numeric IP, it search DNS for FQDN. If found, function searches for it in 'domain' MySQL table. If found as well, it rewrites Request URI with this FQDN. It checks also DNS aliases.
I use it in production for few months now, have no problems. If you want, I can send you this modification on priv or I can send it on the list?
-- Arek
Kyriakos Mavromichalis wrote:
Hi, currently i have a configuration that works when UA use ip adresseses for contacting the server. Also ip is used for the domain.
What i would like users to do is use a domain ie sip1.otenet-telecom.net to register. Domain is setup A record and points to the ip of the server. Users register ok but when they try to make a call, if(uri!=myself) returns true and the call does not go through.
uri is number@sip1.otenet-telecom.net sip1.otenet-telecom.net is in the domain mysql table.
What do i do to get the server recognize the calls from users using the domain?
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Not to the list. To the bugtracker!
http://bugs.sip-router.org/secure/Dashboard.jspa
regards klaus
Kyriakos Mavromichalis wrote:
Hi Arek, thanks for the reply.It would be great to have the mod , perhaps its best to send it on the list so others can have access too?
K
----- Original Message ----- From: "Arek Bekiersz" sip@perceval.net To: serusers@lists.iptel.org Sent: Friday, November 25, 2005 4:36 PM Subject: Re: [Serusers] domain and "myself" question
Hello Kyriakos,
I have created a custom function in 'domain' module. Function is called is_uri_host_local_rewrite()
It checks if host in Request URI is local more accurately. If it is numeric IP, it search DNS for FQDN. If found, function searches for it in 'domain' MySQL table. If found as well, it rewrites Request URI with this FQDN. It checks also DNS aliases.
I use it in production for few months now, have no problems. If you want, I can send you this modification on priv or I can send it on the list?
-- Arek
Kyriakos Mavromichalis wrote:
Hi, currently i have a configuration that works when UA use ip adresseses for contacting the server. Also ip is used for the domain.
What i would like users to do is use a domain ie sip1.otenet-telecom.net to register. Domain is setup A record and points to the ip of the server. Users register ok but when they try to make a call, if(uri!=myself) returns true and the call does not go through.
uri is number@sip1.otenet-telecom.net sip1.otenet-telecom.net is in the domain mysql table.
What do i do to get the server recognize the calls from users using the domain?
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Hi all Iam new to Linux iam trying to run ser_mysql but i got error like this any body help me
[root@localhost sbin]# ser_mysql.sh create MySql password for root: creating database ser ... /usr/local/sbin/ser_mysql.sh: line 89: mysql: command not found
Klaus Darilion wrote:
Not to the list. To the bugtracker!
http://bugs.sip-router.org/secure/Dashboard.jspa
regards klaus
Kyriakos Mavromichalis wrote:
Hi Arek, thanks for the reply.It would be great to have the mod , perhaps its best to send it on the list so others can have access too?
K
----- Original Message ----- From: "Arek Bekiersz" sip@perceval.net To: serusers@lists.iptel.org Sent: Friday, November 25, 2005 4:36 PM Subject: Re: [Serusers] domain and "myself" question
Hello Kyriakos,
I have created a custom function in 'domain' module. Function is called is_uri_host_local_rewrite()
It checks if host in Request URI is local more accurately. If it is numeric IP, it search DNS for FQDN. If found, function searches for it in 'domain' MySQL table. If found as well, it rewrites Request URI with this FQDN. It checks also DNS aliases.
I use it in production for few months now, have no problems. If you want, I can send you this modification on priv or I can send it on the list?
-- Arek
Kyriakos Mavromichalis wrote:
Hi, currently i have a configuration that works when UA use ip adresseses for contacting the server. Also ip is used for the domain.
What i would like users to do is use a domain ie sip1.otenet-telecom.net to register. Domain is setup A record and points to the ip of the server. Users register ok but when they try to make a call, if(uri!=myself) returns true and the call does not go through.
uri is number@sip1.otenet-telecom.net sip1.otenet-telecom.net is in the domain mysql table.
What do i do to get the server recognize the calls from users using the domain?
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers