Re: [asterisk-users] Setting SIP header on agent calls made by a queue

2009-02-20 Thread Lenz Emilitri
Hello Klaus, thanks for your input; I was in fact able to determine that if you have queue members like member = SIP/201 the SIP header will actually go through; while on members like member = Agent/101 member = Local/2...@agents the header will NOT be propagated. But inheritable channel

Re: [asterisk-users] Setting SIP header on agent calls made by a queue

2009-02-20 Thread Benny Amorsen
Lenz Emilitri lenz.lo...@gmail.com writes: I was in fact able to determine that if you have queue members like member = SIP/201 the SIP header will actually go through; while on members like member = Agent/101 member = Local/2...@agents the header will NOT be propagated. Very

Re: [asterisk-users] Setting SIP header on agent calls made by a queue

2009-02-19 Thread Klaus Darilion
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

[asterisk-users] Setting SIP header on agent calls made by a queue

2009-02-18 Thread Lenz Emilitri
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

Re: [asterisk-users] Setting SIP header on agent calls made by a queue

2009-02-18 Thread Danny Nicholas
To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Setting SIP header on agent calls made by a queue 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

Re: [asterisk-users] Setting SIP header on agent calls made by a queue

2009-02-18 Thread Benny Amorsen
Lenz Emilitri lenz.lo...@gmail.com 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

Re: [asterisk-users] Setting SIP header on agent calls made by a queue

2009-02-18 Thread Lenz Emilitri
I think this is by design - each time the Dial() is performed, SIP headers are reset. l. 2009/2/18 Benny Amorsen benny+use...@amorsen.dk benny%2buse...@amorsen.dk Lenz Emilitri lenz.lo...@gmail.com writes: If I use the following code: exten = s,n,SIPAddHeader(X-Unique-ID: ${UNIQUEID})

Re: [asterisk-users] Setting SIP header on agent calls made by a queue

2009-02-18 Thread Lenz Emilitri
. -- *From:* asterisk-users-boun...@lists.digium.com [mailto: asterisk-users-boun...@lists.digium.com] *On Behalf Of *Lenz Emilitri *Sent:* Wednesday, February 18, 2009 3:05 AM *To:* Asterisk Users Mailing List - Non-Commercial Discussion *Subject:* [asterisk-users] Setting SIP header on agent calls