[Asterisk-Users] Using a variable for EXTEN

Alessio Focardi afoc at interconnessioni.it
Mon Jan 17 04:30:43 MST 2005


Hi,

I tried set up a global var for an extension, like this

[globals]

IPPHONES=_3XX

[sip]

exten=>${IPPHONES},1,Answer

What I would like to do is to make a dialplan without fixed extension
numbers to change the entire dialplan according to the customer
requests: what exten number do you want for your IP Phones ? let me change
a variable and we are set!

It seems that this is not supported, am I getting somethig wrong in
the syntax? There is another way to accomplish that ?

Tnx!

  

-- 
Best regards,
 Alessio                          mailto:afoc at interconnessioni.it




More information about the asterisk-users mailing list