Refer with Replaces Fails

I have the following scenario.

I am using Asterisk as a SIP Trunk Gateway for SIPX.

When a call is routed from Asterisk to an extension on SIPX, then parked to the SIPX park server, then Picked up from the Park server, a REFER with REPLACES is sent to ASTERISK- this should trigger an INVITE to be sent from ASTERISK to the UA in the REFER. Asterisk sends a 202 Accepted but then does NOT send the INVITE. Instead it gives a 481 Call leg/transaction does not exist.

Does Asterisk 1.8 support REFER with replaces? Here is the Refer , the 202 response and then the 481 response. The entire dialog is attached.

Participants:
PhoneA (registered to Asterisk x8100 IP 10.10.27.100)
Asterisk Server (IP 10.1.24.27)
SIPX Proxy (TRUNK BETWEEN ASTERISK AND SIPX)(IP 10.1.24.19)
PhoneB (registered to SIPX gets original Call x6201 IP 10.10.26.103)
PARK SERVER ON SIPX( call is REFERRED to x9999 the park server IP 10.1.24.19)
PhoneA is successfully referred to Park Server
PhoneB tried to pick up parked call
Park Server generates a REFER with REPLACES- the REFER goes to ASTERISk with the Call Info for the call from PhoneB to the Park Server as the REPLACES info (saying that Asterisk should Refer the call that it has with the Park Server to PhoneB and use the current call ID that PhoneB has with its call to the Park server.
Asterisk says accepted and then gives the error without generating a new invite to PhoneB with the replaces info.

segment of messaging:

U 10.1.24.19:5060 -> 10.1.24.27:5060
REFER sip:8100@10.1.24.27:5060 SIP/2.0.
From: sip:9999@sip1.sip-s.pnmac.com;tag=QgLnO. To: "8100"<sip:8100@10.1.24.27>;tag=as1f619f9c. Call-Id: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060. Cseq: 3 REFER. Contact: <sip:9999@10.1.24.19:5120;transport=tcp;x-sipX-nonat>. Referred-By: <sip:9999@sip1.sip-s.pnmac.com>. Refer-To: <sip:6201@sip-s.pnmac.com?REPLACES=897015da-19786ebd-f47721a0%4010.10.26.103%3Bto-tag%3DC1FE364E-5CA52731%3Bfrom-tag%3DVwzE82&REQUIRE=replaces&X-sipX-Authidentity=%3Csip%3A%7E%7Eid%7Epark%40sip-s.pnmac.com%3Bsignature%3D50901DD1%253A%253Ad2a5907cc7dc58803dccd123c74a62da%3E&REFERENCES=4be3a98537cbfcd35aeba4ce777b0fb9%4010.1.24.27%3A5060%3Brel%3Drefer>. References: 897015da-19786ebd-f47721a0@10.10.26.103;rel=xfer. Date: Tue, 30 Oct 2012 18:34:56 GMT. Max-Forwards: 19. User-Agent: sipXecs/4.4.0 sipXecs/park (Linux). Accept-Language: en. Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE. Supported: replaces. Proxy-Authorization: Digest username="~~id~park", realm="sip-s.pnmac.com", nonce="58d5ddd179b6ad65a307135fe5b33e7050901dd0", uri="sip:8100@10.1.24.27:5060", response="2752de5bdda2c3d05fe3455595a6ccfc", cnonce="W0hevo", qop=auth, nc=00000001. Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14fd8w38dOVBrNEHAwIGLBXrTA. Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-0040IeKqg`92LZUTmtVrh4Dbw;id=11468-34.
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
SIP/2.0 202 Accepted.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14fd8w38dOVBrNEHAwIGLBXrTA;received=10.1.24.19;rport=5060.
Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-0040IeKqg92LZUTmtVrh4Dbw;id=11468-34.
From: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
To: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
Call-ID: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
CSeq: 3 REFER.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:8100@10.1.24.27:5060.
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
NOTIFY sip:9999@10.1.24.19:5120;transport=tcp SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK584e4555;rport.
Route: sip:10.1.24.19:5060;lr;sipXecs-CallDest=PARK;sipXecs-rs=*auth~.*from~YXMxZjYxOWY5Yw``.900_ntap*id~MTE0NjgtMzQ`!7d9b41f11e46d3e0e04360d13759ce4f;x-sipX-done.
Max-Forwards: 70.
From: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
To: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
Contact: sip:8100@10.1.24.27:5060.
Call-ID: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
CSeq: 103 NOTIFY.
User-Agent: FPBX-2.9.0(1.8.7.0).
Event: refer;id=3.
Subscription-state: terminated;reason=noresource.
Content-Type: message/sipfrag;version=2.0.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Length: 49.
.
SIP/2.0 481 Call leg/transaction does not exist.

Any Ideas would be helpful. Thanks.[code]

U 10.10.27.100:5060 -> 10.1.24.27:5060
INVITE sip:6201@10.1.24.27;user=phone SIP/2.0.
Via: SIP/2.0/UDP 10.10.27.100;branch=z9hG4bK125ea6a31E03AC62.
From: “EASYRUN” sip:8100@10.1.24.27;tag=3888C0C1-566EAD68.
To: sip:6201@10.1.24.27;user=phone.
CSeq: 1 INVITE.
Call-ID: 9908e9d5-5674cc6c-1189eed7@10.10.27.100.
Contact: sip:8100@10.10.27.100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER.
User-Agent: PolycomSoundPointIP-SPIP_670-UA/3.2.6.0314.
Accept-Language: en.
Supported: 100rel,replaces.
Allow-Events: talk,hold,conference.
Max-Forwards: 70.
Content-Type: application/sdp.
Content-Length: 294.
.
v=0.
o=- 1351622074 1351622074 IN IP4 10.10.27.100.
s=Polycom IP Phone.
c=IN IP4 10.10.27.100.
t=0 0.
a=sendrecv.
m=audio 2258 RTP/AVP 9 0 8 18 101.
a=rtpmap:9 G722/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.

U 10.1.24.27:5060 -> 10.10.27.100:5060
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 10.10.27.100;branch=z9hG4bK125ea6a31E03AC62;received=10.10.27.100.
From: “EASYRUN” sip:8100@10.1.24.27;tag=3888C0C1-566EAD68.
To: sip:6201@10.1.24.27;user=phone;tag=as5cd00d0a.
Call-ID: 9908e9d5-5674cc6c-1189eed7@10.10.27.100.
CSeq: 1 INVITE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce=“4500657f”.
Content-Length: 0.
.

U 10.10.27.100:5060 -> 10.1.24.27:5060
ACK sip:6201@10.1.24.27;user=phone SIP/2.0.
Via: SIP/2.0/UDP 10.10.27.100;branch=z9hG4bK125ea6a31E03AC62.
From: “EASYRUN” sip:8100@10.1.24.27;tag=3888C0C1-566EAD68.
To: sip:6201@10.1.24.27;user=phone;tag=as5cd00d0a.
CSeq: 1 ACK.
Call-ID: 9908e9d5-5674cc6c-1189eed7@10.10.27.100.
Contact: sip:8100@10.10.27.100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER.
User-Agent: PolycomSoundPointIP-SPIP_670-UA/3.2.6.0314.
Accept-Language: en.
Max-Forwards: 70.
Content-Length: 0.
.

U 10.10.27.100:5060 -> 10.1.24.27:5060
INVITE sip:6201@10.1.24.27;user=phone SIP/2.0.
Via: SIP/2.0/UDP 10.10.27.100;branch=z9hG4bK416cc80680AC4E29.
From: “EASYRUN” sip:8100@10.1.24.27;tag=3888C0C1-566EAD68.
To: sip:6201@10.1.24.27;user=phone.
CSeq: 2 INVITE.
Call-ID: 9908e9d5-5674cc6c-1189eed7@10.10.27.100.
Contact: sip:8100@10.10.27.100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER.
User-Agent: PolycomSoundPointIP-SPIP_670-UA/3.2.6.0314.
Accept-Language: en.
Supported: 100rel,replaces.
Allow-Events: talk,hold,conference.
Authorization: Digest username=“8100”, realm=“asterisk”, nonce=“4500657f”, uri="sip:6201@10.1.24.27;user=phone", response=“a06b8355ebf28e577ba30dcd56975947”, algorithm=MD5.
Max-Forwards: 70.
Content-Type: application/sdp.
Content-Length: 294.
.
v=0.
o=- 1351622074 1351622074 IN IP4 10.10.27.100.
s=Polycom IP Phone.
c=IN IP4 10.10.27.100.
t=0 0.
a=sendrecv.
m=audio 2258 RTP/AVP 9 0 8 18 101.
a=rtpmap:9 G722/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:101 telephone-event/8000.

U 10.1.24.27:5060 -> 10.10.27.100:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 10.10.27.100;branch=z9hG4bK416cc80680AC4E29;received=10.10.27.100.
From: “EASYRUN” sip:8100@10.1.24.27;tag=3888C0C1-566EAD68.
To: sip:6201@10.1.24.27;user=phone.
Call-ID: 9908e9d5-5674cc6c-1189eed7@10.10.27.100.
CSeq: 2 INVITE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:6201@10.1.24.27:5060.
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
INVITE sip:6201@sip1.sip-s.pnmac.com SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK37bcce39;rport.
Max-Forwards: 70.
From: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
To: sip:6201@sip1.sip-s.pnmac.com.
Contact: sip:8100@10.1.24.27:5060.
Call-ID: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
CSeq: 102 INVITE.
User-Agent: FPBX-2.9.0(1.8.7.0).
Date: Tue, 30 Oct 2012 18:34:38 GMT.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Type: application/sdp.
Content-Length: 256.
.
v=0.
o=root 1099095614 1099095614 IN IP4 10.1.24.27.
s=Asterisk PBX 1.8.7.0.
c=IN IP4 10.1.24.27.
t=0 0.
m=audio 11352 RTP/AVP 0 8 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.

U 10.1.24.27:5060 -> 10.10.27.100:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 10.10.27.100;branch=z9hG4bK416cc80680AC4E29;received=10.10.27.100.
From: “EASYRUN” sip:8100@10.1.24.27;tag=3888C0C1-566EAD68.
To: sip:6201@10.1.24.27;user=phone;tag=as3aaf326d.
Call-ID: 9908e9d5-5674cc6c-1189eed7@10.10.27.100.
CSeq: 2 INVITE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:6201@10.1.24.27:5060.
Content-Length: 0.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
SIP/2.0 100 Trying.
From: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
To: sip:6201@sip1.sip-s.pnmac.com.
Call-Id: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
Cseq: 102 INVITE.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK37bcce39;rport=5060.
Content-Length: 0.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
SIP/2.0 180 Ringing.
Record-Route: sip:10.1.24.19:5060;lr;sipXecs-CallDest=UNK%2CINT;sipXecs-rs=*auth~.*from~YXM2NWY0NTFjZQ``.900_ntap*id~MTE0NjgtMzM`!f27b819abe24ffadd488e02ffe438715;x-sipX-done.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK37bcce39;rport=5060.
From: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
To: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
Cseq: 102 INVITE.
Call-Id: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
Contact: sip:6201@10.10.26.103;transport=tcp.
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.2.0.0157.
Allow-Events: talk,hold,conference.
Accept-Language: en.
Content-Length: 0.
Date: Tue, 30 Oct 2012 18:34:39 GMT.
.

U 10.1.24.27:5060 -> 10.10.27.100:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 10.10.27.100;branch=z9hG4bK416cc80680AC4E29;received=10.10.27.100.
From: “EASYRUN” sip:8100@10.1.24.27;tag=3888C0C1-566EAD68.
To: sip:6201@10.1.24.27;user=phone;tag=as3aaf326d.
Call-ID: 9908e9d5-5674cc6c-1189eed7@10.10.27.100.
CSeq: 2 INVITE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:6201@10.1.24.27:5060.
Content-Length: 0.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
SIP/2.0 200 OK.
Record-Route: sip:10.1.24.19:5060;lr;sipXecs-CallDest=UNK%2CINT;sipXecs-rs=*auth~.*from~YXM2NWY0NTFjZQ``.900_ntap*id~MTE0NjgtMzM`!f27b819abe24ffadd488e02ffe438715;x-sipX-done.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK37bcce39;rport=5060.
From: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
To: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
Cseq: 102 INVITE.
Call-Id: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
Contact: sip:6201@10.10.26.103;transport=tcp.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER.
Supported: 100rel,replaces.
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.2.0.0157.
Accept-Language: en.
Content-Type: application/sdp.
Content-Length: 199.
Date: Tue, 30 Oct 2012 18:34:42 GMT.
.
v=0.
o=- 1351622078 1351622078 IN IP4 10.10.26.103.
s=Polycom IP Phone.
c=IN IP4 10.10.26.103.
t=0 0.
m=audio 2252 RTP/AVP 0 101.
a=sendrecv.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.

U 10.1.24.27:5060 -> 10.1.24.19:5060
ACK sip:6201@10.10.26.103;transport=tcp SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK7e6d7832;rport.
Route: sip:10.1.24.19:5060;lr;sipXecs-CallDest=UNK%2CINT;sipXecs-rs=*auth~.*from~YXM2NWY0NTFjZQ``.900_ntap*id~MTE0NjgtMzM`!f27b819abe24ffadd488e02ffe438715;x-sipX-done.
Max-Forwards: 70.
From: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
To: sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
Contact: sip:8100@10.1.24.27:5060.
Call-ID: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
CSeq: 102 ACK.
User-Agent: FPBX-2.9.0(1.8.7.0).
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.10.27.100:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.10.27.100;branch=z9hG4bK416cc80680AC4E29;received=10.10.27.100.
From: “EASYRUN” sip:8100@10.1.24.27;tag=3888C0C1-566EAD68.
To: sip:6201@10.1.24.27;user=phone;tag=as3aaf326d.
Call-ID: 9908e9d5-5674cc6c-1189eed7@10.10.27.100.
CSeq: 2 INVITE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:6201@10.1.24.27:5060.
Content-Type: application/sdp.
Content-Length: 254.
.
v=0.
o=root 414055248 414055248 IN IP4 10.1.24.27.
s=Asterisk PBX 1.8.7.0.
c=IN IP4 10.1.24.27.
t=0 0.
m=audio 14026 RTP/AVP 0 8 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.

U 10.10.27.100:5060 -> 10.1.24.27:5060
ACK sip:6201@10.1.24.27:5060 SIP/2.0.
Via: SIP/2.0/UDP 10.10.27.100;branch=z9hG4bK8fbc0feaB71641BD.
From: “EASYRUN” sip:8100@10.1.24.27;tag=3888C0C1-566EAD68.
To: sip:6201@10.1.24.27;user=phone;tag=as3aaf326d.
CSeq: 2 ACK.
Call-ID: 9908e9d5-5674cc6c-1189eed7@10.10.27.100.
Contact: sip:8100@10.10.27.100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER.
User-Agent: PolycomSoundPointIP-SPIP_670-UA/3.2.6.0314.
Accept-Language: en.
Max-Forwards: 70.
Content-Length: 0.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
INVITE sip:8100@10.1.24.27:5060;x-sipX-nonat SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14c0MmgFr1F08zlY4APyE6`3wg.
Via: SIP/2.0/UDP 10.10.26.103;branch=z9hG4bKabfe997aE5FBB25D;id=11468-33.
From: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
To: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
Cseq: 1 INVITE.
Call-Id: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
Contact: sip:6201@10.10.26.103;transport=udp;x-sipX-nonat.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER.
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.2.0.0157.
Accept-Language: en.
Supported: 100rel,replaces.
Allow-Events: talk,hold,conference.
Max-Forwards: 20.
Content-Length: 0.
Date: Tue, 30 Oct 2012 18:34:44 GMT.
X-Sipx-Handled: X10.1.24.19-66.150.189.1.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14c0MmgFr1F08zlY4APyE6`3wg;received=10.1.24.19;rport=5060.
Via: SIP/2.0/UDP 10.10.26.103;branch=z9hG4bKabfe997aE5FBB25D;id=11468-33.
From: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
To: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
Call-ID: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
CSeq: 1 INVITE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:8100@10.1.24.27:5060.
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14c0MmgFr1F08zlY4APyE6`3wg;received=10.1.24.19;rport=5060.
Via: SIP/2.0/UDP 10.10.26.103;branch=z9hG4bKabfe997aE5FBB25D;id=11468-33.
From: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
To: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
Call-ID: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
CSeq: 1 INVITE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:8100@10.1.24.27:5060.
Content-Type: application/sdp.
Content-Length: 256.
.
v=0.
o=root 1099095614 1099095615 IN IP4 10.1.24.27.
s=Asterisk PBX 1.8.7.0.
c=IN IP4 10.1.24.27.
t=0 0.
m=audio 11352 RTP/AVP 0 8 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.

U 10.1.24.19:5060 -> 10.1.24.27:5060
ACK sip:8100@10.1.24.27:5060;x-sipX-nonat SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14c8kmDZmvUVtJcDzs5e_Flfmw.
Via: SIP/2.0/UDP 10.10.26.103;branch=z9hG4bK574f64587508013B.
From: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
To: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
Cseq: 1 ACK.
Call-Id: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
Contact: sip:6201@10.10.26.103;transport=udp;x-sipX-nonat.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER.
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.2.0.0157.
Accept-Language: en.
Max-Forwards: 20.
Content-Type: application/sdp.
Content-Length: 264.
Date: Tue, 30 Oct 2012 18:34:45 GMT.
.
v=0.
o=- 1351622078 1351622079 IN IP4 10.10.26.103.
s=Polycom IP Phone.
c=IN IP4 10.10.26.103.
t=0 0.
m=audio 30498 RTP/AVP 0 101.
c=IN IP4 10.1.24.19.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=sendrecv.
a=x-sipx-ntap:X10.1.24.19-66.150.189.1;10.

U 10.1.24.19:5060 -> 10.1.24.27:5060
REFER sip:8100@10.1.24.27:5060;x-sipX-nonat SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14cbO59n3w8w31WKpLrh0_Sb9Q.
Via: SIP/2.0/UDP 10.10.26.103;branch=z9hG4bKabb6c7df9631F6C2;id=11468-33.
From: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
To: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
Cseq: 3 REFER.
Call-Id: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
Contact: sip:6201@10.10.26.103;x-sipX-nonat.
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.2.0.0157.
Accept-Language: en.
Refer-To: sip:9999@sip-s.pnmac.com?X-sipX-Authidentity=<sip%3A6201%40sip-s.pnmac.com%3Bsignature%3D50901DC6%3A%3A6dba17578a7a8032b63a2101d68f25e6>&REFERENCES=369bbbd0454d9b5d5c6d0a626847bcaa%4010.1.24.27%3A5060%3Brel%3Drefer;user=phone.
Referred-By: sip:6201@sip-s.pnmac.com.
Proxy-Authorization: Digest username=“6201/0004f220a9b8”, realm=“sip-s.pnmac.com”, nonce=“cbfd153284b7ff613679c1a5c9536fa850901dc6”, qop=auth, cnonce=“5i9GigNXefz8Fin”, nc=00000001, uri=“sip:8100@10.1.24.27:5060;x-sipX-nonat”, response=“c98de2fe4e61328a1db3906bed5a052e”, algorithm=MD5.
Max-Forwards: 20.
Content-Length: 0.
Date: Tue, 30 Oct 2012 18:34:46 GMT.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
SIP/2.0 202 Accepted.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14cbO59n3w8w31WKpLrh0_Sb9Q;received=10.1.24.19;rport=5060.
Via: SIP/2.0/UDP 10.10.26.103;branch=z9hG4bKabb6c7df9631F6C2;id=11468-33.
From: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
To: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
Call-ID: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
CSeq: 3 REFER.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:8100@10.1.24.27:5060.
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
NOTIFY sip:6201@10.10.26.103;transport=tcp SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK776d8b1b;rport.
Route: sip:10.1.24.19:5060;lr;sipXecs-CallDest=UNK%2CINT;sipXecs-rs=*auth~.*from~YXM2NWY0NTFjZQ``.900_ntap*id~MTE0NjgtMzM`!f27b819abe24ffadd488e02ffe438715;x-sipX-done.
Max-Forwards: 70.
From: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
To: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
Contact: sip:8100@10.1.24.27:5060.
Call-ID: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
CSeq: 103 NOTIFY.
User-Agent: FPBX-2.9.0(1.8.7.0).
Event: refer;id=3.
Subscription-state: active.
Content-Type: message/sipfrag;version=2.0.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Length: 21.
.
SIP/2.0 183 Ringing.

U 10.1.24.27:5060 -> 10.1.24.19:5060
NOTIFY sip:6201@10.10.26.103;transport=tcp SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK3d960cef;rport.
Route: sip:10.1.24.19:5060;lr;sipXecs-CallDest=UNK%2CINT;sipXecs-rs=*auth~.*from~YXM2NWY0NTFjZQ``.900_ntap*id~MTE0NjgtMzM`!f27b819abe24ffadd488e02ffe438715;x-sipX-done.
Max-Forwards: 70.
From: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
To: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
Contact: sip:8100@10.1.24.27:5060.
Call-ID: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
CSeq: 104 NOTIFY.
User-Agent: FPBX-2.9.0(1.8.7.0).
Event: refer;id=3.
Subscription-state: terminated;reason=noresource.
Content-Type: message/sipfrag;version=2.0.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Length: 16.
.
SIP/2.0 200 Ok.

U 10.1.24.27:5060 -> 10.1.24.19:5060
INVITE sip:9999@sip1.sip-s.pnmac.com SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK22fb3ffb;rport.
Max-Forwards: 70.
From: “8100” sip:8100@10.1.24.27;tag=as1f619f9c.
To: sip:9999@sip1.sip-s.pnmac.com.
Contact: sip:8100@10.1.24.27:5060.
Call-ID: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
CSeq: 102 INVITE.
User-Agent: FPBX-2.9.0(1.8.7.0).
Date: Tue, 30 Oct 2012 18:34:46 GMT.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Type: application/sdp.
Content-Length: 256.
.
v=0.
o=root 1182769440 1182769440 IN IP4 10.1.24.27.
s=Asterisk PBX 1.8.7.0.
c=IN IP4 10.1.24.27.
t=0 0.
m=audio 17150 RTP/AVP 0 8 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.

U 10.1.24.19:5060 -> 10.1.24.27:5060
SIP/2.0 100 Trying.
From: “8100” sip:8100@10.1.24.27;tag=as1f619f9c.
To: sip:9999@sip1.sip-s.pnmac.com.
Call-Id: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
Cseq: 102 INVITE.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK22fb3ffb;rport=5060.
Content-Length: 0.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK776d8b1b;rport=5060;id=11468-33.
From: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
To: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
Cseq: 103 NOTIFY.
Call-Id: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
Contact: sip:6201@10.10.26.103;transport=tcp.
Event: refer;id=3.
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.2.0.0157.
Accept-Language: en.
Content-Length: 0.
Date: Tue, 30 Oct 2012 18:34:46 GMT.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
BYE sip:8100@10.1.24.27:5060;x-sipX-nonat SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14daLKu2yZfMF5e95RE4Z8JP6w.
Via: SIP/2.0/UDP 10.10.26.103;branch=z9hG4bKac377fa534D36288.
From: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
To: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
Cseq: 4 BYE.
Call-Id: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
Contact: sip:6201@10.10.26.103;transport=udp;x-sipX-nonat.
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.2.0.0157.
Accept-Language: en.
Proxy-Authorization: Digest username=“6201/0004f220a9b8”, realm=“sip-s.pnmac.com”, nonce=“cbfd153284b7ff613679c1a5c9536fa850901dc6”, qop=auth, cnonce=“5i9GigNXefz8Fin”, nc=00000002, uri=“sip:8100@10.1.24.27:5060;x-sipX-nonat”, response=“bcca7c108db17a39ed4dbfb17f52791f”, algorithm=MD5.
Max-Forwards: 20.
Content-Length: 0.
Date: Tue, 30 Oct 2012 18:34:46 GMT.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14daLKu2yZfMF5e95RE4Z8JP6w;received=10.1.24.19;rport=5060.

Via: SIP/2.0/UDP 10.10.26.103;branch=z9hG4bKac377fa534D36288.
From: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
To: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
Call-ID: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
CSeq: 4 BYE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Length: 0.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
SIP/2.0 481 Call Leg/Transaction Does Not Exist.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK3d960cef;rport=5060;id=11468-33.
From: “8100” sip:8100@10.1.24.27;tag=as65f451ce.
To: “Test Call Park” sip:6201@sip1.sip-s.pnmac.com;tag=403775B4-D46BDA97.
Cseq: 104 NOTIFY.
Call-Id: 369bbbd0454d9b5d5c6d0a626847bcaa@10.1.24.27:5060.
Event: refer;id=3.
User-Agent: PolycomSoundPointIP-SPIP_550-UA/3.2.0.0157.
Accept-Language: en.
Content-Length: 0.
Date: Tue, 30 Oct 2012 18:34:46 GMT.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
SIP/2.0 180 Ringing.
Record-Route: sip:10.1.24.19:5060;lr;sipXecs-CallDest=PARK;sipXecs-rs=*auth~.*from~YXMxZjYxOWY5Yw``.900_ntap*id~MTE0NjgtMzQ`!7d9b41f11e46d3e0e04360d13759ce4f;x-sipX-done.
From: “8100” sip:8100@10.1.24.27;tag=as1f619f9c.
To: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
Call-Id: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
Cseq: 102 INVITE.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK22fb3ffb;rport=5060.
Contact: sip:9999@10.1.24.19:5120;transport=tcp.
Date: Tue, 30 Oct 2012 18:34:47 GMT.
User-Agent: sipXecs/4.4.0 sipXecs/park (Linux).
Accept-Language: en.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE.
Supported: replaces.
Content-Length: 0.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
SIP/2.0 200 OK.
Record-Route: sip:10.1.24.19:5060;lr;sipXecs-CallDest=PARK;sipXecs-rs=*auth~.*from~YXMxZjYxOWY5Yw``.900_ntap*id~MTE0NjgtMzQ`!7d9b41f11e46d3e0e04360d13759ce4f;x-sipX-done.
From: “8100” sip:8100@10.1.24.27;tag=as1f619f9c.
To: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
Call-Id: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
Cseq: 102 INVITE.
Contact: sip:9999@10.1.24.19:5120;transport=tcp.
Content-Type: application/sdp.
Content-Length: 208.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK22fb3ffb;rport=5060.
Date: Tue, 30 Oct 2012 18:34:47 GMT.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE.
User-Agent: sipXecs/4.4.0 sipXecs/park (Linux).
Accept-Language: en.
Supported: replaces.
.
v=0.
o=sipXecs 5 21 IN IP4 10.1.24.19.
s=phone-call.
c=IN IP4 10.1.24.19.
t=0 0.
m=audio 8000 RTP/AVP 0 8 101.
a=sendrecv.
a=rtpmap:0 pcmu/8000/1.
a=rtpmap:8 pcma/8000/1.
a=rtpmap:101 telephone-event/8000/1.

U 10.1.24.27:5060 -> 10.1.24.19:5060
ACK sip:9999@10.1.24.19:5120;transport=tcp SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK0780bdbe;rport.
Route: sip:10.1.24.19:5060;lr;sipXecs-CallDest=PARK;sipXecs-rs=*auth~.*from~YXMxZjYxOWY5Yw``.900_ntap*id~MTE0NjgtMzQ`!7d9b41f11e46d3e0e04360d13759ce4f;x-sipX-done.
Max-Forwards: 70.
From: “8100” sip:8100@10.1.24.27;tag=as1f619f9c.
To: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
Contact: sip:8100@10.1.24.27:5060.
Call-ID: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
CSeq: 102 ACK.
User-Agent: FPBX-2.9.0(1.8.7.0).
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.10.27.100:5060
OPTIONS sip:8100@10.10.27.100 SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK31dce567.
Max-Forwards: 70.
From: “Unknown” sip:Unknown@10.1.24.27;tag=as40447acb.
To: sip:8100@10.10.27.100.
Contact: sip:Unknown@10.1.24.27:5060.
Call-ID: 4741285b07ef37251488a0d8721dccb0@10.1.24.27:5060.
CSeq: 102 OPTIONS.
User-Agent: FPBX-2.9.0(1.8.7.0).
Date: Tue, 30 Oct 2012 18:34:50 GMT.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Length: 0.
.

U 10.10.27.100:5060 -> 10.1.24.27:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK31dce567.
From: “Unknown” sip:Unknown@10.1.24.27;tag=as40447acb.
To: “EASYRUN” sip:8100@10.10.27.100;tag=90383E9B-69CC79FA.
CSeq: 102 OPTIONS.
Call-ID: 4741285b07ef37251488a0d8721dccb0@10.1.24.27:5060.
Contact: sip:8100@10.10.27.100.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE, NOTIFY, PRACK, UPDATE, REFER.
Supported: 100rel,replaces,100rel,timer,replaces,norefersub.
User-Agent: PolycomSoundPointIP-SPIP_670-UA/3.2.6.0314.
Accept-Language: en.
Accept: application/sdp,text/plain,message/sipfrag,application/dialog-info+xml.
Accept-Encoding: identity.
Content-Length: 0.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
INVITE sip:8100@10.1.24.27:5060;x-sipX-nonat SIP/2.0.
From: sip:9999@sip1.sip-s.pnmac.com;tag=QgLnO. To: "8100"<sip:8100@10.1.24.27>;tag=as1f619f9c. Call-Id: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060. Cseq: 1 INVITE. Contact: <sip:9999@10.1.24.19:5120;transport=tcp;x-sipX-nonat>. Content-Type: application/sdp. Content-Length: 190. Date: Tue, 30 Oct 2012 18:34:56 GMT. Max-Forwards: 19. User-Agent: sipXecs/4.4.0 sipXecs/park (Linux). Accept-Language: en. Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE. Supported: replaces. Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14f6OUag1FaNwLNkl1QYCAU_g.
Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-0037DlpUmXk7CQvsPnIBKPjRZQ;id=11468-34.
X-Sipx-Handled: X10.1.24.19-66.150.189.1.
.
v=0.
o=sipXecs 5 23 IN IP4 0.0.0.0.
s=phone-call.
c=IN IP4 0.0.0.0.
t=0 0.
m=audio 8000 RTP/AVP 0 8 101.
a=rtpmap:0 pcmu/8000/1.
a=rtpmap:8 pcma/8000/1.
a=rtpmap:101 telephone-event/8000/1.

U 10.1.24.27:5060 -> 10.1.24.19:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14f6OUag1FaNwLNkl1QYCAU_g;received=10.1.24.19;rport=5060. Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-0037DlpUmXk7CQvsPnIBKPjRZQ;id=11468-34. From: <sip:9999@sip1.sip-s.pnmac.com>;tag=QgLnO.
To: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
Call-ID: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
CSeq: 1 INVITE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:8100@10.1.24.27:5060.
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14f6OUag1FaNwLNkl1QYCAU_g;received=10.1.24.19;rport=5060. Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-0037DlpUmXk7CQvsPnIBKPjRZQ;id=11468-34. From: <sip:9999@sip1.sip-s.pnmac.com>;tag=QgLnO.
To: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
Call-ID: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
CSeq: 1 INVITE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:8100@10.1.24.27:5060.
Content-Type: application/sdp.
Content-Length: 256.
.
v=0.
o=root 1182769440 1182769441 IN IP4 10.1.24.27.
s=Asterisk PBX 1.8.7.0.
c=IN IP4 10.1.24.27.
t=0 0.
m=audio 17150 RTP/AVP 0 8 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.

U 10.1.24.19:5060 -> 10.1.24.27:5060
ACK sip:8100@10.1.24.27:5060 SIP/2.0.
Contact: sip:9999@10.1.24.19:5120;transport=tcp;x-sipX-nonat.
From: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
To: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
Call-Id: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
Cseq: 1 ACK.
Date: Tue, 30 Oct 2012 18:34:56 GMT.
Max-Forwards: 19.
User-Agent: sipXecs/4.4.0 sipXecs/park (Linux).
Accept-Language: en.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14f9Uj3hqRjCMO2Rs9XmwwvA0A.
Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-003akFAtcYUADreN9AEvWVChuQ.
Content-Length: 0.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
REFER sip:8100@10.1.24.27:5060 SIP/2.0.
From: sip:9999@sip1.sip-s.pnmac.com;tag=QgLnO. To: "8100"<sip:8100@10.1.24.27>;tag=as1f619f9c. Call-Id: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060. Cseq: 3 REFER. Contact: <sip:9999@10.1.24.19:5120;transport=tcp;x-sipX-nonat>. Referred-By: <sip:9999@sip1.sip-s.pnmac.com>. Refer-To: <sip:6201@sip-s.pnmac.com?REPLACES=897015da-19786ebd-f47721a0%4010.10.26.103%3Bto-tag%3DC1FE364E-5CA52731%3Bfrom-tag%3DVwzE82&REQUIRE=replaces&X-sipX-Authidentity=%3Csip%3A%7E%7Eid%7Epark%40sip-s.pnmac.com%3Bsignature%3D50901DD1%253A%253Ad2a5907cc7dc58803dccd123c74a62da%3E&REFERENCES=4be3a98537cbfcd35aeba4ce777b0fb9%4010.1.24.27%3A5060%3Brel%3Drefer>. References: 897015da-19786ebd-f47721a0@10.10.26.103;rel=xfer. Date: Tue, 30 Oct 2012 18:34:56 GMT. Max-Forwards: 19. User-Agent: sipXecs/4.4.0 sipXecs/park (Linux). Accept-Language: en. Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE. Supported: replaces. Proxy-Authorization: Digest username="~~id~park", realm="sip-s.pnmac.com", nonce="58d5ddd179b6ad65a307135fe5b33e7050901dd0", uri="sip:8100@10.1.24.27:5060", response="2752de5bdda2c3d05fe3455595a6ccfc", cnonce="W0hevo", qop=auth, nc=00000001. Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14fd8w38dOVBrNEHAwIGLBXrTA. Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-0040IeKqg`92LZUTmtVrh4Dbw;id=11468-34.
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
SIP/2.0 202 Accepted.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-14fd8w38dOVBrNEHAwIGLBXrTA;received=10.1.24.19;rport=5060.
Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-0040IeKqg92LZUTmtVrh4Dbw;id=11468-34.
From: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
To: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
Call-ID: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
CSeq: 3 REFER.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:8100@10.1.24.27:5060.
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
NOTIFY sip:9999@10.1.24.19:5120;transport=tcp SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK584e4555;rport.
Route: sip:10.1.24.19:5060;lr;sipXecs-CallDest=PARK;sipXecs-rs=*auth~.*from~YXMxZjYxOWY5Yw``.900_ntap*id~MTE0NjgtMzQ`!7d9b41f11e46d3e0e04360d13759ce4f;x-sipX-done.
Max-Forwards: 70.
From: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
To: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
Contact: sip:8100@10.1.24.27:5060.
Call-ID: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
CSeq: 103 NOTIFY.
User-Agent: FPBX-2.9.0(1.8.7.0).
Event: refer;id=3.
Subscription-state: terminated;reason=noresource.
Content-Type: message/sipfrag;version=2.0.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Length: 49.
.
SIP/2.0 481 Call leg/transaction does not exist.

U 10.1.24.19:5060 -> 10.1.24.27:5060
SIP/2.0 200 OK.
From: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
To: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
Call-Id: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
Cseq: 103 NOTIFY.
Contact: sip:9999@10.1.24.19:5120;transport=tcp.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK584e4555;rport=5060;id=11468-34.
Date: Tue, 30 Oct 2012 18:34:57 GMT.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE.
User-Agent: sipXecs/4.4.0 sipXecs/park (Linux).
Accept-Language: en.
Supported: replaces.
Content-Length: 0.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
INVITE sip:8100@10.1.24.27:5060 SIP/2.0.
From: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
To: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
Call-Id: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
Cseq: 4 INVITE.
Contact: sip:9999@10.1.24.19:5120;transport=tcp;x-sipX-nonat.
Content-Type: application/sdp.
Content-Length: 196.
Date: Tue, 30 Oct 2012 18:34:57 GMT.
Max-Forwards: 19.
User-Agent: sipXecs/4.4.0 sipXecs/park (Linux).
Accept-Language: en.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE.
Supported: replaces.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-1501h1I_WezwRBGZAMbZW5rlDA.
Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-0043ztI8ciKVHBq8C9sAhjoLgw;id=11468-34.
X-Sipx-Handled: X10.1.24.19-66.150.189.1.
.
v=0.
o=sipXecs 5 24 IN IP4 10.1.24.19.
s=phone-call.
c=IN IP4 10.1.24.19.
t=0 0.
m=audio 8000 RTP/AVP 0 8 101.
a=rtpmap:0 pcmu/8000/1.
a=rtpmap:8 pcma/8000/1.
a=rtpmap:101 telephone-event/8000/1.

U 10.1.24.27:5060 -> 10.1.24.19:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-1501h1I_WezwRBGZAMbZW5rlDA;received=10.1.24.19;rport=5060.
Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-0043ztI8ciKVHBq8C9sAhjoLgw;id=11468-34.
From: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
To: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
Call-ID: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
CSeq: 4 INVITE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:8100@10.1.24.27:5060.
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-1501h1I_WezwRBGZAMbZW5rlDA;received=10.1.24.19;rport=5060.
Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-0043ztI8ciKVHBq8C9sAhjoLgw;id=11468-34.
From: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
To: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
Call-ID: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
CSeq: 4 INVITE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Contact: sip:8100@10.1.24.27:5060.
Content-Type: application/sdp.
Content-Length: 256.
.
v=0.
o=root 1182769440 1182769442 IN IP4 10.1.24.27.
s=Asterisk PBX 1.8.7.0.
c=IN IP4 10.1.24.27.
t=0 0.
m=audio 17150 RTP/AVP 0 8 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.

U 10.1.24.19:5060 -> 10.1.24.27:5060
ACK sip:8100@10.1.24.27:5060 SIP/2.0.
Contact: sip:9999@10.1.24.19:5120;transport=tcp;x-sipX-nonat.
From: sip:9999@sip1.sip-s.pnmac.com;tag=QgLnO. To: "8100"<sip:8100@10.1.24.27>;tag=as1f619f9c. Call-Id: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060. Cseq: 4 ACK. Date: Tue, 30 Oct 2012 18:34:57 GMT. Max-Forwards: 19. User-Agent: sipXecs/4.4.0 sipXecs/park (Linux). Accept-Language: en. Via: SIP/2.0/UDP 10.1.24.19;branch=z9hG4bK-XX-1504LhDWIcwfFLwQWCd6Zqr8g.
Via: SIP/2.0/UDP 10.1.24.19:5120;branch=z9hG4bK-XX-0046MKrtb84UhCaKwQvzgQfk_g.
Content-Length: 0.
.

U 10.10.27.100:5060 -> 10.1.24.27:5060
BYE sip:6201@10.1.24.27:5060 SIP/2.0.
Via: SIP/2.0/UDP 10.10.27.100;branch=z9hG4bKedda5c97C6A78D0.
From: “EASYRUN” sip:8100@10.1.24.27;tag=3888C0C1-566EAD68.
To: sip:6201@10.1.24.27;user=phone;tag=as3aaf326d.
CSeq: 3 BYE.
Call-ID: 9908e9d5-5674cc6c-1189eed7@10.10.27.100.
Contact: sip:8100@10.10.27.100.
User-Agent: PolycomSoundPointIP-SPIP_670-UA/3.2.6.0314.
Accept-Language: en.
Authorization: Digest username=“8100”, realm=“asterisk”, nonce=“4500657f”, uri="sip:6201@10.1.24.27;user=phone", response=“5ae7594853e20bd0da54d37f820e9b53”, algorithm=MD5.
Max-Forwards: 70.
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.10.27.100:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.10.27.100;branch=z9hG4bKedda5c97C6A78D0;received=10.10.27.100.
From: “EASYRUN” sip:8100@10.1.24.27;tag=3888C0C1-566EAD68.
To: sip:6201@10.1.24.27;user=phone;tag=as3aaf326d.
Call-ID: 9908e9d5-5674cc6c-1189eed7@10.10.27.100.
CSeq: 3 BYE.
Server: FPBX-2.9.0(1.8.7.0).
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Length: 0.
.

U 10.1.24.27:5060 -> 10.1.24.19:5060
BYE sip:9999@10.1.24.19:5120;transport=tcp SIP/2.0.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK1ec9313f;rport.
Route: sip:10.1.24.19:5060;lr;sipXecs-CallDest=PARK;sipXecs-rs=*auth~.*from~YXMxZjYxOWY5Yw``.900_ntap*id~MTE0NjgtMzQ`!7d9b41f11e46d3e0e04360d13759ce4f;x-sipX-done.
Max-Forwards: 70.
From: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
To: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
Call-ID: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
CSeq: 104 BYE.
User-Agent: FPBX-2.9.0(1.8.7.0).
X-Asterisk-HangupCause: Normal Clearing.
X-Asterisk-HangupCauseCode: 16.
Content-Length: 0.
.

U 10.1.24.19:5060 -> 10.1.24.27:5060
SIP/2.0 200 OK.
From: "8100"sip:8100@10.1.24.27;tag=as1f619f9c.
To: sip:9999@sip1.sip-s.pnmac.com;tag=Qg`LnO.
Call-Id: 4be3a98537cbfcd35aeba4ce777b0fb9@10.1.24.27:5060.
Cseq: 104 BYE.
Contact: sip:9999@10.1.24.19:5120;transport=tcp.
Via: SIP/2.0/UDP 10.1.24.27:5060;branch=z9hG4bK1ec9313f;rport=5060.
Date: Tue, 30 Oct 2012 18:35:04 GMT.
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE.
User-Agent: sipXecs/4.4.0 sipXecs/park (Linux).
Accept-Language: en.
Supported: replaces.
Content-Length: 0.
.

exit
51 received, 0 dropped
[root@freepbx-s1 ~]#
[/code]

No INVITE should be sent. The target of a REFER replaces should be a call leg that already exists (and is identified for the replaces parameter). Asterisk, as back to back user agent, will be handling both sides, so the INVITE/replaces would be sent to itself. In practice it internally re-arranges the call, without any explicit SIP operations.

I have never investigated this in depth, but I believe it may be possible to tell Asterisk that only certain domain parts should be recognized as self, and I think it is possible that it will then actually send the INVITE/Replaces. However be warned that will be so rarely used that there may well be undiscovered bugs.