Difference between revisions of "VoIP: Asterisk Demo Dial Plan"

From OnnoWiki
Jump to navigation Jump to search
Line 7: Line 7:
 
  exten => _20XX,1,Dial(SIP/${EXTEN},30,rt)
 
  exten => _20XX,1,Dial(SIP/${EXTEN},30,rt)
 
  exten => _20XX,2,HangUp
 
  exten => _20XX,2,HangUp
 
+
 
  exten => _021.,1,Dial(SIP/${EXTEN:3}@2031,20.rt)
 
  exten => _021.,1,Dial(SIP/${EXTEN:3}@2031,20.rt)
 
  exten => _08.,1,Dial(SIP/${EXTEN}@2031,20.rt)
 
  exten => _08.,1,Dial(SIP/${EXTEN}@2031,20.rt)

Revision as of 08:54, 22 January 2010

Edit

vi /etc/asterisk/extensions.conf

Isi di bagian paling bawah

exten => _20XX,1,Dial(SIP/${EXTEN},30,rt)
exten => _20XX,2,HangUp

exten => _021.,1,Dial(SIP/${EXTEN:3}@2031,20.rt)
exten => _08.,1,Dial(SIP/${EXTEN}@2031,20.rt)


Pranala Menarik