This is basically GET VARIABLE for "full" $-expressions:
- GET FULL VARIABLE ${foo} is equivalent to GET VARIABLE foo
- GET FULL VARIABLE ${func(bar)} is equivalent to GET VARIABLE func(bar)
- GET FULL VARIABLE $[expr] has no GET VARIABLE equivalent
Note that in some bugged version of Asterisk 1.2, GET FULL VARIABLE was the only way to retrieve global dialplan variables.
Returns:
failure or not set: 200 result=0
success: 200 result=1 <value>
See also
Go back to Asterisk AGI
Page Changes
Return Buil-in Expression
GET FULL VARIABLE PBX_IN_DID SIP/7854-09c3f8c8
and
GET FULL VARIABLE ${PBX_IN_DID} SIP/7854-09c3f8c8
In first case GetFullVariable onli check if variable PBX_IN_DID exist (yust like say "200 result=1 (PBX_IN_DID) "), in the second case GetFullVariable construct the variable and return the content of PBX_IN_DID
what should I expect?
GET FULL VARIABLE PBX_IN_DID SIP/7854-09c3f8c8
and I get
200 result=1 (PBX_IN_DID)
Is this a bug ?