[Asterisk-Users] Variables In a Context

Simon simon at orbital.net
Mon Aug 9 04:26:51 MST 2004


Morning all

This is probably so simple but.

I have a need to set 3 values within each context ( extensions.conf ) .

It would appear that this can normally only be done when an exten is called
using SetVar / Global.

Is this right ?  Can i set these values for use at any time ?

Why do i need to do this ?
I have a different context for each customer , they have their own account
code / userfield details.

In each context i include some dialling rules dependent on their local area
code when they dial i need to insert THEIR values into the db.This include
is used for many different customer's

Hope this makes sense.

Best Regards
Simon





More information about the asterisk-users mailing list