Call forwarding issue

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
loop
Posts: 8
Joined: Thu Nov 09, 2017 1:23 am

Call forwarding issue

Post by loop »

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
Posts: 733
Joined: Mon Mar 07, 2005 2:25 pm
Location: Sunny San Mateo
Contact:

Post by 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
Posts: 8
Joined: Thu Nov 09, 2017 1:23 am

Post by loop »

It works. Thank you!
Post Reply