I have OpenSIPS Server - Installed and functional on Debian, Problem presist in NAT traversal area (RTPProxy, Asterisk) needs fine tunning... <br><br>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. <br>
User Portal - No GUI user portal, using OPENSIPSCTL at command line at this point (please suggest any free opensource sysem) <br>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). <br>
<br>Accounting and Billing, MySQL server, RADIUS server, and rate calls CDRTool (not installed at present but will be installed before testing configuration script). <br><br>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. <br>
<br>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. <br>
<br>I would like to authenticate all users and load balancing via FreeRADIUS . <br><br>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. <br>
<br><br>Problem: <br><br>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. <br>
<br>Following is the output when i try to run OpenSIPS, curently it stops running after few seconds and spits out these messages. <br><br>Nov 29 17:32:16 [3542] WARNING:core:main: no fork mode <br>Nov 29 17:32:16 [3542] INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected) <br>
Nov 29 17:32:16 [3542] NOTICE:core:main: version: opensips 1.4.2-notls (i386/linux) <br>Nov 29 17:32:16 [3542] INFO:core:main: using 128 Mb shared memory <br>Nov 29 17:32:16 [3542] INFO:core:main: using 1 Mb private memory per process <br>
Nov 29 17:32:16 [3542] INFO:usrloc:ul_init_locks: locks array size 512 <br>Nov 29 17:32:16 [3542] INFO:tm:mod_init: TM - initializing... <br>Nov 29 17:32:16 [3542] INFO:xlog:mod_init: initializing... <br>Nov 29 17:32:16 [3542] INFO:dialog:mod_init: Dialog module - initializing <br>
Nov 29 17:32:16 [3542] INFO:textops:mod_init: initializing... <br>Nov 29 17:32:16 [3542] INFO:sl:mod_init: Initializing StateLess engine <br>Nov 29 17:32:16 [3542] INFO:registrar:mod_init: initializing... <br>Nov 29 17:32:16 [3542] INFO:maxfwd:mod_init: initializing... <br>
Nov 29 17:32:16 [3542] INFO:auth:mod_init: initializing... <br>Nov 29 17:32:16 [3542] INFO:auth_db:mod_init: initializing... <br>Nov 29 17:32:16 [3542] INFO:avpops:avpops_init: initializing... <br>Nov 29 17:32:16 [3542] INFO:alias_db:mod_init: initializing... <br>
Nov 29 17:32:16 [3542] INFO:acc:mod_init: initializing... <br>Nov 29 17:32:16 [3542] INFO:textops:hname_fixup: using hdr type (16) instead of Proxy-Authorization <br>Nov 29 17:32:16 [3542] INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 214 kb <br>
<br><br>AFTER FEW SECONDS FOLLOWING ERRORS POPS UP: <br><br>New request - M=OPTIONS RURI=sip:<a href="http://mydomain.com">mydomain.com</a> F=sip:asterisk@192.168.x.x T=sip:<a href="http://mydomain.com">mydomain.com</a> IP=192.168.x.x ID=50fc878a344d621149e5cb2d4dba03a6@192.168.X.X <br>
Method not supported - M=OPTIONS RURI=sip:<a href="http://mydomain.com">mydomain.com</a> F=sip:asterisk@192.168.x.x T=sip:<a href="http://mydomain.com">mydomain.com</a> IP=192.168.x.x ID=50fc878a344d621149e5cb2d4dba03a6@192.168.X.X <br>
Nov 29 17:32:16 [3424] ERROR:core:forward_reply: no 2nd via found in reply <br>New request - M=OPTIONS RURI=sip:<a href="http://mydomain.com">mydomain.com</a> F=sip:asterisk@192.168.x.x T=sip:<a href="http://mydomain.com">mydomain.com</a> IP=192.168.x.x ID=50fc878a344d621149e5cb2d4dba03a6@192.168.X.X <br>
Method not supported - M=OPTIONS RURI=sip:<a href="http://mydomain.com">mydomain.com</a> F=sip:asterisk@192.168.x.x <br>T=sip:<a href="http://mydomain.com">mydomain.com</a> IP=192.168.x.x ID=50fc878a344d621149e5cb2d4dba03a6@192.168.X.X <br>
Nov 29 17:32:16 [3424] ERROR:core:forward_reply: no 2nd via found in reply