On Thu, Oct 30, 2008 at 9:34 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Brett,<br>
<br>
Yes, the BYE is sent again to your opensips, because, as Inaki said, the incoming BYE has a bogus RURI - it has to be the contact from the INVITE, but you can see it actually points to our own server. This confuses opensips which thinks the previous hop was a strict router.<br>
<br>
Check with the with the next public hope as they screw up the INVITE contact (which propagates into BYE RURI)<br>
<br>
Regards,<br>
Bogdan<br>
<br></blockquote></div><br>Bogdan,<br>The next public hop is the provider. Are you saying that I'm sending them an INVITE with a bad Contact header? I'm not sure where you are saying the bad header is.. The contact header I send to them in the INVITE looks like this:<br>
<ol><li class="li1"><div class="de1">U <span class="nu0">62.175</span><span class="nu0">.182</span><span class="nu0">.141</span>:<span class="nu0">5060</span> -> <span class="nu0">195.62</span><span class="nu0">.163</span><span class="nu0">.131</span>:<span class="nu0">5060</span></div>
</li><li class="li1"><div class="de1">INVITE sip:<span class="nu0">17475551212</span>@<span class="nu0">195.62</span><span class="nu0">.163</span><span class="nu0">.131</span>:<span class="nu0">5060</span>;transport=udp SIP/<span class="nu0">2.0</span>.</div>
</li><li class="li1"><div class="de1">Record-Route: <sip:<span class="nu0">62.175</span><span class="nu0">.182</span><span class="nu0">.141</span>;r2=on;lr;ftag=1c2145666146;did=fe6.729dae35>.</div></li><li class="li1">
<div class="de1">Record-Route: <sip:<span class="nu0">10.10</span><span class="nu0">.65</span><span class="nu0">.141</span>;r2=on;lr;ftag=1c2145666146;did=fe6.729dae35>.</div></li><li class="li2"><div class="de2">Via: SIP/<span class="nu0">2.0</span>/UDP <span class="nu0">62.175</span><span class="nu0">.182</span><span class="nu0">.141</span>;branch=z9hG4bKac82.22c28106<span class="nu0">.0</span>.</div>
</li><li class="li1"><div class="de1">Via: SIP/<span class="nu0">2.0</span>/UDP <span class="nu0">10.10</span><span class="nu0">.67</span><span class="nu0">.190</span>;branch=z9hG4bKac2145676337.</div></li><li class="li1">
<div class="de1">Max-Forwards: <span class="nu0">69</span>.</div></li><li class="li1"><div class="de1">From: <sip:<span class="nu0">15125551234</span>@dvm2-vxgw<span class="nu0">-1</span>.<a href="http://sfba.mydomain.net">sfba.mydomain.net</a>>;tag=1c2145666146.</div>
</li><li class="li1"><div class="de1">To: <sip:<span class="nu0">17475551212</span>@<span class="nu0">10.10</span><span class="nu0">.65</span><span class="nu0">.141</span>>.</div></li><li class="li2"><div class="de2">
Call-ID: <span class="nu0">214566535627102008205744</span>@<span class="nu0">10.10</span><span class="nu0">.67</span><span class="nu0">.190</span>.</div></li><li class="li1"><div class="de1">CSeq: <span class="nu0">1</span> INVITE.</div>
</li><li class="li1"><div class="de1">Contact: <sip:<span class="nu0">15125551234</span>@<span class="nu0">10.10</span><span class="nu0">.67</span><span class="nu0">.190</span>:<span class="nu0">5060</span>>.</div></li>
<li class="li1"><div class="de1">Supported: em,100rel,timer,replaces,path,early-session,resource-priority.</div></li><li class="li1"><div class="de1">Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE.</div>
</li><li class="li2"><div class="de2">Remote-Party-ID: <sip:<span class="nu0">15125551234</span>@<span class="nu0">10.10</span><span class="nu0">.65</span><span class="nu0">.141</span>>;party=calling;privacy=off;screen=no;npi=<span class="nu0">0</span>;ton=<span class="nu0">0</span>.</div>
</li><li class="li1"><div class="de1">Remote-Party-ID: <sip:<span class="nu0">17475551212</span>@<span class="nu0">10.10</span><span class="nu0">.65</span><span class="nu0">.141</span>>;party=called;npi=<span class="nu0">0</span>;ton=<span class="nu0">0</span>.</div>
</li><li class="li1"><div class="de1">x-channel: ds/ds1<span class="nu0">-5</span>/<span class="nu0">6</span>;IP=<span class="nu0">10.10</span><span class="nu0">.67</span><span class="nu0">.190</span>.</div></li><li class="li1">
<div class="de1">User-Agent: dvm2-vxgw<span class="nu0">-1</span>/v<span class="nu0">.5</span>.20A<span class="nu0">.048</span><span class="nu0">.006</span>.</div></li><li class="li1"><div class="de1">Content-Type: application/sdp.</div>
</li><li class="li2"><div class="de2">Content-Disposition: session.</div></li><li class="li1"><div class="de1">Content-Length: <span class="nu0">271</span>.</div></li></ol>Contact: <sip:<span class="nu0">15125551234</span>@<span class="nu0">10.10</span><span class="nu0">.67</span><span class="nu0">.190</span>:<span class="nu0">5060</span>> Looks right to me? Is it not?<br>
<br>Then the BYE from the Provider has a RURI that looks like this:<br><ol><li class="li2"><div class="de2">U <span class="nu0">195.62</span><span class="nu0">.163</span><span class="nu0">.131</span>:<span class="nu0">5060</span> -> <span class="nu0">62.175</span><span class="nu0">.182</span><span class="nu0">.141</span>:<span class="nu0">5060</span></div>
</li><li class="li1"><div class="de1">BYE sip:<span class="nu0">15125551234</span>@<span class="nu0">62.175</span><span class="nu0">.182</span><span class="nu0">.141</span>:<span class="nu0">5060</span> SIP/<span class="nu0">2.0</span>.</div>
</li><li class="li1"><div class="de1">Record-Route: <sip:<span class="nu0">195.62</span><span class="nu0">.163</span><span class="nu0">.131</span>;lr;ftag=BDA2FF96-481D6819>.</div></li><li class="li1"><div class="de1">
Via: SIP/<span class="nu0">2.0</span>/UDP <span class="nu0">195.62</span><span class="nu0">.163</span><span class="nu0">.131</span>;branch=z9hG4bKac82.9acd04c3<span class="nu0">.0</span>.</div></li><li class="li1"><div class="de1">
Via: SIP/<span class="nu0">2.0</span>/UDP <span class="nu0">76.235</span><span class="nu0">.229</span><span class="nu0">.126</span>;branch=z9hG4bKf2ef284024BE6DBB.</div></li><li class="li2"><div class="de2">From: <sip:<span class="nu0">17475551212</span>@<span class="nu0">10.10</span><span class="nu0">.65</span><span class="nu0">.141</span>>;tag=BDA2FF96-481D6819.</div>
</li><li class="li1"><div class="de1">To: <sip:<span class="nu0">15125551234</span>@dvm2-vxgw<span class="nu0">-1</span>.<a href="http://sfba.mydomain.net">sfba.mydomain.net</a>>;tag=1c2145666146.</div></li><li class="li1">
<div class="de1">Route: <sip:<span class="nu0">62.175</span><span class="nu0">.182</span><span class="nu0">.141</span>;r2=on;lr;ftag=1c2145666146;did=fe6.729dae35>, <sip:<span class="nu0">10.10</span><span class="nu0">.65</span><span class="nu0">.141</span>;r2=on;lr;ftag=1c2145666146;did=fe6.729dae35>.</div>
</li><li class="li1"><div class="de1">CSeq: <span class="nu0">1</span> BYE.</div></li><li class="li1"><div class="de1">Call-ID: <span class="nu0">214566535627102008205744</span>@<span class="nu0">10.10</span><span class="nu0">.67</span><span class="nu0">.190</span>.</div>
</li><li class="li2"><div class="de2">Contact: <sip:<span class="nu0">17475551212</span>@<span class="nu0">76.235</span><span class="nu0">.229</span><span class="nu0">.126</span>>.</div></li><li class="li1"><div class="de1">
User-Agent: PolycomSoundPointIP-SPIP_320-UA/<span class="nu0">2.1</span><span class="nu0">.1</span><span class="nu0">.0037</span>.</div></li><li class="li1"><div class="de1">Max-Forwards: <span class="nu0">69</span>.</div>
</li><li class="li1"><div class="de1">Content-Length: <span class="nu0">0</span>.</div></li><li class="li1"><div class="de1">RemoteIP: <span class="nu0">76.235</span><span class="nu0">.229</span><span class="nu0">.126</span>.</div>
</li><li class="li2"><div class="de2">P-hint: rr-enforced.</div></li></ol><br><br><br><style></style>