Lenz Emilitri schrieb: > I think this is by design - each time the Dial() is performed, SIP > headers are reset.
No. SIPAddHeader adds global channel variables to the incoming channel. Dial copies the global variables to the outgoing channel. If the outgoing channel is a SIP channel, the headers are added. Thus: SIPAddheader(sdfasdf); Dial(SIP/a) Dial(SIP/b) works fine - header is added twice. I suspect a bug inside the Queue application. How does Queue work? Does it internally use Dial() or does it have its own dial funcationality? regards klaus > l. > 2009/2/18 Benny Amorsen <[email protected] > <mailto:benny%[email protected]>> > > Lenz Emilitri <[email protected] <mailto:[email protected]>> > writes: > > > If I use the following code: > > > > exten => s,n,SIPAddHeader(X-Unique-ID: ${UNIQUEID}) > > exten => s,n,Queue(myQueue) > > > > this works fine for the FIRST call made from the queue to an > agent; but if > > that call does not go through, it's not repeated on subsequent > calls. > > That sounds like a bug to me. > > > /Benny > > > > > -- > Loway - home of QueueMetrics - http://queuemetrics.com > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
