-------- Original Message -------- Subject: Re: [Serusers] SER on port xxxx to SER on port 5060 Date: Thu, 01 Jul 2004 14:56:50 +0200 From: Aldo Armiento aldo@cerca.com Organization: Cerca.com s.r.l. To: daniel@iptel.org References: 40E34AFC.40309@armiento.com 40E3C3E1.6010300@iptel.org
Dear Daniel, ok, i known "port" in global config. My question is: how can I tell (routing rules) to "fake" ser at port 5090 to work as "proxy" for "real" ser at port 5060?
UA(1) --> NAT --> SER (5090) --> SER (5060) --> NAT --> UA(2) | |--> this NAT currupts packets to port 5060 (!!) so I have to use another port but I want other "normal" UA (with or without a good nat) work on port 5060.
Thanks you!!
Aldo.
Daniel-Constantin Mierla wrote:
Hello, use port=5090 in your ser.cfg config file -- in global configuration parameters section.
Daniel
On 7/1/2004 1:21 AM, Aldo Armiento wrote:
Hi all! Some my sip clients are behind a nat on an internet public network that "corrupt" UDP packect (wrong checksum) if is directed to port 5060. Is possible to have a SER on port (for example) 5090 as a "proxy" for the real ser on port 5060? How I have to configure ser.cfg for "fake" ser on port 5090?
Thanks you, Aldo.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
One option is to use SRV records in DNS.
Otherwise, in the second ser (5060) config file you can make decisions based on URI
if(uri=~".*<ser_on_5090_ip>" || uri=~".*<ser_on_5090_hostname>") { t_relay_to_udp("<ser_on_5090_ip>", "5090"); break; }; t_relay(); break;
If you need this fake in UA side, you can do it with SRV, of course, if the UA supports SRV or using outbound proxy, if the UA has this option.
Daniel
On 7/1/2004 9:25 PM, Aldo Armiento wrote:
-------- Original Message -------- Subject: Re: [Serusers] SER on port xxxx to SER on port 5060 Date: Thu, 01 Jul 2004 14:56:50 +0200 From: Aldo Armiento aldo@cerca.com Organization: Cerca.com s.r.l. To: daniel@iptel.org References: 40E34AFC.40309@armiento.com 40E3C3E1.6010300@iptel.org
Dear Daniel, ok, i known "port" in global config. My question is: how can I tell (routing rules) to "fake" ser at port 5090 to work as "proxy" for "real" ser at port 5060?
UA(1) --> NAT --> SER (5090) --> SER (5060) --> NAT --> UA(2) | |--> this NAT currupts packets to port 5060 (!!) so I have to use another port but I want other "normal" UA (with or without a good nat) work on port 5060.
Thanks you!!
Aldo.
Daniel-Constantin Mierla wrote:
Hello, use port=5090 in your ser.cfg config file -- in global configuration parameters section.
Daniel
On 7/1/2004 1:21 AM, Aldo Armiento wrote:
Hi all! Some my sip clients are behind a nat on an internet public network that "corrupt" UDP packect (wrong checksum) if is directed to port 5060. Is possible to have a SER on port (for example) 5090 as a "proxy" for the real ser on port 5060? How I have to configure ser.cfg for "fake" ser on port 5090?
Thanks you, Aldo.
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
just put both lines: port=5060 port=5090 and you will have one ser listening on both ports.
bogdan
Aldo Armiento wrote:
-------- Original Message -------- Subject: Re: [Serusers] SER on port xxxx to SER on port 5060 Date: Thu, 01 Jul 2004 14:56:50 +0200 From: Aldo Armiento aldo@cerca.com Organization: Cerca.com s.r.l. To: daniel@iptel.org References: 40E34AFC.40309@armiento.com 40E3C3E1.6010300@iptel.org
Dear Daniel, ok, i known "port" in global config. My question is: how can I tell (routing rules) to "fake" ser at port 5090 to work as "proxy" for "real" ser at port 5060?
UA(1) --> NAT --> SER (5090) --> SER (5060) --> NAT --> UA(2) | |--> this NAT currupts packets to port 5060 (!!) so I have to use another port but I want other "normal" UA (with or without a good nat) work on port 5060.
Thanks you!!
Aldo.
Daniel-Constantin Mierla wrote:
Hello, use port=5090 in your ser.cfg config file -- in global configuration parameters section.
Daniel
On 7/1/2004 1:21 AM, Aldo Armiento wrote:
Hi all! Some my sip clients are behind a nat on an internet public network that "corrupt" UDP packect (wrong checksum) if is directed to port 5060. Is possible to have a SER on port (for example) 5090 as a "proxy" for the real ser on port 5060? How I have to configure ser.cfg for "fake" ser on port 5090?
Thanks you, Aldo.
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
On Jul 02, 2004 at 10:52, Bogdan - Andrei IANCU iancu@fokus.fraunhofer.de wrote:
just put both lines: port=5060 port=5090 and you will have one ser listening on both ports.
A small correction:
listen=ip port=5060 listen=ip port=5090
(if you skip the listen you will end up with ser listening only on 5090; the port command applies to the last listen)
Andrei