Massimo Nuvoli ha scritto:
> Kevin P. Fleming ha scritto:
>> Kyle Sexton wrote:
>>> Could you just set the variable in the part of the dialplan where they
>>> enter
>>> the queue and then reference it here?
>> Yes, that is the way to do this. Set a variable in the dialplan before
>> putting the _caller_ into the queue, and prefix the variable with at
>> least one underscore ('_'). This will cause the variable to be inherited
>> into the channel that is created to dial the queue member (agent).
> Sorry! when i read about the "channel variable" i forgot to check this
>  "_"... :-( i am sorry....
> Please wait until i made some test, if it is working i post my
> configuration here. :-)

when the channel is received:

exten => 123456789,n,SetVar(__CODA=coda1)

(note: TWO underscore "__" and not ONE)

in the callback:

exten => _6XXX,n,UserEvent(FOP_Popup|URL:
/cmgr/api/popup?e=${EXTEN:1}&cid=${CALLERIDNUM}&q=${CODA})

now is working!

Thnks to everyone helped me!

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to