I would advise You to try some media proxy element (RTPProxy or MediaProxy
are good choices). Remember that one leg of this kind of comunication is on
public side and the other on a private LAN. There is no direct IP
comunication between them. That's why You need a proxy.
Good luck... :)
Edson
-----Original Message-----
From: users-bounces(a)openser.org [mailto:users-bounces@openser.org] On
Behalf Of CLEMENT Frédéric
Sent: segunda-feira, 27 de agosto de 2007 02:45
To: daniel(a)voice-system.ro
Cc: users(a)openser.org
Subject: Re: [OpenSER-Users] Openser + Asterisk
Thank you for your advice.
But all the examples I found doesn't handle what I am trying to do.
Remember :
I have a box with two network cards, on private, on public.
The calls are incoming on the public interface and I want theses to be
forwarded to my asterisk on my private LAN.
I tried the rewritehostport function and so on but my phone (behind
nat) and my asterisk keep sending rtp packets to their private addresses.
May I send you my configuration file ?
Thxs
Fred
Daniel-Constantin Mierla a écrit :
> Hello,
>
> there are some examples at:
>
http://voip-info.org/wiki/view/OpenSER#DeployingOpenSER
>
> Cheers,
> Daniel
>
> On 08/22/07 19:58, CLEMENT Frédéric wrote:
>> Hi all,
>>
>> I have a openser box with a private lan interface et a public one.
>> I have an Asterisk on my private LAN.
>> I am looking for a way to forward my incoming calls to this private
>> Asterisk.
>>
>> I already checked out all the examples with fix_nated_XXX,
>> rewritehostport, nathelper and so on ....
>> But no succes.
>> Has someone done that ?
>> Has someone a example of a config file doing that ?
>>
>> Thxs
>> _______________________________________________
>> Users mailing list
>> Users(a)openser.org
>>
http://openser.org/cgi-bin/mailman/listinfo/users
>>
>