Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Call forwarding issue
Author Message
loop
Brekeke Junior Member


Joined: 09 Nov 2017
Posts: 8

PostPosted: Fri Mar 02, 2018 12:50 am    Post subject: Call forwarding issue Reply with quote

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?
Back to top
View user's profile
Mike
Support Team


Joined: 07 Mar 2005
Posts: 731
Location: Sunny San Mateo

PostPosted: Fri Mar 02, 2018 3:09 pm    Post subject: Reply with quote

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
------------------------------------
Back to top
View user's profile Visit poster's website
loop
Brekeke Junior Member


Joined: 09 Nov 2017
Posts: 8

PostPosted: Mon Mar 05, 2018 10:57 pm    Post subject: Reply with quote

It works. Thank you!
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