Hi Castillo,I did post my config file showing how i used the Mediaproxy. However i would like to get your opinion on how to use/configure it properly. cheers, Lu.
Message: 3 Date: Sun, 12 Oct 2008 23:45:35 +0200 From: I?aki Baz Castillo ibc@aliax.net Subject: Re: [Kamailio-Users] No audio both ways To: users@lists.kamailio.org Message-ID: 200810122345.35371.ibc@aliax.net Content-Type: text/plain; charset="utf-8"
El Domingo, 12 de Octubre de 2008, luzango mfupe escribi?:
I solved the problem by disabling use_mediaproxy() call and did put
nat=yes
in the Asterisk side.
This means that you didn't use MediaProxy correctly. If it's properly configured and the proxy logic script calls use_mediaproxy() when needed, then you don't need to enable the Comedia mode in Asterisk (nat=yes).
-- I?aki Baz Castillo
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
End of Users Digest, Vol 41, Issue 33
2008/10/13 luzango mfupe luzango.mfupe@gmail.com:
Hi Castillo, I did post my config file showing how i used the Mediaproxy. However i would like to get your opinion on how to use/configure it properly.
The point is: - During INVITE replace the IP in SDP with the MediaProxy IP by using use_mediaproxy(). You must also fix the Contact header with the received pulbic IP (nathelper module helps you here). - During the 180/183/200 processing, you must also replace the IP in SDP with the MediaProxy IP by using use_mediaproxy(). The same for IP in Contact. - If the INVITE is empty (not SDP offer) then you must also replace the SDP IP in the ACK (where the SDP reply is present).
Just it.