Forums Read-only archive

Changing branch value on re-send INVITE

4 posts · Brekeke SIP Server Forum

Jaeho Yang Original post
1. Brekeke Product Name and version:

2. Java version: Java 6

3. OS type and the version: Linux (Ubuntu)

4. UA (phone), gateway or other hardware/software involved: Softphone

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html : 9

6. Your problem:

There was an re-send two INVITEs (the INVITE message is exactly same)from Client,
but Brekeke send two INVITEs with difference Via header & branch.
It causes bizarre operation on other SIP UA.
Why Via_header(branch)s are changed ?


First is:
<![CDATA[INVITE sip:112.106.143.165:5060 SIP/2.0
Via: SIP/2.0/UDP 112.106.143.139:5060;branch=z9hG4bK1de35b2e7e0df541-30-87cefc0f
Via: SIP/2.0/UDP 31.62.172.136:5060;rport=5060;branch=z9hG4bKPjt5AdgPJdWaNvUx2fDL-m0NCY7HhF6epW
Max-Forwards: 69
From: <sip:020600007205759403792817700001249964@112.106.143.139>;tag=OAliSAXKSKLFFn.0Jn7hNT8MCEWvmDfc
To: <sip:020364083237539@112.106.143.139>
Contact: <sip:020600007205759403792817700001249964@112.106.143.139:5060>
Call-ID: rWTsjArQ29mRVOuFmWa-ASbDJpAW01Jc
CSeq: 13747 INVITE

Second is:
<![CDATA[INVITE sip:112.106.143.165:5060 SIP/2.0
Via: SIP/2.0/UDP 112.106.143.139:5060;branch=z9hG4bK1de35b2e7e0df541-a6a305e1-87cefc0f
Via: SIP/2.0/UDP 31.62.172.136:5060;rport=5060;branch=z9hG4bKPjt5AdgPJdWaNvUx2fDL-m0NCY7HhF6epW
Max-Forwards: 69
From: <sip:020600007205759403792817700001249964@112.106.143.139>;tag=OAliSAXKSKLFFn.0Jn7hNT8MCEWvmDfc
To: <sip:020364083237539@112.106.143.139>
Contact: <sip:020600007205759403792817700001249964@112.106.143.139:5060>
Call-ID: rWTsjArQ29mRVOuFmWa-ASbDJpAW01Jc
CSeq: 13747 INVITE

These requests have a different branch in top Via.
janP
Which version of Brekeke SIP Server are you using?
Which Softphone are you using?
Does the same issue occur even if you use another softphone as a caller?
redmiru
janP wrote:Which version of Brekeke SIP Server are you using?
Which Softphone are you using?
Does the same issue occur even if you use another softphone as a caller?
Hi, janP.

Yang is my coworker :)

We use BSS 3.0.7.0 ADV version, and it always occur when INVITE message was re-sending.


Our network is as below.

Softphone#1(caller) - (heavy network as 3G) - BSS - Softphone#2(callee)


For example, BSS received INVITE from caller, and BSS sends to callee with Via header (branch value: z9hG4bK1de35b2e7e0df541-30-87cefc0f).

Then callee sends 180 and 200 OK to BSS, and BSS sends to caller.

However, as heavy network, caller cannot received 200ok in T1 time (0.5 sec) so caller retransmits the same INVITE.

But BSS does not fills same branch value(z9hG4bK1de35b2e7e0df541-a6a305e1-87cefc0f) in via header. so callee understand that is new call.
(1st INVITE packet and 2nd INVITE packet are same perfectly)


Question:
Why BSS fills different branch value?
Mike
Hi all,

We confirmed this problem as a bug (from v3.0), and have fixed it in the next release.

We will announce when the next release is available.