[Asterisk-Users] dialplan "not ${VARIABLE}

Ronald Wiplinger ronald at elmit.com
Tue Dec 28 03:16:57 MST 2004


I try to use my dialplan more general usable, ...
I defined the varable: 
COUNTRYCODE=886  (Taiwan)
LOCALAREA=2  (Taipei)


To avoid any changes in the dialplan I would like to NOT allow to dial 
the areacode I am in:

Is something like    _9(N-${LOCALAREA})     available?
(above should give me 9[3456789]  and in LOCALAREA=4: 9[2356789])

Thanks for your hint!

bye

Ronald





More information about the asterisk-users mailing list