Michael George
2005-Apr-13 14:10 UTC
[Asterisk-Users] DISA() and predefined ACCOUNTCODE variable
I am working on my dialplan, and I have come across many cool uses of DISA()
internally to generate dailtone at specific places where I want it. Works
quite well.
However, now I'm adding stuff to the dialplan that requires me to use the
ACCOUNTCODE predefined variable. Once I call DISA(), the subsequent
operations have an empty string for ${ACCOUNTCODE}. That seems odd.
I've checked the wiki and mailing list, but I don't see anything which
seem to
relate to it.
running: CVS-v1-0-02/15/05
Thanks!
--
-M
There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
On Wed, Apr 13, 2005 at 05:10:06PM -0400, Michael George wrote:> I am working on my dialplan, and I have come across many cool uses of DISA() > internally to generate dailtone at specific places where I want it. Works > quite well. > > However, now I'm adding stuff to the dialplan that requires me to use the > ACCOUNTCODE predefined variable. Once I call DISA(), the subsequent > operations have an empty string for ${ACCOUNTCODE}. That seems odd. > > I've checked the wiki and mailing list, but I don't see anything which seem to > relate to it. > > running: CVS-v1-0-02/15/05I am surprised that I have not heard anything back on this. Perhaps my subject wasn't very good. In essence, I am finding that after a call to DISA(), the ACCOUNTCODE variable has been nullified. Is that expected behavior? Is there any way around it? Thank you. -- -M There are 10 kinds of people in this world: Those who can count in binary and those who cannot.