Thanks. May be I wasn't clear enough.
I have local IAX users as well as remote IAX users (local means to the local network and remote means off net). When I define their profile in iax.conf, I would like to set a variable like LOCAL=1 or LOCAL=0 so that in extensions.conf, I could access them as ${LOCAL}, but LOCAL is never defined in extensions.conf. Instead it is defined in iax.conf.
I haven't seen any facilities to define variables in iax.conf, so that's why I asked.
Thanks, Daniel
On May 10, 2005, at 7:14 PM, Alfredo Manrique wrote:
In extensions.conf in the general section you can create globals like:
JOHN=IAX2/1234
And then use ${JOHN} in your dial plan to use that device.
Alfredo.
On 5/10/05, Daniel Salama <[EMAIL PROTECTED]> wrote:
Is it possible to set a variable for an IAX device in iax.conf that can be read from the dial plan (extensions.conf)? If so, can you explain?
Thanks, Daniel _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
