Mar 7, 2010 9:38 PM
OSBC Configuration for 2 NICs
Hi all,
I am very interested in OpenSBC and I have done some testing. However, due to the document limitation, it is hard to configure OpenSBC for some testing.
In my recent test, what I want to acheve from OSBC is simple:
1. Install it on an ubuntu server with 2 NICs; which means OSBC has two network cards, one is public and one is private, which connect to my SIP server.
2. Configure OSBC and with the help of it, the SIP message and media traffic can be sent and received by two call parties, which located in different LANs.
I hope that someone has successfully achieved this and could you please share it with us? I think this feature is very important and without it, OSBC can not be call Session Border Controller.
I have viewd the OpenSBC manual and many posts in this BBS. And the following is the current configuration that my OSBC used. With this configuration, the upper registration procedure works well. However, in the call procedure, the called party can NOT receive the INVITE message. The reason may be that OpenSBC use the wrong interface (it has two) to send this message. Hope someone can give me hand.
[OpenSBC-General-Parameters]
SIP-Log-Level=5
PTRACE-Log-Level=5
Log-File-Prefix=b2bua
SBC-Application-Mode=B2BUpperReg Mode
Enable-Trunk-Port=True
Enable-Calea-Port=True
RTP-Min-Port=30000
RTP-Max-Port=35000
NAT-Keep-Alive-Interval=15
Send-OPTIONS-NAT-Keep-Alive=False
Send-Responses-Using-New-Socket=False
Enable-Local-Refer=True
Disable-Refer-Optimization=False
Max-Forwards=70
Encryption-Mode=XOR
Encryption-Key=GS
Alerting-Timeout=30000
Seize-Timeout=60000
SIP-Timer-B=Default
SIP-Timer-H=Default
Session-Keep-Alive=1800
Session-Max-Life-Span=10800
Max-Concurrent-Session=100
Max-Call-Rate-Per-Second=10
[SIP-Transports]
Main-Interface-Address Array Size=2
Main-Interface-Address 1=sip:192.168.0.10:5060
Main-Interface-Address 2=sip:202.204.0.12:5060
Backdoor-Interface-Address=sip:192.168.0.10:5062
Trunk-Interface-Address=sip:*:5064
Media-Server-Interface-Address=sip:*:5066
CALEA-Interface-Address=sip:*:5068
Auxiliary-Interface-Address=sip:*:5070
Interface-Route-List Array Size=1
*Interface-Route-List 1=[sip: 202.204.0.]sip:192.168.0.10;external=202.204.0.12
[B2BUA-Routes]
Route-List Array Size=1
*Route-List 1=[sip:]sip:192.168.0.11:5060
Insert-Route-Header=True
Rewrite-TO-URI=False
Prepend-ISUP-OLI=False
Route-By-Request-URI=True
Route-By-To-URI=False
Drop-Routes-On-Ping-Timeout=False
Use-External-XML=False
External-XML-File=b2bua-route.xml
[Upper-Registration]
All-Reg-As-Upper-Reg=True
Enable-Stateful-Reg=False
Rewrite-TO-Domain=False
Rewrite-FROM-Domain=False
Route-List Array Size=1
*Route-List 1=[sip:]sip:192.168.0.11:5060
Thank you for your reading and look forward to your comments!
Brs,
mark








