RTシリーズとCISCOルータの相互接続のための設定例集
VoIP(SIP)の使用
新規作成日 | 2002/Jun/21 |
最終変更日 | 2002/Jun/21 |
文書サイズ | 8kB |
VoIP(SIP)の使用
[ VoIP(SIP)の使用 ]
172.16.1.0/24 TEL3(003) | TEL4(004) | | | +---------+ +----+Cisco3640| IOS 12.2.10a | +---------+ |.254 : | : : 専用線(128kbit/s) : | : | : | +---------+ +----+ RTA55i | Rev4.06.16 | +---------+ |.254 | | TEL1(001) 192.168.1.0/24 TEL2(002) ()内:電話番号 |
pp line l128 ip lan1 address 192.168.1.254/24 ip route default gateway pp leased pp enable leased analog sip use arrive 1 myname ................................. *1 analog sip call myname 1 sip:001 ............................... *2 analog sip use arrive 2 myname ................................. *1 analog sip call myname 2 sip:002 ............................... *2 analog extension sip address 1 003 sip:003@172.16.1.254 ........ *3 analog extension sip address 2 004 sip:004@172.16.1.254 ........ *3 analog extension dial prefix line analog extension dial prefix sip 9# sip use on ..................................................... *4 |
*1 | "*2"で設定される番号が一致した場合にのみ着信するようにします。 |
*2 | TELポートに電話番号を設定します。 |
*3 | 発信用の電話番号、IPアドレスを設定します。 |
*4 | SIP機能を有効にします。 |
hostname Cisco3640 ! ip subnet-zero no ip domain-lookup ! isdn switch-type ntt isdn leased-line BRI3/0 128 ! interface FastEthernet0/0 ip address 172.16.1.254 255.255.255.0 ! interface BRI3/0 ip unnumbered FastEthernet0/0 encapsulation ppp ! ip route 0.0.0.0 0.0.0.0 BRI3/0 ! voice-port 2/0/0 ! voice-port 2/0/1 ! dial-peer voice 1 voip destination-pattern 001 ....................................... *5 session protocol sipv2 ........................................ *6 session target ipv4:192.168.1.254 ............................. *7 codec g711ulaw ................................................ *8 ! dial-peer voice 2 voip destination-pattern 002 ....................................... *5 session protocol sipv2 ........................................ *6 session target ipv4:192.168.1.254 ............................. *7 codec g711ulaw ................................................ *8 ! dial-peer voice 3 pots destination-pattern 003 ....................................... *9 port 2/0/0 .................................................... *10 ! dial-peer voice 4 pots destination-pattern 004 ....................................... *9 port 2/0/1 .................................................... *10 |
*5 | 発信番号を設定します。 |
*6 | SIP機能を使用する設定にします。 |
*7 | 発信番号に対応する相手側IPアドレスを設定します。 |
*8 | CODEC(G.711)方式を使用する設定にします。 |
*9 | 着信番号を設定します。 |
*10 | 着信番号に対応する物理ポート番号を設定します。 |
|