[OpenSIPS-Users] Needs help OpenSIPS NAT Traversal Using RTPProxy

Khan Friend khansfriend at gmail.com
Mon Dec 22 02:35:51 CET 2008


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:asterisk at 192.168.x.xT=sip:
mydomain.com IP=192.168.x.x ID=50fc878a344d621149e5cb2d4dba03a6 at 192.168.X.X
Method not supported - M=OPTIONS
RURI=sip:mydomain.comF=sip:asterisk at 192.168.x.xT=sip:
mydomain.com IP=192.168.x.x ID=50fc878a344d621149e5cb2d4dba03a6 at 192.168.X.X
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:asterisk at 192.168.x.xT=sip:
mydomain.com IP=192.168.x.x ID=50fc878a344d621149e5cb2d4dba03a6 at 192.168.X.X
Method not supported - M=OPTIONS
RURI=sip:mydomain.comF=sip:asterisk at 192.168.x.x
T=sip:mydomain.com IP=192.168.x.x
ID=50fc878a344d621149e5cb2d4dba03a6 at 192.168.X.X
Nov 29 17:32:16 [3424] ERROR:core:forward_reply: no 2nd via found in reply
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081221/10d5c486/attachment.htm 


More information about the Users mailing list