Bok! Ova tema je jako korisna. Uspio sam složiti Thompsona da radi s Nonohom i podesiti dialplan. Budem ovdje postao nekakav sažetak telnet koda iz postova drugih članova (hvala!) tako da se možemo lakše snaći.
UPUTE ZA IZLAZ NA PSTN KAD SE STISNE * :
voice
services
provision
type = forcedFXO
activate
type = forcedFXO
list provjera, sad se na PSTN izlazi sa *01*
:voice dialplan add prefix=* defaultport=FXO fallbackport=NA priority=NA fallback=disabled minimumdigits=1 maximumdigits=1 posofmodify=1 remnumdigits=1 rescan=no action=none
nakon ove naredbe, sa * odmah dobivamo dialtone sa PSTN mreže
DIALPLAN ZA RH PO ŽUPANIJAMA:
Omogućuje da unutar hrvatske zovemo samo sa lokalnim prefiksom, znači npr. za Zagreb 013334444, a ne 0038513334444.
:voice dialplan add prefix=01 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=8 maximumdigits=10 posofmodify=1 remnumdigits=2 insert=003851 rescan=no action=none
:voice dialplan add prefix=043 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038543 rescan=no action=none
:voice dialplan add prefix=035 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038535 rescan=no action=none
:voice dialplan add prefix=020 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038520 rescan=no action=none
:voice dialplan add prefix=052 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038552 rescan=no action=none
:voice dialplan add prefix=047 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038547 rescan=no action=none
:voice dialplan add prefix=048 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038548 rescan=no action=none
:voice dialplan add prefix=049 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038549 rescan=no action=none
:voice dialplan add prefix=053 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038553 rescan=no action=none
:voice dialplan add prefix=040 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038540 rescan=no action=none
:voice dialplan add prefix=031 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038531 rescan=no action=none
:voice dialplan add prefix=034 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038534 rescan=no action=none
:voice dialplan add prefix=051 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038551 rescan=no action=none
:voice dialplan add prefix=044 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038544 rescan=no action=none
:voice dialplan add prefix=021 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038521 rescan=no action=none
:voice dialplan add prefix=022 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038522 rescan=no action=none
:voice dialplan add prefix=042 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038542 rescan=no action=none
:voice dialplan add prefix=033 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038533 rescan=no action=none
:voice dialplan add prefix=032 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038532 rescan=no action=none
:voice dialplan add prefix=023 defaultport=FXS1 fallbackport=NA priority=NA fallback=disabled minimumdigits=9 maximumdigits=11 posofmodify=1 remnumdigits=3 insert=0038523 rescan=no action=none
:
saveall
AKO SMO NEŠTO KRIVO UKUCALI, MOŽEMO ZAMIJENITI DIALPLAN ZA ODREĐENI PREFIKS TAKO DA ZAMIJENIMO DIO NAREDBE "add" SA "modify" !
Pozdrav!