Difference between revisions of "Implementasi ENUM di Asterisk 1.6"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Naga-naganya ENUM di Asterisk 1.6 masih bermasalah. Bagi anda yang memiliki jiwa hacker di persilahkan untuk mencoba & membongkar langsung source code enum.c:) .. | + | Naga-naganya [[ENUM]] di Asterisk 1.6 masih bermasalah. Bagi anda yang memiliki jiwa hacker di persilahkan untuk mencoba & membongkar langsung [[source code]] enum.c:) .. |
Line 5: | Line 5: | ||
==Edit /etc/asterisk/enum.conf== | ==Edit /etc/asterisk/enum.conf== | ||
− | Edit /etc/asterisk/enum.conf dan masukan top level domain dari [[ENUM]] yang anda inginkan, misalnya | + | Edit /etc/asterisk/enum.conf dan masukan top level domain dari [[ENUM]] yang anda inginkan, |
+ | |||
+ | vi /etc/asterisk/enum.conf | ||
+ | |||
+ | misalnya | ||
search e164.arpa | search e164.arpa | ||
Line 14: | Line 18: | ||
==Edit /etc/asterisk/extensions.conf== | ==Edit /etc/asterisk/extensions.conf== | ||
− | + | Asumsi ENUM menggunakan top level domain .e164.id. Maka pada extensions.conf menggunakan, | |
− | exten => _00.,1,Set(enumresult=${ENUMLOOKUP(+${EXTEN:2},,,,e164 | + | exten => _00.,1,Set(enumresult=${ENUMLOOKUP(+${EXTEN:2},,,,e164.id)}) |
exten => _00.,n,Dial(SIP/${enumresult}) | exten => _00.,n,Dial(SIP/${enumresult}) | ||
− | + | ||
− | exten => _+.,1,Set(enumresult=${ENUMLOOKUP(${EXTEN},,,,e164 | + | exten => _+.,1,Set(enumresult=${ENUMLOOKUP(${EXTEN},,,,e164.id)}) |
exten => _+.,n,Dial(SIP/${enumresult}) | exten => _+.,n,Dial(SIP/${enumresult}) | ||
− | |||
− | |||
− | |||
==Keterangan yang ada di source code asterisk 1.6== | ==Keterangan yang ada di source code asterisk 1.6== | ||
Line 65: | Line 66: | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
+ | * [[Konsep Dasar ENUM]] | ||
+ | * [[Implementasi ENUM]] | ||
+ | * [[Implementasi ENUM Server | Implementasi ENUM Server di Ubuntu]] | ||
+ | * [[Implementasi ENUM di Asterisk 1.6]] | ||
+ | * [[VoIP: ENUM Demo Data]] | ||
+ | * [[VoIP: ENUM Test Server ENUM]] | ||
+ | * [[VoIP: Softswitch / Server Internet Telepon]] | ||
* [[Asterisk Softswitch]] | * [[Asterisk Softswitch]] | ||
+ | * [[VoIP: Interkoneksi dan Alokasi Nomor Telepon]] | ||
+ | * [[VoIP: Nomor Telepon Washington State Gratis]] | ||
+ | * [[VoIP: Nomor Gratis Negara Internet +882]] | ||
+ | * [[VoIP: Menggunakan ENUM VoIP Rakyat]] | ||
* [[VoIP]] | * [[VoIP]] | ||
+ | |||
+ | [[Category: VoIP]] | ||
+ | [[Category: Internet Telepon]] | ||
+ | [[Category: DNS]] | ||
+ | [[Category: ENUM]] |
Latest revision as of 15:48, 10 May 2010
Naga-naganya ENUM di Asterisk 1.6 masih bermasalah. Bagi anda yang memiliki jiwa hacker di persilahkan untuk mencoba & membongkar langsung source code enum.c:) ..
Edit /etc/asterisk/enum.conf
Edit /etc/asterisk/enum.conf dan masukan top level domain dari ENUM yang anda inginkan,
vi /etc/asterisk/enum.conf
misalnya
search e164.arpa serach e164.or.id search e164.id
Edit /etc/asterisk/extensions.conf
Asumsi ENUM menggunakan top level domain .e164.id. Maka pada extensions.conf menggunakan,
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})
Keterangan yang ada di source code asterisk 1.6
Keterangan yang di ambil dari Source Code adalah sebagai berikut,
name = "ENUMQUERY", synopsis = "Initiate an ENUM query", syntax = "ENUMQUERY(number[,Method-type[,zone-suffix]])", desc = "This will do a ENUM lookup of the given phone number.\n" "If no method-tpye is given, the default will be sip. If no\n" "zone-suffix is given, the default will be \"e164.arpa\".\n" "The result of this function will be a numeric ID that can\n" "be used to retrieve the results using the ENUMRESULT function.\n",
name = "ENUMRESULT", synopsis = "Retrieve results from a ENUMQUERY", syntax = "ENUMRESULT(id,resultnum)", desc = "This function will retrieve results from a previous use\n" "of the ENUMQUERY function.\n" " id - This argument is the identifier returned by the ENUMQUERY function.\n" " resultnum - This is the number of the result that you want to retrieve.\n" " Results start at 1. If this argument is specified as \"getnum\",\n" " then it will return the total number of results that are available.\n",
name = "ENUMLOOKUP", synopsis = "General or specific querying of NAPTR records for ENUM or ENUM-like DNS pointers", syntax = "ENUMLOOKUP(number[,Method-type[,options[,record#[,zone-suffix]]]])", desc = "Option 'c' returns an integer count of the number of NAPTRs of a certain RR type.\n" "Combination of 'c' and Method-type of 'ALL' will return a count of all NAPTRs for the record.\n" "Defaults are: Method-type=sip, no options, record=1, zone-suffix=e164.arpa\n\n" "For more information, see doc/asterisk.pdf",
Pranala Menarik
- Konsep Dasar ENUM
- Implementasi ENUM
- Implementasi ENUM Server di Ubuntu
- Implementasi ENUM di Asterisk 1.6
- VoIP: ENUM Demo Data
- VoIP: ENUM Test Server ENUM
- VoIP: Softswitch / Server Internet Telepon
- Asterisk Softswitch
- VoIP: Interkoneksi dan Alokasi Nomor Telepon
- VoIP: Nomor Telepon Washington State Gratis
- VoIP: Nomor Gratis Negara Internet +882
- VoIP: Menggunakan ENUM VoIP Rakyat
- VoIP