2007年6月22日金曜日

家庭内PBX その8 - パルスダイアルなアナログ回線での外線発信

X100Pからプッシュ契約していないアナログ回線で
外線発信する方法がわかりました。
Asterisk のソースを調べてわかったことですが、
追加するのは
pulsedial=yes
ではなく
pulsedial=true
のようです。
これを "/etc/asterisk/zapata-auto.conf" の
channel => 1
の行の直前に入れて再起動することで発信できるようになりました。

さて、ついでですのでダイヤルプランもきちんと入れておきます。
設定は、ごく一般的な0発信による外線接続とします。

前回同様 [freePBX]-[System Administration]-[Setup] にログインし、
[Trunks] の既存の [ZAP/g0] を編集します。
たとえば市外局番03の地域で
加入しているアナログ回線であれば、
[Dial Patterns] に
003|ZXXXXXXX
0|0.
0|1.
0|NXXXXXXX
を設定し、[Submit Changes] をクリックします。

ちなみに電話番号が"0abc-de-fghi"(市外局番0abc)の地域であれば、
[Dial Patterns] には
00acb|ZXXXXX
0|0.
0|1.
0|NXXXXX
にしておけば同様な設定となります。

また、[Outbound Routes] に行き、
すでに作られている "0" 番目のルーティング情報を開き、
[Dial Patterns] にたとえば
0.
を設定して [Submit Changes] をクリックします。
しつこいですが、くれぐれも
"You have made changes - when finished, click here to APPLY them"
のクリックは忘れないようにご注意ください。

これでどんなアナログ回線でも大丈夫そうです。

1 件のコメント:

  1. Hi,Do you have used LCDs, used flat screens and secondhand LCDs? Please go here:www.sstar-hk.com(Southern Stars).We are constantly buying re-usable LCD panels and working for LCD recycling.The re-usable panels go through strictly designed process of categorizing, checking, testing, repairing and refurbishing before they are re-used to make remanufactured LCD displays and TV sets.Due to our recent breakthrough in testing and repairing technology of LCD, we can improve the value for your LCD panels.
    website:www.sstar-hk.com[dahhcjjeihfdai]

    返信削除