[Fwd: Re: [Serusers] SER on port xxxx to SER on port 5060]

Daniel-Constantin Mierla daniel at iptel.org
Fri Jul 2 10:51:27 CEST 2004


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 at cerca.com>
> Organization:     Cerca.com s.r.l.
> To:     daniel at iptel.org
> References:     <40E34AFC.40309 at armiento.com> 
> <40E3C3E1.6010300 at 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 at lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>




More information about the sr-users mailing list