Hello Ryan,
 
connect the kamailio to the asterisk using a private ip and the
kamailio is connected using a public ip for the clients . 

I assume you've enabled mhomed =1 in your configuration script .

N.B : i have tried RTPproxy but it didnt work  i think because their
is no proper NATING .

Also have you started RTPproxy in bridging mode, aside from making your NAT module work !!

Here is how you can start RTPproxy in bridging mode.
#/usr/sbin/rtpproxy -F -s udp:127.0.0.1:7722 -l PU.BL.IC.IP/192.168.1.5 -d DBUG:LOG_LOCAL0

Then  in your configurations script you need to detect the direction of the call i.e Inbound from Internet to Private network or vice versa and use the function 
rtpproxy_manage("ei"); OR rtpproxy_manage("ie"); depending upon the direction of the call !

Regards,
Sammy

On Wed, Apr 4, 2012 at 8:29 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

do not write private emails started from mailing list -- they will be ignored.

Also, if it is a different topic, create a new email with appropriate subject.

Then provide details about what you tried (config file parts) and results (log messages and sip traces). Otherwise nobody can guess what happens and cannot give hints.

Cheers,
Daniel

On 4/4/12 4:10 PM, Ryan Gholam wrote:
Hello Daniel ,

I thank you for the last email you've sent me it helped me alot , but
now i am facing an issue concerning kamailio where i am trying to
connect the kamailio to the asterisk using a private ip and the
kamailio is connected using a public ip for the clients .

I am trying to create a call from the client the phone rings but there
is no audio conversation happening , what is the best method to use ?

N.B : i have tried RTPproxy but it didnt work  i think because their
is no proper NATING .

Thank you

--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users