Hello List,<div>I'm seeing some odd issues on a few of my installs. This particular issue I've seen on both a recent trunk (few days ago) and 1.6.4-notls. I have two issues. I'm not sure if they are related; so I'm going to post them both in this email</div>
<div><br></div><div>I use uac_replace_* functions quite a bit. I'm not sure if that has any direct bearing on the issue. </div><div><br></div><div><div>First issue, BYEs don't seem to be routed WHEN the provider drops the port off the FROM URI in the BYE message.. For example.. If the ACK to the provider looked like this:</div>
<div><div>ACK <a href="http://sip:12012345678@22.33.12.41:5060">sip:12012345678@22.33.12.41:5060</a> SIP/2.0 </div><div>Via: SIP/2.0/UDP 11.22.33.147;branch=z9hG4bKe604.acce086.2 </div><div>Via: SIP/2.0/UDP 11.22.33.140;branch=z9hG4bKe604.2955a671.2 </div>
<div>Via: SIP/2.0/UDP 99.88.77:5010;received=99.88.77;branch=z9hG4bK1cb6dbbb;rport=5010 </div><div>From: "10000001234" <<span class="Apple-style-span" style="background-color: rgb(255, 255, 0); ">sip:10000001234@99.88.77</span>:<span class="Apple-style-span" style="background-color: rgb(255, 204, 0);">5010</span>>;tag=as21552672 </div>
<div>To: <<a href="http://sip:12012345678@11.22.33.147:5060">sip:12012345678@11.22.33.147:5060</a>>;tag=gK0296dd86 </div><div>Contact: <sip:10000001234@99.88.77:5010> </div><div>Call-ID: 6b2715755314cbb6427db86a7532a379@99.88.77 </div>
<div>CSeq: 103 ACK </div><div>Max-Forwards: 68 </div><div>Content-Length: 0 </div></div><div><br></div><div>Here's the BYE, notice the port is missing on the TO (This BYE is ignored)</div><div><div>BYE sip:10000001234@99.88.77:5010 SIP/2.0 </div>
<div>Via: SIP/2.0/UDP 22.33.12.41:5060;branch=z9hG4bK02B6745468476adab1b </div><div>From: "12012345678" <<a href="mailto:sip%3A12012345678@11.22.33.147">sip:12012345678@11.22.33.147</a>>;tag=gK0296dd86 </div>
<div>To: "10000001234" <<span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">sip:10000001234@99.88.77</span>>;tag=as21552672 </div><div>Call-ID: 6b2715755314cbb6427db86a7532a379@99.88.77 </div>
<div>CSeq: 6202 BYE </div><div>Max-Forwards: 70 </div><div>Route: <sip:11.22.33.147:5060;lr;ftag=as21552672;vst=AAAAAAELCQkDCwcCAwkAcwYCGXECHBwADAADBQ4UBAQGCjUwNjA-;did=d91.b2a40bc7> </div><div>Route: <sip:11.22.33.140:5060;lr=on> </div>
<div>Reason: Q.850;cause=16 </div><div>Content-Length: 0 </div><div> </div></div><div><br></div><div>Second issue, on auto-restore, I'm seeing "crap" inserted into the from header. </div><div>Call hanging up, BYE from provider</div>
<div>BYE sip:15161234567@76.216.204.224:47972;transport=udp SIP/2.0 </div><div>Via: SIP/2.0/UDP 22.33.44.41:5060;branch=z9hG4bK02Bc92370434d4b0988 </div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 0); ">From: "15125551212" <<a href="mailto:sip%3A15125551212@11.22.33.147">sip:15125551212@11.22.33.147</a>;transport=udp>;tag=gK02e9c8af </span></div>
<div>To: "15161234567" <<a href="mailto:sip%3A15161234567@11.22.33.140">sip:15161234567@11.22.33.140</a>>;tag=f357d61f </div><div>Call-ID: NjhjOWVmZWI3MzMyMTJkZDQyNDBhZmRmOTBiMzVlZmE. </div><div>CSeq: 18383 BYE </div>
<div>Max-Forwards: 70 </div><div>Route: <sip:11.22.33.147:5060;lr;ftag=f357d61f;vst=AAAAAAIFAQIDBQIBCggHcw8KGnECHBwADAADBQ4UBAQGMDt0cmFuc3BvcnQ9dWRw;did=643.afa2e58> </div><div>Route: <sip:11.22.33.140:5060;lr=on> </div>
<div>Reason: Q.850;cause=16 </div><div>Content-Length: 0 </div><div> </div><div>Relayed onto a opensips dispatcher (headed out to customer)</div><div><br></div><div>BYE sip:15161234567@76.216.204.224:47972;transport=udp SIP/2.0 </div>
<div>Via: SIP/2.0/UDP 11.22.33.147;branch=z9hG4bK926.6d22be12.0 </div><div>Via: SIP/2.0/UDP 22.33.44.41:5060;branch=z9hG4bK02Bc92370434d4b0988 </div><div><span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">From: "15125551212" <sip:300015125551212@11.22.33/pvg^H[04][1d][13][1a]N[05][0b][02]t=udp>;tag=gK02e9c8af </span></div>
<div>To: "15161234567" <<a href="mailto:sip%3A15161234567@11.22.33.140">sip:15161234567@11.22.33.140</a>>;tag=f357d61f </div><div>Call-ID: NjhjOWVmZWI3MzMyMTJkZDQyNDBhZmRmOTBiMzVlZmE. </div><div>CSeq: 18383 BYE </div>
<div>Max-Forwards: 69 </div><div>Route: <sip:11.22.33.140:5060;lr=on> </div><div>Reason: Q.850;cause=16 </div><div>Content-Length: 0 </div></div><div><br></div><div>Notice the even the uri-param transport=udp is messed up in mid-word (t=udp)</div>
<div><br></div><div><br></div><div>Any ideas here? It almost appears to be pre-3261 trans matching. But I wouldn't have expected that as a default..</div><div><br></div><div>Thanks,</div><div>Brett</div><div><br></div>