Ael

Asterisk for small office without web

Long time ago my friend asked to configure SIP server without any web-ui. As result I got next configuration which is a bit specific for Ukraine. extensions.ael context local { _1[1-3]XX => { Dial(SIP/${EXTEN},20,Tt); }; _NXXXXXX => { Set(CALLERID(all)=DEFAULT_TRUNK); Dial(SIP/${EXTEN}@DEFAULT_TRUNK,20,TtwW); }; _0NXXXXXXXX => { Set(CALLERID(all)=DEFAULT_TRUNK); Dial(SIP/${EXTEN}@DEFAULT_TRUNK,20,TtwW); }; _10[1-4] => { Set(CALLERID(all)=DEFAULT_TRUNK); Dial(SIP/${EXTEN}@DEFAULT_TRUNK,20,TtwW); }; _911 => { Set(CALLERID(all)=DEFAULT_TRUNK); Dial(SIP/${EXTEN}@DEFAULT_TRUNK,20,TtwW); }; _15XX => { Set(CALLERID(all)=DEFAULT_TRUNK); Dial(SIP/${EXTEN}@DEFAULT_TRUNK,20,TtwW); }; _00.