|
最近snom 220(IP電話機)を衝動買いしてしまい、asteriskと繋いで遊んでいます |
voice-port 2/0/0 station-id name macgyver999 station-id number 999 ! voice-port 2/0/1 ! ! ! ! ! dial-peer cor custom ! ! ! dial-peer voice 999 voip destination-pattern T session protocol sipv2 session target sip-server codec g711alaw bytes 80 ! dial-peer voice 1 pots destination-pattern T port 2/0/0 ! sip-ua registrar ipv4:XXX.XXX.XXX.XXX:5060 expires 3600 :asteriskサーバのIPを指定 sip-server ipv4:XXX.XXX.XXX.XXX:5060 :asteriskサーバのIPを指定 |
[999] type=friend fromdomain=XXX.XXX.XXX.XXX :CiscoルータのIPを指定 fromuser=999 insecure=very qualify=200 defaultip=XXX.XXX.XXX.XXX :CiscoルータのIPを指定 context=default host=XXX.XXX.XXX.XXX :CiscoルータのIPを指定 caninvent=yes canreinvite=no setvar=CUSTID=20 dtmfmode=rfc2833 vmexten=9 disallow=all allow=alaw allow=ulaw allow=gsm |
|
上記のサンプルは、内線999とFXSインターフェースを繋げるようにしています |
| 戻る なんでもありな部屋へ | |
| 戻る ホームページへ |