Hello list,

I am trying to set a custom SIP header on all calls that are made by the app
queue because I want to track a certain state at the SIP level.

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.

I know I could use Local channels as members of the queue, but I was
wondering if ther was something more general and that worked whatever your
channel configuration might be.

I also tried exporting the variable by setting the URL field of the queue()
call, but it is not shown in the resulting SIP dialog.

 Any suggestion but patching the source?

l.




-- 
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

Reply via email to