Changes between Version 1 and Version 2 of Audio_Problems/Getting_Around_Nat


Ignore:
Timestamp:
Dec 23, 2006 4:44:10 PM (17 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Audio_Problems/Getting_Around_Nat

    v1 v2  
    2121''pjsua'' can also be configured in port forwarding environment, for both SIP UDP/TCP and media (RTP) transports. To do this, you have to configure your router to forward UDP/TCP port 5060 to the application, and also UDP ports for RTP. By default, ''pjsua'' (and ''PJSUA-API'') allocates UDP ports for RTP/RTCP from port 4000 for RTP and 4001 for RTCP, and upwards up to the maximum number of calls configured in pjsua (for example, if ''max-calls'' is 10, then the port range allocated for RTP/RTCP will be UDP ports 4000 - 4019, since each call will need two UDP sockets). 
    2222 
     23''(Note: the default port 5060 for SIP can be changed with --local-port option, while the default RTP start port of 4000 can be changed with --rtp-port option)'' 
     24 
    2325After port forwarding has been configured in the router, you just need to specify the router's public IP address to pjsua, with '''{{{--ip-addr}}}''' command line option. With this option, all addresses advertised by ''pjsua'' will use this address rather than the internal IP address. 
    2426