Forums Read-only archive

Call forwarding issue

3 posts · Brekeke SIP Server Forum

loop Original post
1. Brekeke Product Name and Version: Brekeke SIP Server, Version 3.7.4.8

2. Java version:1.8.0_91

3. OS type and the version:Windows 10

4. Your problem: I want to implement call forwarding feature for my client application which developed with pjsip library.

The client(45) sends an INVITE then remote(46) answers with 302 message that contains new target adres(41). When client app gets 302 forward response, it creates subsequent INVITE request that have the same To, From, and Call-ID as used by the original INVITE.(RFC 3261, section 8.1.3.4)

Sample subsequent INVITE:

INVITE sip:41@domain SIP/2.0
....
From: <sip:45@domain>;tag=910fe0be-b00a-46d7-b208-2f6cd51adf9e
To: <sip:46@domain>
Contact: <sip:45@x.x.x.x:5060;ob>
Call-ID: 84b44ba7-1ad6-49ef-8a87-f46fe1b42891
...

The problem is Brekeke Server modifies the INVITE and send the INVITE again to the first target(46):

Brekeke Log:

session.820: Subsequent request: Re-Initialize the session

INVITE sip:46@x.x.x.x:5060;ob SIP/2.0
...
From: <sip:45@domain>;tag=910fe0be-b00a-46d7-b208-2f6cd51adf9e
To: <sip:46@domain>
Contact: <sip:45@domain:5060;ob>
Call-ID: 84b44ba7-1ad6-49ef-8a87-f46fe1b42891
...

how can I solve this issue?
Mike
This is for interop purposes for some SIP devices.

For disabling this option, please set the line below at [Configuration]->[Advanced] page.
------------------------------------
net.sip.key.ignoreuri = false
------------------------------------
loop
It works. Thank you!