VoIP: Asterisk Demo Dial Plan

From OnnoWiki
Revision as of 08:55, 22 January 2010 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

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)

exten => _00.,1,Set(enumresult=${ENUMLOOKUP(+${EXTEN:2},,,,e164.id)})
exten => _00.,n,Dial(SIP/${enumresult})

exten => _+.,1,Set(enumresult=${ENUMLOOKUP(${EXTEN},,,,e164.id)})
exten => _+.,n,Dial(SIP/${enumresult})


Pranala Menarik