Needs help OpenSIPS NAT Traversal Using RTPProxy

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Needs help OpenSIPS NAT Traversal Using RTPProxy

VoIPRookie
I have OpenSIPS Server - Installed and functional on Debian, Problem presist in NAT traversal area (RTPProxy, Asterisk) needs fine tunning...

Authentication is done with MySQL (digest authentication with qop=auth), Managing multiple domains, alternative routes, inbound-to-outbond, outbond-to-inbound but no inter-domain communications, and domain authentication is through database.
User Portal - No GUI user portal, using OPENSIPSCTL at command line at this point (please suggest any free opensource sysem)
Asterisk - Connectivity to the PSTN Gateway. Use of LCR/CR module, securing re-invites, blacklists, Voice mail (Media Server Component AVM) Call forwarding AVP. For SIP NAT Traversal (RTPProxy).  

Accounting and Billing, MySQL server, RADIUS server, and rate calls CDRTool (not installed at present but will be installed before testing configuration script).

OpenSIPS configuration file needed for a SIP Server (OpenSIPS 1.4) on Debian running with Asterisk behind NAT, RTPproxy 1.1, and MySQL server 5.x.

Asterisk used to monitor, voice mail, agent's caller id should be changed to DID number. If anyone calls, we should be able to see their DID/User ID as a caller's number/name. It should be changed via OpenSIPS, not via Asterisk.

I would like to authenticate all users and load balancing via FreeRADIUS .

Currently I can make successful calls within the network but I have not checked the loadbalancing and Asterisk part, which should run as mentioned above with an accounting system.


Problem:

Having trouble configuring NAT traversal part, FreeRADIUS is not installed or included in configuration, and also the Asterisk part is not configured or checked. Since, I'm stuck in NAT Traversal thus above mentioned software is not added in configuration but required in the requested configuration.

Following is the output when i try to run OpenSIPS, curently it stops running after few seconds and spits out these messages.

Nov 29 17:32:16 [3542] WARNING:core:main: no fork mode
Nov 29 17:32:16 [3542] INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected)
Nov 29 17:32:16 [3542] NOTICE:core:main: version: opensips 1.4.2-notls (i386/linux)
Nov 29 17:32:16 [3542] INFO:core:main: using 128 Mb shared memory
Nov 29 17:32:16 [3542] INFO:core:main: using 1 Mb private memory per process
Nov 29 17:32:16 [3542] INFO:usrloc:ul_init_locks: locks array size 512
Nov 29 17:32:16 [3542] INFO:tm:mod_init: TM - initializing...
Nov 29 17:32:16 [3542] INFO:xlog:mod_init: initializing...
Nov 29 17:32:16 [3542] INFO:dialog:mod_init: Dialog module - initializing
Nov 29 17:32:16 [3542] INFO:textops:mod_init: initializing...
Nov 29 17:32:16 [3542] INFO:sl:mod_init: Initializing StateLess engine
Nov 29 17:32:16 [3542] INFO:registrar:mod_init: initializing...
Nov 29 17:32:16 [3542] INFO:maxfwd:mod_init: initializing...
Nov 29 17:32:16 [3542] INFO:auth:mod_init: initializing...
Nov 29 17:32:16 [3542] INFO:auth_db:mod_init: initializing...
Nov 29 17:32:16 [3542] INFO:avpops:avpops_init: initializing...
Nov 29 17:32:16 [3542] INFO:alias_db:mod_init: initializing...
Nov 29 17:32:16 [3542] INFO:acc:mod_init: initializing...
Nov 29 17:32:16 [3542] INFO:textops:hname_fixup: using hdr type (16) instead of Proxy-Authorization
Nov 29 17:32:16 [3542] INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 214 kb


AFTER FEW SECONDS FOLLOWING ERRORS POPS UP:

New request - M=OPTIONS RURI=sip:mydomain.com F=sip:[hidden email] T=sip:mydomain.com IP=192.168.x.x ID=[hidden email]
Method not supported - M=OPTIONS RURI=sip:mydomain.com F=sip:[hidden email] T=sip:mydomain.com IP=192.168.x.x ID=[hidden email]
Nov 29 17:32:16 [3424] ERROR:core:forward_reply: no 2nd via found in reply
New request - M=OPTIONS RURI=sip:mydomain.com F=sip:[hidden email] T=sip:mydomain.com IP=192.168.x.x ID=[hidden email]
Method not supported - M=OPTIONS RURI=sip:mydomain.com F=sip:[hidden email]
T=sip:mydomain.com IP=192.168.x.x ID=[hidden email]
Nov 29 17:32:16 [3424] ERROR:core:forward_reply: no 2nd via found in reply
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users