Re: [SR-Users] No audio when connect from public network but it works for lan users

2015-01-06 Thread Amit Patkar
What is the value set to localnet and externip parameters? NAT will not work without setting these parameters. These are global parameters. Regards, Amit Patkar___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.si

Re: [SR-Users] No audio when connect from public network but it works for lan users

2015-01-06 Thread CK Lee
What I found that when sip client registered, it was somehow changed to my lan address. Hence the audio rtp stream does not go out to the internet back to sip client. What should I change? On Sun, Jan 4, 2015 at 8:39 PM, CK Lee wrote: > I have this already in my sip.conf > > [kamailio-ns] > typ

Re: [SR-Users] No audio when connect from public network but it works for lan users

2015-01-05 Thread CK Lee
I have this already in my sip.conf [kamailio-ns] type=friend host=sip.example.org port=5060 disallow=all allow=gsm allow=g729 allow=alaw allow=ulaw context=default canreinvite=no insecure=port,invite dtmfmode=rfc2833 qualify=yes nat=yes I use asterisk 11 and the setup is ok without any one way au

Re: [SR-Users] No audio when connect from public network but it works for lan users

2015-01-04 Thread Amit Patkar
Please check sip.conf. You need to enable NAT options. Asterisk need to publish public IP in SDP for RTP traffic to reach your network. Asterisk need to differentiate local clients and external clients. localnet and externip parameters should be configured correctly. Regards, Amit Patkar On J

[SR-Users] No audio when connect from public network but it works for lan users

2015-01-04 Thread CK Lee
I am new to Kamailio after starting to play around for 3 weeks. Before Kamailio, I used asterisk and it works quite well in my network which has 2 public IP addresses and 10+ wired and wireless users. The asterisk listens to only one IP which my netgear router port forward the necessary sip and rd