Hi,
I am setting HASH value in my PHPAGI file but unable to access its value in my Asterisk Dialplan
below is my code snippet:
PHP-AGI(PHP file)
$agi->set_variable(“HASH(0, div)”, “1234567”);
extensions.conf
exten => _X.,n,NoOp(${HASH(0,div}))
Hi,
I am setting HASH value in my PHPAGI file but unable to access its value in my Asterisk Dialplan
below is my code snippet:
PHP-AGI(PHP file)
$agi->set_variable(“HASH(0, div)”, “1234567”);
extensions.conf
exten => _X.,n,NoOp(${HASH(0,div}))
If you run Dumpchan() after you return from your AGI do you see the variable in the list returned?
No but it is showing empty
Application= DumpChan
Data= (Empty)
Sorry I was doing in a wrong way now all values are dumping using the correct method… Thanks for your time and help
but now the problem is if I will be having multiple rows then how can we achieve this because it is showing only 1 row data