Author Topic: Can't set values with UserEvent for the call  (Read 408 times)

emel_punk

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
    • View Profile
    • Email
Can't set values with UserEvent for the call
« on: November 28, 2017, 22:15:10 »
Greetings


I have a partial code where I need to check some values and change it before the calls is make, so in my context "RTM-Marcar"  I try to change it with:

exten => _9876XXXXXXX.,n,UserEvent(CALLSTATUS,Uniqueid:${UNIQUEID},V:PROGRAMADOFUTURO)
exten => _9876XXXXXXX.,n,UserEvent(ATTRIBUTE,Uniqueid:${UNIQUEID},INTENTO:1)

But after the call is done, INTENTO and V aren't changed, According to the manual I can set up the value established from the call and will be stored in the result of the call with UserEvent. But nothing happens.

Any ideas?