Re: [SR-Users] rtpproxy and kamailio doesnt work out from the box.

2011-06-28 Thread MingHon
Hi List, i tcpdump on my kamailio server. when uac registered with source port 5060 the uac will remain Cflag:: 0 and did not have the Received: field. i also tried some iphone sip apps. some uac app will register with src port 5060 and some will not. anyone have solution for this? or how t

Re: [SR-Users] rtpproxy and kamailio doesnt work out from the box.

2011-06-27 Thread MingHon
Hi, Thanks for the suggestion. i tried running rtpproxy on private. rtpproxy -l public_ip -s udp:192.168.2.3:7722 -u user and in kamailio cfg. modparam("rtpproxy", "rtpproxy_sock", "udp:192.168.2.3:7722") but still the same issue.. thanks. -- Regards, MingHon __

Re: [SR-Users] rtpproxy and kamailio doesnt work out from the box.

2011-06-27 Thread Chandrakant Solanki
Try to run rtpproxy on private ip not on local 127.0.0.1 On Tue, Jun 28, 2011 at 11:23 AM, MingHon wrote: > Hi, > > i fixed the audio issue for 102 to 103 vice versa. > > by fixing the canreinvite in asterisk. > > from uac the rtp packet will route to kamailio den forward to asterisk. > > can we

Re: [SR-Users] rtpproxy and kamailio doesnt work out from the box.

2011-06-27 Thread MingHon
Hi, i fixed the audio issue for 102 to 103 vice versa. by fixing the canreinvite in asterisk. from uac the rtp packet will route to kamailio den forward to asterisk. can we bypass the rtp packet going to asterisk? and here is the update for uac 101 issue. when 101 call to voicemail or 102/103

Re: [SR-Users] rtpproxy and kamailio doesnt work out from the box.

2011-06-27 Thread MingHon
Hi, i registered 3 uac behind same nat successfully but when i try to call each other i didnt get any audio. but if i use uac 102 and 103 to call into the voicemail i heard the audio but not for 101. kamailio is listening 60.48.218.61 and 192.168.2.3 rtpproxy is running. asterisk is at 192.168.2.2

Re: [SR-Users] rtpproxy and kamailio doesnt work out from the box.

2011-06-24 Thread MingHon
Hi, which firewall do you mean? the uac firewall or the kamailio firewall? kamailio doesnt have firewall. kamailio and rtpproxy in centos 5.4 firewall and selinux disabled. eth0 is configured for ppp0e and eth1 is the private ip and echo "1" > /proc/sys/net/ipv4/ip_forward iptables -t nat -A P

Re: [SR-Users] rtpproxy and kamailio doesnt work out from the box.

2011-06-24 Thread MingHon
Hi, Yup i did define #!define WITH_NAT at the beginning of config file. it doesnt work. been struggle for a month hope you can help. and also in the cfg im listening to both iface. listen=public ip listen=192.168.2.3 [kamailio ip] Regards, MingHon __

Re: [SR-Users] rtpproxy and kamailio doesnt work out from the box.

2011-06-24 Thread Carsten Bock
Hi, did you also set #!define WITH_NAT at the beginning of your config? That should do the job. Carsten 2011/6/24 MingHon : > hey list, > > i currently test on my asterisk 1.6 box on on pc with private ip > and tested kamailio 3.1.3/3.1.4 + rtpproxy 1.2.1/1.2.0/1.1 on another pc > with public