[Kamailio-Users] sip phone behind the nat
Daniel-Constantin Mierla
miconda at gmail.com
Mon Aug 24 08:46:23 CEST 2009
On 24.08.2009 9:38 Uhr, aiphie wrote:
> hi,all
>
you probably forgot to cc to the mailing list. please do so all the time
- there might be people that can help faster and better.
>
> I have use sed command to clear the comment which in front of regarding nat,But it's always use local network IP to fill session description protocol->connection information->connection address,I know sip server can rewrite this message item,Can you tell me how to let sip server rewrite it?
> annex is my config file,please look what wrong in this?
>
It is very unlikely that one will debug a whole config file for you. You
just need to investigate yourself and come to mailing list with specific
questions.
The media IP is updated with what RTPPproxy is listening on. What is the
command used to start rtpproxy?
Cheers,
Daniel
> thank you!
>
> --aiphie
>
>
>
> ----- Original Message -----
> From: "Daniel-Constantin Mierla" <miconda at gmail.com>
> To: "aiphie" <chengwu8 at 139.com>
> Cc: <users at lists.kamailio.org>
> Sent: Friday, August 21, 2009 6:55 PM
> Subject: Re: [Kamailio-Users] sip phone behind the nat
>
>
>
>> Hello,
>>
>> On 21.08.2009 12:52 Uhr, aiphie wrote:
>>
>>> Hi,body.
>>> I'm using the kamailio as a sip server,If in the local network ,It
>>> works very well ,But when i set the sip server in the internet, When
>>> starting voice chat,Two sip phone will receive the behind net ip
>>> address(sip phone's local ip address).
>>> How i can configure sip server(kamailio) let sip server send sip
>>> phone's peer ip address using front nat ip address(internet ip address)?
>>> Any body can give me how to realize it?
>>>
>> you need to enable nathelper module + appropriate lines in config file
>> and install rtpptoxy.
>>
>> If you check the default config file you will see at the top some
>> comments regarding nat traversal and what sed command you can use to
>> enable it.
>>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla
>> * http://www.asipto.com/
>>
> >
--
Daniel-Constantin Mierla
* http://www.asipto.com/
More information about the sr-users
mailing list