[asterisk-users] Scope of variable

David Backeberg dbackeberg at gmail.com
Thu Jan 29 19:49:37 CST 2009


On Wed, Jan 28, 2009 at 2:48 PM, Jim Dickenson <dickenson at cfmc.com> wrote:
> I have this extension:
> exten => 1322,n,Playback(tt-weasels)

Clearly the problem is that "weasels have eaten [your] phone system". :-p

But really, you posted your 1322 condition, and then asked about
something happening with 1321. So you need to take a better look at
your extensions.conf and find out what is happening somewhere else.
Adding on variables you're not defining in your sample doesn't make it
any easier.

All I can say is that the 1322 condition is likely not the problem, or
at least not the problem you're asking about here. Try commenting it
out entirely, reload your dialplan, and do process of elimination
until you find the section of your dialplan you're actually having a
problem with.

You might also like to enable heavier debugging and confirm that when
you set those variables they end up with the values you think they
get, or your if's are going to eval differently, blah, blah, blah.



More information about the asterisk-users mailing list