<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I think they are intended to be there as long as you want them to be, up until they can be used in the cdr modules. If you are looking for this much control, you would have to set them off to other vars, use some scripting language to manipulate, or use some socket based control mechanism. <div><br></div><div>Mike</div><div><div><br></div><div><br><div><div>On Jan 22, 2010, at 10:47 AM, mayamatakeshi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><div class="gmail_quote">On Fri, Jan 22, 2010 at 11:17 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Have you done a uuid_dump to see all the variables?<br></blockquote><div><br>I just tried that with trunk. I can see the REFER variables stay set till the end of the call.<br>They will show up in CHANNEL_HANGUP_COMPLETE:<br>
<br>variable_sip_h_Referred-By: user2 <<a href="mailto:sip%3Auser2@test1.com">sip:user2@test1.com</a>><br>variable_sip_refer_to: <<a href="mailto:sip%3A2000@test1.com">sip:2000@test1.com</a>><br><br>I suppose the only thing that will change them is another blind refer. But they will never be unset.<br>
<br></div><blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; position: static; z-index: auto; ">
<br>
<div class="im"><br>
On Jan 22, 2010, at 5:22 AM, mayamatakeshi wrote:<br>
<br>
> Before doing so I thought in ask if the REFER-related variables being preserved upon dialplan reentry would not be a bug (well, it could be a feature useful in some scenarios I suspect).<br>
<br></div></blockquote></div></blockquote></div></div></div></body></html>