So does anyone have any other thoughts about this? I've done some searching through the bug tracker for Asterisk but haven't seen anything related to refer's failing. Does anyone know of a specific issue number for this? If not, is this a valid bug to submit? Also, does anyone remember an Asterisk version that this worked on?<div>
<br></div><div>Thanks all!</div><div>
<br><br><div class="gmail_quote">On Fri, Mar 4, 2011 at 1:35 PM, Louis Carreiro <span dir="ltr"><<a href="mailto:carreirolt@gmail.com">carreirolt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Ha! Thanks Vip!<br>
<br>
Sorry about not including my version numbers too. On my production box I'm<br>
using 1.8.3 (that's the debug from the original email). On my demo box I<br>
just build I'm using 1.8 SVN-trunk-r309404 and that's what generated these<br>
logs. I'm not sure if this is a chan_sip.c problem or if this is a dial<br>
plan problem.<br>
<br>
So digging in a bit deeper, Asterisk is receving the real REFER message.<br>
</div>The "REFER-TO:<br>
<div class="im"><sip:Lyncserver.internal.domain:5067;transport=Tls;ms-opaque=3bb3da5834ad2<br>
</div>787?REPLACES=aa6f8871-4151-4149-ad5a-29ab941bf4d0%3Bfrom-tag%3D9227b8a39d%<br>
<div class="im">3Bto-tag%3D8be38bb187>" is accurate and in chan_sip.c it knows how to<br>
manipulate it. It does grab the "from-tag" and "to-tag" and parses the<br>
data. On one of the lines below you can see it says "Looking for Call<br>
ID: <a href="http://655e28eb45e0db7639856ec92ca88909@10.10.10.10:5060" target="_blank">655e28eb45e0db7639856ec92ca88909@10.10.10.10:5060</a> (Checking From)<br>
--From tag 15826bef52 --To-tag as41bacc0b". Then it moves on to bridging<br>
the peers/channels together. It's not until later that I get the final "<br>
SIP/2.0 481 Call leg/transaction does not exist" which doesn't make sense<br>
to me. Also, the Lync client says "Call was not transferred because<br>
[Original Extension] cannot be reached and may be offline."<br>
<-------- SNIP ---------></div></blockquote></div></div>