[c-nsp] Voice and nat
Ghattas Jacob
ghattasjacob at gmail.com
Sat Aug 21 10:23:43 EDT 2010
Hello there,
One more idea would be try and check your asterisk.
There should be a sip_nat.conf file where you should put your internal
and external iphone address.
If I understand correctly, your internal wifi customers are
communicating with your asterisk with no nat, so go ahead to this file
and put the statement for the internal ip addresses 192.168.1.0/24
and 192.168.2.0/24.
Jacob.
On 8/21/10, Roger Wiklund <copse at xy.org> wrote:
> I would mirror desired ports in the switch(LAN, WAN)hook up a PC and
> run wireshark. Make a call from/to the wireless clients and capture
> the data, in the SIP Invite scroll down to the SDP, you will see the
> IP address used for the RTP stream, also you should see you will see
> the flow there.
>
> Ensure that the routing is working correctly based on that info, check
> NAT translation statistics in the router etc. If you have spare public
> IPs, do 1-to-1 NAT on one of the wireless clients, does that fix the
> problem? If so check what ports/IPs are used etc etc.
>
> /Roger
>
> On Tue, Aug 17, 2010 at 5:10 PM, j s <batta at moris.org> wrote:
>> I hope this is where I have to post this question at.
>> I have 2 routers. r1 is the router connected to the net via an ethernet
>> interface, it is performing nat to exit to the world, and r2 is a router
>> behind it and connects wireless users.
>> r1 and r2 have a switch between them and few servers and end users are
>> connected there.
>> The ip addresses of the devices on this switch is 192.168.1.0/24. The ip
>> addresses of the wlan customers is from 192.168.2.0/24.
>> I have an asterisk Server connected to the switch having ip address
>> 192.168.1.111.
>> Customers are able to connect to the asterisk from the outside network and
>> getting sip calls with no problem. Customers from inside the network,
>> coming from 192.168.1.0/24 too.
>> The problem is with customers connected to the wifi network. Sip is ok,
>> but rtp isn't.
>> Btw, all the customer are natted for getting to the internet.
>> There is also some traffic coming from the internet natted to the inside
>> ip addresses of the servers.
>> Any Ideas?
>> Thank You all.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _____________________________________________________________
>> RadioMoris.Com - 100% Sega Music - http://radiomoris.com/?mo
>> _______________________________________________
>> cisco-nsp mailing list cisco-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-nsp
>> archive at http://puck.nether.net/pipermail/cisco-nsp/
>>
>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
More information about the cisco-nsp
mailing list