[Home]

Summary:ASTERISK-23702: PJSIP Testing: Nominal remote target attended transfers
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-05-01 15:37:32Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:Resources/res_pjsip Resources/res_pjsip_refer
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:h2. Remote Transfer Target

In a remote transfer target, the initial conversation between Alice and Bob takes place outside of Asterisk. Asterisk has a call established between Alice and Charlie, and then receives an INVITE request with Replaces to move the call between Bob and Charlie.

h3. Nominal - Channel Replacement

* Outside of Asterisk, Alice and Bob establish a dialog between each other
* Alice sends an INVITE request to Asterisk for Charlie. Asterisk sends an INVITE request to Charlie.
* Charlie sends a 200 OK to Asterisk, Asterisk sends a 200 OK to Alice.
* Alice sends a REFER request to Bob with a Replaces for the dialog between Asterisk and Alice
* Bob sends an INVITE with Replaces to Asterisk, specifying the dialog between Asterisk and Alice
* Asterisk sends a 200 OK to Bob, and places Bob in the bridge with Charlie
* Alice is hung up on by Bob and Asterisk, and Bob and Charlie are in a bridge together

h3. Application Replacement

* Outside of Asterisk, Alice and Bob establish a dialog between each other
* Alice sends an INVITE request to Asterisk to an extension with a long running application.
* Asterisk sends a 200 OK to Alice.
* Alice sends a REFER request to Bob with a Replaces for the dialog between Asterisk and Alice
* Bob sends an INVITE with Replaces to Asterisk, specifying the dialog between Asterisk and Alice
* Asterisk sends a 200 OK to Bob, and replaces Alice's channel with Bob's channel in the long running application
* Alice is hung up on by Bob and Asterisk, and Bob's channel survives in the long running application
Comments: