Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Use of SIP Server as B2BUA w/ handling of 302 Redirects.
Author Message
vmorales
Brekeke Newbie


Joined: 30 Jul 2009
Posts: 4

PostPosted: Thu Jul 30, 2009 10:05 am    Post subject: Use of SIP Server as B2BUA w/ handling of 302 Redirects. Reply with quote

1. Brekeke Product Name and version:
--- SIP Server 2.3.6.0

2. Java version:
--- 1.5.0_14

3. OS type and the version:
--- Solaris 10, Update 3

4. UA (phone), gateway or other hardware/software involved:
--- software based SIP call generator
--- software based route redirect server

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
--- Pattern 1

6. Your problem:
----------------------
Hello, I recently setup BSS in our lab environment for testing. My goal is to replace a license-limited hardware based SBC, with BSS for large-scale call simulations.

The intent is to have the BSS configured as a B2BUA, however, with the capability to hide & handle redirections.

Desired call flow Scenario 1:
------------------------------------
Call generator ------ INVITE ------> BSS
Call generator <------ TRYING ------ BSS

BSS -------- INVITE --------> Redirect Server
BSS <--------- 302 ----------- Redirect Server
BSS ----------- ACK ----------> Redirect Server

BSS --------- INVITE ------> 1st Contact in 302
BSS <-------- 180 ---------- 1st Contact in 302
BSS <-------- 200 ---------- 1st Contact in 302
Call Generator <-------- 200 ---------- BSS
BSS --------- ACK ------> 1st Contact in 302


Desired call flow Scenario 1:
------------------------------------
Call generator ------ INVITE ------> BSS
Call generator <------ TRYING ------ BSS

BSS -------- INVITE --------> Redirect Server (RS)
BSS <--------- 302 ----------- RS
BSS ----------- ACK ----------> RS

BSS --------- INVITE ------> 1st Contact in 302 (LCR)
BSS <-------- 302 ---------- LCR
BSS ----------- ACK ---------> LCR

BSS --------- INVITE ------> 1st Contact in 302 (CallTerm)
BSS <-------- 180 ---------- CallTerm
BSS <-------- 200 ---------- CallTerm
Call Generator <-------- 200 ---------- BSS
Call Generator --------- ACK ---------> BSS
BSS --------- ACK ------> CallTerm


Currently, BSS is not ACK'ing the initial 302 from the redirect server, and it is also then proxy'ing the 302 back to the call generator. I tried to add a rule $request=302 <=> $respond/$action=ACK in the dial plan, but that did not work.

The problem being that if the 302 is not ACK'd, then the redirect server will continue to send the 302 until an eventual timeout. Not too much of an issue for a single call, but the plan is to run at least 20 calls-per-second to complete over 900k calls.

In addition to ACK'ing the 302, I need to have the BSS then generate a new invite(s) based on the contact list provided in the 302. In case the 1st contact rejects (503) or times out (408), BSS should then invite remaining contacts.

There could be a scenario (2), where BSS will receive a subsequent 302 with additional contacts, in which case the contacts listed in the subsequent 302 should have precedence over the contacts in the initial 302. The order BSS should use is to first exhaust contacts in the subsequent 302 prior to attempting the remaining contacts in the initial 302.

Any information and help would be appreciated to accomplish this. I searched for other posts mentioning 302 redirects, but were slightly different from what I currently need.

Thanks,
Vladimir
Back to top
View user's profile
vmorales
Brekeke Newbie


Joined: 30 Jul 2009
Posts: 4

PostPosted: Thu Jul 30, 2009 10:38 am    Post subject: BSS still not capable of handling 302's ?? Reply with quote

I found an older post regarding 302's that stated that the BSS does not/cannot process 302 redirect messages. Is this still the case?

The same post recommended using the B-PBX, however, the Solaris OS is not supported for that product...

Please advise.

Thanks.
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Thu Jul 30, 2009 5:05 pm    Post subject: Reply with quote

Brekeke SIP Server only forwards 30x response...
As you know Brekeke PBX can accept and handle 30x response.
Is it possible to use the PBX at another OS??
Back to top
View user's profile
vmorales
Brekeke Newbie


Joined: 30 Jul 2009
Posts: 4

PostPosted: Fri Jul 31, 2009 8:24 am    Post subject: Reply with quote

That may be a possibility, however, would B-PBX be able to Proxy Invites/200 messages to the source, as well as inviting 302 redirect contacts?
Back to top
View user's profile
janP
Brekeke Master Guru


Joined: 25 Nov 2007
Posts: 336

PostPosted: Fri Jul 31, 2009 3:40 pm    Post subject: Reply with quote

umm.. I don't know.. you can check it with the trial version by yourself..
Back to top
View user's profile
vmorales
Brekeke Newbie


Joined: 30 Jul 2009
Posts: 4

PostPosted: Mon Aug 03, 2009 8:53 am    Post subject: Reply with quote

Thanks for your responses Jan. I'll see what I can work out.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1