« SIPの基本用語 | メイン | ディ・アフター・トゥモロー »

ciscoルータでSIP(基本設定)

とりあえず、簡単なSIPサーバなしでのSIPの設定です。気休め程度ですが、見たい方は見てください。

■SIPサーバを使用しないSIPの設定
・設定事項
1,自分の電話番号など
2,相手の電話番号など
2,プロトコルをSIPに指定(デフォルトではH.323)
3,codecの指定

1,自分の電話番号の設定
(config)# dial-peer voice 1 pots
(config-dial-peer)# destination-pattern 自分の電話番号
(config-dial-peer)# port 電話の接続しているポート番号

2,相手の電話番号の設定
(config)# dial-peer voice 2 voip
(config-dial-peer)# destination-pattern 相手の電話番号
(config-dial-peer)# session target ipv4:相手のIPアドレス

3,プロトコルをSIPに指定(デフォルトではH.323)
(config)# dial-peer voice 2 voip
(config-dial-peer)# session protocol sipv2

4,codecの指定
(config-if)# dial-peer voce 2 voip
(config-dial-peer)# codec コーデック名

・設定例:
コーデック :PCMA
自分の電話番号 :100
相手の電話番号 :200
相手のIPアドレス:10.1.1.1

(config)# dial-peer voice 1 pots
(config-dial-peer)# destination-pattern 100
(config-dial-peer)# port 1/0/0

(config)# dial-peer voice 2 voip
(config-dial-peer)# destination-pattern 200
(config-dial-peer)# session target ipv4:10.1.1.1
(config-dial-peer)# session protocol sipv2
(config-dial-peer)# codec g711alaw

■参考資料
CiscoのCCO

トラックバック

このエントリーのトラックバックURL:
http://gogokeiji.com/mt/mt-tb.cgi/39

コメントを投稿

About

2004年11月22日 13:33に投稿されたエントリーのページです。

ひとつ前の投稿は「SIPの基本用語」です。

次の投稿は「ディ・アフター・トゥモロー」です。

他にも多くのエントリーがあります。メインページアーカイブページも見てください。

Creative Commons License
このブログは、次のライセンスで保護されています。 クリエイティブ・コモンズ・ライセンス.