Monthly Archives: August 2013

OPERATOR A VS B – 2:1- ASTERISK DIALPLAN + MYSQL


PERBANDINGAN CALL OPERATOR_A && OPERATOR_B

[ecentrix-agents]
exten => _08[125][123]X.,1,NoOp(TELKOMSEL)
exten => _08[125][123]X.,n,MYSQL(Connect connid localhost dbuser dbpassword operator_counter)
exten => _08[125][123]X.,n,MYSQL(Query resultid ${connid} update t_counter set counter = counter + 1 where id=’0′)
exten => _08[125][123]X.,n,MYSQL(Query resultid ${connid} select IF(MOD(counter,3)=0,’OPERATOR_A’,’commsol’) as curr_operator from t_counter)
exten => _08[125][123]X.,n,MYSQL(Fetch foundrow ${resultid} curr_operator)
exten => _08[125][123]X.,n,MYSQL(Disconnect ${connid})
exten => _08[125][123]X.,n,NoOp(CURR_OPERATOR: ${curr_operator})
exten => _08[125][123]X.,n,GotoIf($[ “${curr_operator}” = “OPERATOR_A” ]?dlpn-OPERATOR_A,${EXTEN},1:dlpn-OPEARTOR_B,${EXTEN},1)

 

[dlpn-OPERATOR_B]
exten => _XXXXXXX.,1,NoOp(OPERATOR_A)
exten => _XXXXXXX.,n,Set(GROUP()=OPERATOR_A)
exten => _XXXXXXX.,n,NoOp(COUNT OPERATOR_A = ${GROUP_COUNT(OPERATOR_A)})
exten => _XXXXXXX.,n,Set(A_NUMBER=62${FILTER(0-9,${EXTEN:1})})
exten => _XXXXXXX.,n,Dial(SIP/73626${A_NUMBER}@OPERATOR_A,,tT)
exten => _XXXXXXX.,n,NoOp(HANGUPCAUSE OPERATOR_A=${HANGUPCAUSE} DAN DIALSTATUS OPERATOR_A =${DIALSTATUS})
exten => _XXXXXXX.,n,Hangup()

[dlpn-OPERATOR_A]
exten => _XXXXXXX.,1,NoOp(OPERATOR_A)
exten => _XXXXXXX.,n,Set(GROUP()=OPERATOR_A)
exten => _XXXXXXX.,n,NoOp(COUNT OPERATOR_A = ${GROUP_COUNT(OPERATOR_A)})
exten => _XXXXXXX.,n,Set(CALLERID(all)=8899 <8899>)
exten => _XXXXXXX.,n,Dial(SIP/${FILTER(0-9,${EXTEN})}@192.168.0.1,,tT)
exten => _XXXXXXX.,n,NoOp(HANGUPCAUSE OPERATOR_A=${HANGUPCAUSE} DAN DIALSTATUS OPERATOR_A =${DIALSTATUS})
exten => _XXXXXXX.,n,Hangup()
db operator_counter

