Joined: Mon Jan 28, 2008 1:58 pm Posts: 9 Location: Buenos Aires, Argentina
|
Hello !
I need some help on reading a variable from Class.A2Billing.php and Class.RateEngine.php that I get in a2billing.php below my scenario:
In extensions.conf I have:
exten => s,3,DeadAGI(a2billing.php|${CALLERID(num)}|${EXTEN})
( I added the two parameters that I get with $argv[n] in a2billing.php )
In a2billing.php I added the following to read $argv[2], in this case ${EXTEN}:
$midnis = $argv[2]; // matias variable
$A2B -> matdnis = $midnis;
In Class.A2Billing.php I added to the Class the var $matdnis; so I can get the value it in Class.RateEngine.php that I got in argv[2] in a2billing.php.
Everything is working fine but I don't find a way to get in Class.A2Billing.php or Class.RateEngine.php the value of the variable that I have in a2billing.php .
Can anyone give me a hint on how to solve this ?
Thanks in advance !
Matias
|
|