<p>Hello Klaus,</p><p>thanks for your input; I was in fact able to determine that if you have queue members like<br></p><p>member =&gt; SIP/201</p><div class="gmail_quote">the SIP header will actually go through; while on members like</div>
<div class="gmail_quote"></div><div class="gmail_quote">member =&gt; Agent/101</div><div class="gmail_quote">member =&gt; Local/203@agents</div><div class="gmail_quote"></div><div class="gmail_quote">the header will NOT be propagated. But inheritable channel variables do, so I was able to do:</div>
<div class="gmail_quote"></div><div class="gmail_quote">exten =&gt; 411,1,Answer<br>exten =&gt; 411,2,Set(__MASTERID=${UNIQUEID})<br>exten =&gt; 411,3,Queue(test)<br><br></div><div class="gmail_quote">and then define</div>
<div class="gmail_quote"></div><div class="gmail_quote">[agents]</div><div class="gmail_quote">exten =&gt; _2XX,1,SipAddHeader(X-Master-ID: ${MASTERID})<br>exten =&gt; _2XX,2,Dial(SIP/${EXTEN}|300|m)<br><br>and this works fine with either Local and Agentcallback channels, thus covering all bases.<br>
</div><div class="gmail_quote"></div><div class="gmail_quote">Thanks a lot for your help!</div><div class="gmail_quote">l.</div><div class="gmail_quote"></div><div class="gmail_quote">2009/2/20 Klaus Darilion <span dir="ltr">&lt;<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
Lenz Emilitri schrieb:<br>
<div class="Ih2E3d">&gt; I think this is by design - each time the Dial() is performed, SIP<br>
&gt; headers are reset.<br>
<br>
</div>No.<br>
<br>
SIPAddHeader adds global channel variables to the incoming channel. Dial<br>
copies the global variables to the outgoing channel. If the outgoing<br>
channel is a SIP channel, the headers are added.<br>
<br>
Thus:<br>
SIPAddheader(sdfasdf);<br>
Dial(SIP/a)<br>
Dial(SIP/b)<br>
<br>
works fine - header is added twice.<br>
<br>
I suspect a bug inside the Queue application. How does Queue work? Does<br>
it internally use Dial() or does it have its own dial funcationality?<br>
<br>
<br>
regards<br>
klaus<br>
<div class="Ih2E3d"></div></blockquote></div><br clear="all"><br>-- <br>Loway - home of QueueMetrics - <a href="http://queuemetrics.com">http://queuemetrics.com</a><br><br>