t_counter CREATE TABLE `t_counter` (
`id` int(1) NOT NULL,
`counter` int(11) DEFAULT ‘1’,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1

CENTOS + Fix out of order network interfaces in Linux


[root@tester1 ~]# cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?*”, ATTR{address}==”08:00:27:02:7c:43″, ATTR{type}==”1″, KERNEL==”eth*”, NAME=”eth0″

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?*”, ATTR{address}==”08:00:27:b8:1b:75″, ATTR{type}==”1″, KERNEL==”eth*”, NAME=”eth1″
[root@tester1 ~]#

[root@tester1 ~]# rm -rf  /etc/udev/rules.d/70-persistent-net.rules

[root@tester1 ~]# rm -rf /etc/sysconfig/network-script/ifcg-eth[23]

[root@tester1 ~]# reboot

WELLGATE (TFTP CLIENT)


telnet welgate

login  : root : root

__dmctw
/apps/wwwroot
# cd /apps/wwwroot/
# pwd
/apps/wwwroot
#ls -l

TFTP SERVER
yum install tftp tftp-server xinetd

[root@localhost tftpboot]# vim /etc/xinetd.d/tftp

service tftp
{
socket_type             = dgram
protocol                = udp
wait                    = yes
user                    = root
server                  = /usr/sbin/in.tftpd
server_args             = -c -s /var/lib/tftpboot
disable                 = no
per_source              = 11
cps                     = 100 2
flags                   = IPv4
}

save!!

[root@localhost tftpboot]# /etc/init.d/xinetd start
[root@localhost tftpboot]# netstat -tulpn | grep 69
udp        0      0 0.0.0.0:69                  0.0.0.0:*                               3370/xinetd

mkdir -p /var/lib/tftpboot
chmod -R 777 /var/lib/tftpboot

Example Tranfer File From WG to Linux

tftp -p -r advance.asp 192.168.0.152

H323 ASTERISK


[root@localhost asterisk-1.8.23.0]# make menuselect

[*] chan_ooh323 -> checked

Save & Exit

[root@localhost asterisk-1.8.23.0]# make && make install

localhost*CLI> module unload chan_ooh323.so
Unloaded chan_ooh323.so
localhost*CLI> module load chan_ooh323.so
Loaded chan_ooh323.so
Loaded chan_ooh323.so => (Objective Systems H323 Channel)
localhost*CLI>

localhost*CLI> module show like h323
Module Description Use Count
chan_ooh323.so Objective Systems H323 Channel 0
1 modules loaded

localhost*CLI> core show channeltypes
Type Description Devicestate Indications Transfer
———- ———– ———– ———– ——–
USTM UNISTIM Channel Driver no yes no
Phone Standard Linux Telephony API Driver no yes no
Console OSS Console Channel Driver no yes no
OOH323 Objective Systems H323 Channel Driver no yes no
IAX2 Inter Asterisk eXchange Driver (Ver 2) yes yes yes
MulticastR Multicast RTP Paging Channel Driver no no no
MGCP Media Gateway Control Protocol (MGCP) yes yes no
SIP Session Initiation Protocol (SIP) yes yes yes
Bridge Bridge Interaction Channel no no no
Skinny Skinny Client Control Protocol (Skinny) yes yes no
Local Local Proxy Channel Driver yes yes no
Agent Call Agent Proxy Channel yes yes no
———-
12 channel drivers registered.

 

[general]

port = 1720
bindaddr = 0.0.0.0
allow=all
dtmfmode=inband
gatekeeper = DISABLE
context=from-trunk
progress_setup = 8
progress_alert = 8
h245tunneling=yes

 

[H323peer]
type=friend
context=from-zaptel
host=203.11.11.11
;ip=host=203.11.11.11
port=1720
disallow=all
allow=ulaw
allow=alaw
canreinvite=no
dtmfmode=inband
nat=yes

 

[ecentrix-agents]

exten => _6XXXX.,1,Set(CALLERID(all)=1818 <1818>)
exten => _6XXXX.,n,Progress()
exten => _6XXXX.,n,Playback(beep)
exten => _6XXXX.,n,Dial(OOH323/H323peer/12362${EXTEN:2})
exten => _6XXXX.,n,NoOp(HANGUPCAUSE DALNET=${HANGUPCAUSE} DAN DIALSTATUS DALNET =${DIALSTATUS})
exten => _6XXXX.,n,Hangup()

ZONE PREFIX ESIA / DIALPLAN


AREA CODE CITY DN MIN DN MAX
21 JAKARTA 2131700000 2131799999
21 JAKARTA 2134300000 2134349999
21 JAKARTA 2135800000 2135999999
21 JAKARTA 2140900000 2140999999
21 JAKARTA 2141000000 2141199999
21 JAKARTA 2141200000 2141899999
21 JAKARTA 2151100000 2151399999
21 JAKARTA 2151410000 2151499999
21 JAKARTA 2159360000 2159369999
21 JAKARTA 2156100000 2156199999
21 JAKARTA 2160200000 2160649999
21 JAKARTA 2160700000 2160999999
21 JAKARTA 2180200000 2180399999
21 JAKARTA 2180700000 2180799999
21 JAKARTA 2183200000 2183499999
21 JAKARTA 2183600000 2183699999
21 JAKARTA 2183800000 2183849999
21 JAKARTA 2183900000 2183949999
21 JAKARTA 2185300000 2185499999
21 JAKARTA 2185530000 2185599999
21 JAKARTA 2189540000 2189669999
21 JAKARTA 2190000000 2190199999
21 JAKARTA 2190200000 2190699999
21 JAKARTA 2190700000 2190999999
21 JAKARTA 2191000000 2199999999
22 BANDUNG 2288000000 2288129999
22 BANDUNG 2291100000 2293999999
22 BANDUNG 2295000000 2296169999
22 BANDUNG 2299000000 2299799999
231 CIREBON 2319100000 2319509999
232 KUNINGAN 2329100000 2329239999
233 MAJALENGKA 2339100000 2339189999
233 MAJALENGKA 2339190000 2339289999
234 INDRAMAYU 2349100000 2349299999
24 SEMARANG 2436000000 2436059999
24 SEMARANG 2491000000 2491999999
251 BOGOR 2513100000 2513399999
251 BOGOR 2514000000 2514199999
251 BOGOR 2519000000 2519999999
252 RANGKASBITUNG 2529100000 2529149999
252 RANGKASBITUNG 2529900000 2529999999
252 RANGKASBITUNG 2529800000 2529899999
253 PANDEGLANG 2539100000 2539149999
253 PANDEGLANG 2539900000 2539999999
253 PANDEGLANG 2539800000 2539899999
254 SERANG 2549000000 2549599999
260 SUBANG 2609100000 2609249999
260 SUBANG 2609900000 2609999999
261 SUMEDANG 2619100000 2619199999
261 SUMEDANG 2619200000 2619299999
262 GARUT 2629100000 2629279999
262 GARUT 2629900000 2629999999
262 GARUT 2629700000 2629899999
263 CIANJUR 2639100000 2639259999
263 CIANJUR 2639260000 2639359999
264 PURWAKARTA 2649100000 2649289999
265 TASIK,CIAMIS,BANJAR 2659000000 2659399999
265 TASIK,CIAMIS,BANJAR 2659850000 2659999999
266 SUKABUMI 2669000000 2669399999
267 KARAWANG 2679000000 2679299999
267 KARAWANG 2679400000 2679499999
271 SOLO 2719100000 2719599999
271 SOLO 2719600000 2719899999
272 KLATEN 2729000000 2729049999
272 KLATEN 2729900000 2729999999
273 WONOGIRI 2739100000 2739249999
274 YOGYAKARTA 2743500000 2743599999
274 YOGYAKARTA 2749100000 2749879999
276 BOYOLALI 2769100000 2769169999
276 BOYOLALI 2769900000 2769999999
281 PURWOKERTO 2819100000 2819299999
281 PURWOKERTO 2819850000 2819999999
282 CILACAP 2829100000 2829199999
283 TEGAL 2839100000 2839249999
283 TEGAL 2839850000 2839999999
284 PEMALANG 2849100000 2849139999
284 PEMALANG 2849900000 2849969999
285 PEKALONGAN 2859100000 2859199999
285 PEKALONGAN 2859900000 2859999999
291 KUDUS/DEMAK 2919100000 2919199999
292 PURWODADI 2929950000 2929999999
292 PURWODADI 2929900000 2929949999
293 MAGELANG 2939100000 2939199999
293 MAGELANG 2939900000 2939999999
294 KENDAL 2949000000 2949149999
298 SALATIGA 2989100000 2989249999
31 SURABAYA 3191000000 3192599999
31 SURABAYA 3192600000 3193199999
321 MOJOKERTO 3219100000 3219299999
322 LAMONGAN 3229100000 3229249999
331 JEMBER 3319100000 3319299999
331 JEMBER 3319850000 3319949999
333 BANYUWANGI 3339950000 3339999999
333 BANYUWANGI 3339850000 3339949999
341 MALANG 3416500000 3416859999
341 MALANG 3419700000 3419999999
343 PASURUHAN 3439100000 3439249999
351 MADIUN 3519850000 3519999999
351 MADIUN 3519750000 3519849999
354 KEDIRI 3549000000 3549299999
361 DENPASAR 3616000000 3616069999
361 DENPASAR 3613900000 3613999999
361 DENPASAR 3619600000 3619699999
361 DENPASAR 3619900000 3619999999
362 SINGARAJA 3628500000 3628699999
362 SINGARAJA 3629900000 3629999999
370 MATARAM 3709850000 3709999999
380 KUPANG 3804000000 3804049999
380 KUPANG 3809950000 3809999999
401 KENDARI 4017000000 4017049999
411 MAKASAR 4119100000 4119749999
426 MAMUJU 4264000000 4264049999
426 MAMUJU 4269950000 4269999999
431 MANADO 4319100000 4319199999
431 MANADO 4319900000 4319999999
451 PALU 4516100000 4516149999
511 BANJARMASIN 5119100000 5119299999
511 BANJARMASIN 5119900000 5119999999
518 BATU LICIN 5183200000 5183229999
518 BATU LICIN 5189900000 5189939999
536 PALANGKARAYA 5362000000 5362049999
541 SAMARINDA 5419000000 5419299999
542 BALIKPAPAN 5429100000 5429299999
549 SANGGATA 5499900000 5499949999
561 PONTIANAK 5619100000 5619299999
562 SINGKAWANG 5629900000 5629949999
61 MEDAN 6191000000 6192199999
622 PEMATANG SIANTAR 6229900000 6229969999
623 KISARAN 6239900000 6239969999
711 PALEMBANG 7119100000 7119599999
717 BANGKA / PANGKAL PINANG 7174000000 7174049999
717 BANGKA / PANGKAL PINANG 7179950000 7179999999
721 LAMPUNG 7219000000 7219099999
721 LAMPUNG 7219300000 7219399999
721 LAMPUNG 7219710000 7219759999
721 LAMPUNG 7219900000 7219999999
721 LAMPUNG 7218700000 7218799999
725 METRO 7259900000 7259999999
736 BENGKULU 7364000000 7364049999
736 BENGKULU 7369950000 7369999999
741 JAMBI 7419700000 7419999999
751 PADANG 7519400000 7519599999
751 PADANG 7519760000 7519999999
752 BUKITTINGGI 7529900000 7529969999
752 BUKITTINGGI 7529800000 7529899999
761 PEKANBARU 7619600000 7619899999
765 DUMAI 7659800000 7659899999
771 TANJUNG PINANG 7719900000 7719999999
778 BATAM 7789100000 7789199999
778 BATAM 7789600000 7789999999
911 AMBON 9114000000 9114049999
911 AMBON 9119950000 9119999999
967 JAYAPURA 9679000000 9679049999
GRAND TOTAL

JAKARTA,02131700000,02131799999
JAKARTA,02134300000,02134349999
JAKARTA,02135800000,02135999999
JAKARTA,02140900000,02140999999
JAKARTA,02141000000,02141199999
JAKARTA,02141200000,02141899999
JAKARTA,02151100000,02151399999
JAKARTA,02151410000,02151499999
JAKARTA,02159360000,02159369999
JAKARTA,02156100000,02156199999
JAKARTA,02160200000,02160649999
JAKARTA,02160700000,02160999999
JAKARTA,02180200000,02180399999
JAKARTA,02180700000,02180799999
JAKARTA,02183200000,02183499999
JAKARTA,02183600000,02183699999
JAKARTA,02183800000,02183849999
JAKARTA,02183900000,02183949999
JAKARTA,02185300000,02185499999
JAKARTA,02185530000,02185599999
JAKARTA,02189540000,02189669999
JAKARTA,02190000000,02190199999
JAKARTA,02190200000,02190699999
JAKARTA,02190700000,02190999999
JAKARTA,02191000000,02199999999
BANDUNG,02288000000,02288129999
BANDUNG,02291100000,02293999999
BANDUNG,02295000000,02296169999
BANDUNG,02299000000,02299799999
CIREBON,02319100000,02319509999
KUNINGAN,02329100000,02329239999
MAJALENGKA,02339100000,02339189999
MAJALENGKA,02339190000,02339289999
INDRAMAYU,02349100000,02349299999

SEMARANG,02436000000,02436059999
SEMARANG,02491000000,02491999999
BOGOR,02513100000,02513399999
BOGOR,02514000000,02514199999
BOGOR,02519000000,02519999999
RANGKASBITUNG,02529100000,02529149999
RANGKASBITUNG,02529900000,02529999999
RANGKASBITUNG,02529800000,02529899999
PANDEGLANG,02539100000,02539149999
PANDEGLANG,02539900000,02539999999
PANDEGLANG,02539800000,02539899999
SERANG,02549000000,02549599999
SUBANG,02609100000,02609249999
SUBANG,02609900000,02609999999
SUMEDANG,02619100000,02619199999
SUMEDANG,02619200000,02619299999
GARUT,02629100000,02629279999
GARUT,02629900000,02629999999
GARUT,02629700000,02629899999
CIANJUR,02639100000,02639259999
CIANJUR,02639260000,02639359999
PURWAKARTA,02649100000,02649289999
TASIK,CIAMIS,BANJAR,02659000000,02659399999
TASIK,CIAMIS,BANJAR,02659850000,02659999999
SUKABUMI,02669000000,02669399999
KARAWANG,02679000000,02679299999
KARAWANG,02679400000,02679499999
SOLO,02719100000,02719599999
SOLO,02719600000,02719899999
KLATEN,02729000000,02729049999
KLATEN,02729900000,02729999999
WONOGIRI,02739100000,02739249999
YOGYAKARTA,02743500000,02743599999
YOGYAKARTA,02749100000,02749879999

BOYOLALI,02769100000,02769169999
BOYOLALI,02769900000,02769999999
PURWOKERTO,02819100000,02819299999
PURWOKERTO,02819850000,02819999999
CILACAP,02829100000,02829199999
TEGAL,02839100000,02839249999
TEGAL,02839850000,02839999999
PEMALANG,02849100000,02849139999
PEMALANG,02849900000,02849969999
PEKALONGAN,02859100000,02859199999
PEKALONGAN,02859900000,02859999999
KUDUS/DEMAK,02919100000,02919199999
PURWODADI,02929950000,02929999999
PURWODADI,02929900000,02929949999
MAGELANG,02939100000,02939199999
MAGELANG,02939900000,02939999999
KENDAL,02949000000,02949149999
SALATIGA,02989100000,02989249999
SURABAYA,03191000000,03192599999
SURABAYA,03192600000,03193199999
MOJOKERTO,03219100000,03219299999
LAMONGAN,03229100000,03229249999
JEMBER,03319100000,03319299999
JEMBER,03319850000,03319949999
BANYUWANGI,03339950000,03339999999
BANYUWANGI,03339850000,03339949999
MALANG,03416500000,03416859999
MALANG,03419700000,03419999999
PASURUHAN,03439100000,03439249999
MADIUN,03519850000,03519999999
MADIUN,03519750000,03519849999
KEDIRI,03549000000,03549299999
DENPASAR,03616000000,03616069999
DENPASAR,03613900000,03613999999

DENPASAR,03619600000,03619699999
DENPASAR,03619900000,03619999999
SINGARAJA,03628500000,03628699999
SINGARAJA,03629900000,03629999999
MATARAM,03709850000,03709999999
KUPANG,03804000000,03804049999
KUPANG,03809950000,03809999999
KENDARI,04017000000,04017049999
MAKASAR,04119100000,04119749999
MAMUJU,04264000000,04264049999
MAMUJU,04269950000,04269999999
MANADO,04319100000,04319199999
MANADO,04319900000,04319999999
PALU,04516100000,04516149999
BANJARMASIN,05119100000,05119299999
BANJARMASIN,05119900000,05119999999
BATU LICIN,05183200000,05183229999
BATU LICIN,05189900000,05189939999
PALANGKARAYA,05362000000,05362049999
SAMARINDA,05419000000,05419299999
BALIKPAPAN,05429100000,05429299999
SANGGATA,05499900000,05499949999
PONTIANAK,05619100000,05619299999
SINGKAWANG,05629900000,05629949999
MEDAN,06191000000,06192199999
PEMATANG SIANTAR,06229900000,06229969999
KISARAN,06239900000,06239969999
PALEMBANG,07119100000,07119599999
BANGKA / PANGKAL PINANG,07174000000,07174049999
BANGKA / PANGKAL PINANG,07179950000,07179999999
LAMPUNG,07219000000,07219099999
LAMPUNG,07219300000,07219399999
LAMPUNG,07219710000,07219759999
LAMPUNG,07219900000,07219999999

LAMPUNG,07218700000,07218799999
METRO,07259900000,07259999999
BENGKULU,07364000000,07364049999
BENGKULU,07369950000,07369999999
JAMBI,07419700000,07419999999
PADANG,07519400000,07519599999
PADANG,07519760000,07519999999
BUKITTINGGI,07529900000,07529969999
BUKITTINGGI,07529800000,07529899999
PEKANBARU,07619600000,07619899999
DUMAI,07659800000,07659899999
TANJUNG PINANG,07719900000,07719999999
BATAM,07789100000,07789199999
BATAM,07789600000,07789999999
AMBON,09114000000,09114049999
AMBON,09119950000,09119999999
JAYAPURA,09679000000,09679049999

_______________________________________________________________________________________________________________________

<?php

//echo substr(“021799”,0,3);

//exit;
$handle = @fopen(“d.txt”, “r”);
if ($handle) {
while (($buffer = fgets($handle, 4096)) !== false) {
$nmr=explode(“,”,$buffer);
$area=$nmr[0];
$dn_min=$nmr[1];
$dn_max=$nmr[2];
doit($area,$dn_min,$dn_max);
}
if (!feof($handle)) {
echo “Error: unexpected fgets() fail\n”;
}
fclose($handle);
}

function doit($area,$dn_min,$dn_max){
$str=””;

if(substr($dn_min,0,3)==’021′){
$dlpn=”dlpn-esia-local”;
}else{
$dlpn=”dlpn-esia-interlocal”;

}
for ($i=0;$i<strlen($dn_min);$i++){
$d1=substr($dn_min,$i,1);
$d2=substr($dn_max,$i,1);

if($d1!=$d2){

$str.=”[“.$d1.”-“.$d2.”]”;
}else{
$str.=”$d1″;
}
}
echo “;AREA $area\n”;
echo “exten => _”.$str.”,1,NoOp(ESIA ESIA)\n”;
echo “exten => _”.$str.”,n,Goto($dlpn,\${EXTEN},1)\n”;
echo “\n”;
}
?>

;AREA JAKARTA
exten => _021317[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _021317[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _021343[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _021343[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02135[8-9][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02135[8-9][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _021409[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _021409[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02141[0-1][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02141[0-1][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02141[2-8][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02141[2-8][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02151[1-3][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02151[1-3][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _021514[1-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _021514[1-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _0215936[0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)

exten => _0215936[0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _021561[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _021561[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02160[2-6][0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02160[2-6][0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02160[7-9][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02160[7-9][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02180[2-3][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02180[2-3][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _021807[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _021807[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02183[2-4][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02183[2-4][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _021836[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _021836[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _021838[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _021838[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _021839[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _021839[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02185[3-4][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02185[3-4][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _021855[3-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _021855[3-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02189[5-6][4-6][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02189[5-6][4-6][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02190[0-1][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02190[0-1][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02190[2-6][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02190[2-6][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _02190[7-9][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02190[7-9][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA JAKARTA
exten => _0219[1-9][0-9][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _0219[1-9][0-9][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-local,${EXTEN},1)

;AREA BANDUNG
exten => _02288[0-1][0-2][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)

exten => _02288[0-1][0-2][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BANDUNG
exten => _0229[1-3][1-9][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _0229[1-3][1-9][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BANDUNG
exten => _0229[5-6][0-1][0-6][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _0229[5-6][0-1][0-6][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BANDUNG
exten => _02299[0-7][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02299[0-7][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA CIREBON
exten => _02319[1-5]0[0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02319[1-5]0[0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KUNINGAN
exten => _02329[1-2][0-3][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02329[1-2][0-3][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MAJALENGKA
exten => _023391[0-8][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _023391[0-8][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MAJALENGKA
exten => _02339[1-2][9-8][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02339[1-2][9-8][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA INDRAMAYU
exten => _02349[1-2][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02349[1-2][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SEMARANG
exten => _024360[0-5][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _024360[0-5][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SEMARANG
exten => _02491[0-9][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02491[0-9][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BOGOR
exten => _02513[1-3][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02513[1-3][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BOGOR
exten => _02514[0-1][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02514[0-1][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BOGOR
exten => _02519[0-9][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02519[0-9][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA RANGKASBITUNG
exten => _025291[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _025291[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA RANGKASBITUNG
exten => _025299[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _025299[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA RANGKASBITUNG
exten => _025298[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _025298[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PANDEGLANG
exten => _025391[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)

exten => _025391[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PANDEGLANG
exten => _025399[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _025399[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PANDEGLANG
exten => _025398[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _025398[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SERANG
exten => _02549[0-5][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02549[0-5][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SUBANG
exten => _02609[1-2][0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02609[1-2][0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SUBANG
exten => _026099[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _026099[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SUMEDANG
exten => _026191[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _026191[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SUMEDANG
exten => _026192[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _026192[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA GARUT
exten => _02629[1-2][0-7][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02629[1-2][0-7][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA GARUT
exten => _026299[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _026299[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA GARUT
exten => _02629[7-8][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02629[7-8][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA CIANJUR
exten => _02639[1-2][0-5][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02639[1-2][0-5][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA CIANJUR
exten => _02639[2-3][6-5][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02639[2-3][6-5][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PURWAKARTA
exten => _02649[1-2][0-8][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02649[1-2][0-8][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA TASIK
exten => _[C-B][I-A][A-N][M-J][I-A][S-R],1,NoOp(ESIA ESIA)
exten => _[C-B][I-A][A-N][M-J][I-A][S-R],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA TASIK
exten => _[C-B][I-A][A-N][M-J][I-A][S-R],1,NoOp(ESIA ESIA)
exten => _[C-B][I-A][A-N][M-J][I-A][S-R],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SUKABUMI
exten => _02669[0-3][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02669[0-3][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KARAWANG
exten => _02679[0-2][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)

exten => _02679[0-2][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KARAWANG
exten => _026794[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _026794[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SOLO
exten => _02719[1-5][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02719[1-5][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SOLO
exten => _02719[6-8][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02719[6-8][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KLATEN
exten => _027290[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _027290[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KLATEN
exten => _027299[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _027299[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA WONOGIRI
exten => _02739[1-2][0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02739[1-2][0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA YOGYAKARTA
exten => _027435[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _027435[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA YOGYAKARTA
exten => _02749[1-8][0-7][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02749[1-8][0-7][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BOYOLALI
exten => _027691[0-6][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _027691[0-6][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BOYOLALI
exten => _027699[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _027699[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PURWOKERTO
exten => _02819[1-2][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02819[1-2][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PURWOKERTO
exten => _02819[8-9][5-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02819[8-9][5-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA CILACAP
exten => _028291[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _028291[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA TEGAL
exten => _02839[1-2][0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02839[1-2][0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA TEGAL
exten => _02839[8-9][5-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02839[8-9][5-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PEMALANG
exten => _028491[0-3][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _028491[0-3][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PEMALANG
exten => _028499[0-6][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)

exten => _028499[0-6][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PEKALONGAN
exten => _028591[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _028591[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PEKALONGAN
exten => _028599[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _028599[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KUDUS/DEMAK
exten => _029191[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _029191[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PURWODADI
exten => _029299[5-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _029299[5-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PURWODADI
exten => _029299[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _029299[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MAGELANG
exten => _029391[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _029391[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MAGELANG
exten => _029399[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _029399[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KENDAL
exten => _02949[0-1][0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02949[0-1][0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SALATIGA
exten => _02989[1-2][0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _02989[1-2][0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SURABAYA
exten => _0319[1-2][0-5][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _0319[1-2][0-5][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SURABAYA
exten => _0319[2-3][6-1][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _0319[2-3][6-1][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MOJOKERTO
exten => _03219[1-2][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03219[1-2][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA LAMONGAN
exten => _03229[1-2][0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03229[1-2][0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA JEMBER
exten => _03319[1-2][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03319[1-2][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA JEMBER
exten => _03319[8-9][5-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03319[8-9][5-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BANYUWANGI
exten => _033399[5-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _033399[5-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BANYUWANGI
exten => _03339[8-9][5-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)

exten => _03339[8-9][5-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MALANG
exten => _03416[5-8][0-5][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03416[5-8][0-5][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MALANG
exten => _03419[7-9][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03419[7-9][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PASURUHAN
exten => _03439[1-2][0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03439[1-2][0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MADIUN
exten => _03519[8-9][5-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03519[8-9][5-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MADIUN
exten => _03519[7-8][5-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03519[7-8][5-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KEDIRI
exten => _03549[0-2][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03549[0-2][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA DENPASAR
exten => _036160[0-6][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _036160[0-6][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA DENPASAR
exten => _036139[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _036139[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA DENPASAR
exten => _036196[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _036196[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA DENPASAR
exten => _036199[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _036199[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SINGARAJA
exten => _03628[5-6][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03628[5-6][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SINGARAJA
exten => _036299[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _036299[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MATARAM
exten => _03709[8-9][5-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _03709[8-9][5-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KUPANG
exten => _038040[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _038040[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KUPANG
exten => _038099[5-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _038099[5-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KENDARI
exten => _040170[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _040170[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MAKASAR
exten => _04119[1-7][0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)

exten => _04119[1-7][0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MAMUJU
exten => _042640[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _042640[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MAMUJU
exten => _042699[5-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _042699[5-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MANADO
exten => _043191[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _043191[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MANADO
exten => _043199[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _043199[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PALU
exten => _045161[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _045161[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BANJARMASIN
exten => _05119[1-2][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _05119[1-2][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BANJARMASIN
exten => _051199[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _051199[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BATU LICIN
exten => _051832[0-2][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _051832[0-2][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BATU LICIN
exten => _051899[0-3][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _051899[0-3][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PALANGKARAYA
exten => _053620[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _053620[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SAMARINDA
exten => _05419[0-2][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _05419[0-2][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BALIKPAPAN
exten => _05429[1-2][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _05429[1-2][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SANGGATA
exten => _054999[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _054999[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PONTIANAK
exten => _05619[1-2][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _05619[1-2][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA SINGKAWANG
exten => _056299[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _056299[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA MEDAN
exten => _0619[1-2][0-1][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _0619[1-2][0-1][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PEMATANG SIANTAR
exten => _062299[0-6][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)

exten => _062299[0-6][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA KISARAN
exten => _062399[0-6][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _062399[0-6][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PALEMBANG
exten => _07119[1-5][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _07119[1-5][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BANGKA / PANGKAL PINANG
exten => _071740[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _071740[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BANGKA / PANGKAL PINANG
exten => _071799[5-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _071799[5-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA LAMPUNG
exten => _072190[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _072190[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA LAMPUNG
exten => _072193[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _072193[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA LAMPUNG
exten => _072197[1-5][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _072197[1-5][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA LAMPUNG
exten => _072199[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _072199[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA LAMPUNG
exten => _072187[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _072187[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA METRO
exten => _072599[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _072599[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BENGKULU
exten => _073640[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _073640[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BENGKULU
exten => _073699[5-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _073699[5-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA JAMBI
exten => _07419[7-9][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _07419[7-9][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PADANG
exten => _07519[4-5][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _07519[4-5][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PADANG
exten => _07519[7-9][6-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _07519[7-9][6-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BUKITTINGGI
exten => _075299[0-6][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _075299[0-6][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BUKITTINGGI
exten => _075298[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)

exten => _075298[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA PEKANBARU
exten => _07619[6-8][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _07619[6-8][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA DUMAI
exten => _076598[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _076598[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA TANJUNG PINANG
exten => _077199[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _077199[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BATAM
exten => _077891[0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _077891[0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA BATAM
exten => _07789[6-9][0-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _07789[6-9][0-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA AMBON
exten => _091140[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _091140[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA AMBON
exten => _091199[5-9][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _091199[5-9][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

;AREA JAYAPURA
exten => _096790[0-4][0-9][0-9][0-9][0-9],1,NoOp(ESIA ESIA)
exten => _096790[0-4][0-9][0-9][0-9][0-9],n,Goto(dlpn-esia-interlocal,${EXTEN},1)

[dlpn-esia-local]
exten => _XXXXXXX.,1,Noop(ESIA)
exten => _XXXXXXX.,n,Set(GROUP()=esia)
exten => _XXXXXXX.,n,NoOp(COUNT ESIA = ${GROUP_COUNT(esia)})
exten => _XXXXXXX.,n,Set(A_NUMBER=62${FILTER(0-9,${EXTEN:1})})
exten => _XXXXXXX.,n,Dial(SIP/777${A_NUMBER}@6005,,tT)
exten => _XXXXXXX.,n,NoOp(HANGUPCAUSE ESIA=${HANGUPCAUSE} DAN DIALSTATUS ESIA =${DIALSTATUS})
exten => _XXXXXXX.,n,Hangup()
[dlpn-esia-interlocal]
exten => _XXXXXXX.,1,Noop(ESIA)
exten => _XXXXXXX.,n,Set(GROUP()=esia)
exten => _XXXXXXX.,n,NoOp(COUNT ESIA = ${GROUP_COUNT(esia)})
exten => _XXXXXXX.,n,Set(A_NUMBER=62${FILTER(0-9,${EXTEN:1})})
exten => _XXXXXXX.,n,Dial(SIP/777101${A_NUMBER}@6005,,tT)
exten => _XXXXXXX.,n,NoOp(HANGUPCAUSE ESIA=${HANGUPCAUSE} DAN DIALSTATUS ESIA =${DIALSTATUS})
exten => _XXXXXXX.,n,Hangup()

 

 

_____________________________________________________________________________

MENGGABUNGKAN ISI DUA FILE DI PISAHKAN DENGAN KOMA

dn-min = file pertama
dn-max = file kedua
paste -d “,” dn-min.txt dn-max.txt
paste -d “|” -f ${file00} ${file01} ${file02} ${file03} ${file04} ${file05} ${file06} ${file07} ${file08} ${file09} ${file10} ${file11} ${file12} ${file13} > ${file55}
shisdew

Listens until think alike

moses.spaceku@yahoo.com / voip ipbx

Hosted PBX, IP-PBX SOHO/ CALL CENTER, VOICE GATEWAY, VOICE CARD, COST EFECTIVE SOLUTIONS (LCR), GSM/CDMA GATEWAY

%d bloggers like this: