Addpac GS1004
GS1002# show mobile sim-card [MOBILE SIM CARD STATUS] <SLOT/PORT> <ACT,MAX,EXIST> <LED> <STATUS> <ERROR> <CONN> MOBILE-0/0: 0, 1 :0000 00000000 SIM NONE 0 0000 MOBILE-0/1: 0, 1 :0001 00000000 SIM OK 0 0000
interface FastEthernet0/0
GS1004(config-if)# 192.168.0.232/24
шлюз
GS1004(config)#ip route 0.0.0.0 0.0.0.0 192.168.0.210
voice service voip
GS1004(config-vservice-voip)# protocol sip
voice-port 0/0
GS1004(config-voice-port-0/0)# connection plar 89112222222 GS1004(config-voice-port-0/0)# caller-id enable
dial-peer voice 1 pots
GS1004(config-dialpeer-pots-1)# destination-pattern T GS1004(config-dialpeer-pots-1)# port 1/0
dial-peer voice 0 voip
GS1004(config-dialpeer-voip-0)# destination-pattern 8911T GS1004(config-dialpeer-voip-0)# session target ip 192.168.0.231 GS1004(config-dialpeer-voip-0)# session protocol sip GS1004(config-dialpeer-voip-0)# no vad GS1004(config-dialpeer-voip-0)# dtmf-relay rtp-2833
sip-ua
GS1004(config-sip-ua)# user-register GS1004(config-sip-ua)# sip-server 192.168.0.231
GS1004(config-gsm1/0)# show startup-con ! ! APOS(tm) configuration saved from vty ! 2012/08/02 19:45:30 ! version 8.51.004 ! hostname GS1004 ! username root password router administrator username guest password guest user ! ! interface Loopback0 ip address 127.0.0.1 255.0.0.0 ! interface FastEthernet0/0 ip address 192.168.0.232 255.255.255.0 speed auto no qos-control ! ip route 0.0.0.0 0.0.0.0 192.168.0.210 ! ! ! http server ! logging command logging event 4-warning logging on ! ! ! ! ! VoIP configuration. ! ! ! Voice service voip configuration. ! voice service voip protocol sip dtmf-relay rfc-2833 fax protocol t38 redundancy 0 fax rate 9600 h323 call start fast h323 call tunnel enable no call-barring unconfigured-ip-address no voip-inbound-call-barring enable ! ! ! Voice port configuration. ! ! GSM voice-port 1/0 connection plar 89112222222 caller-id enable ! ! ! GSM voice-port 1/1 connection plar 89113333333 caller-id enable ! ! ! GSM voice-port 1/2 connection plar 89114444444 caller-id enable ! ! ! GSM voice-port 1/3 connection plar 89115555555 caller-id enable ! ! ! ! ! service port group configuration. ! ! ! ! Pots peer configuration. ! dial-peer voice 1 pots destination-pattern T port 1/0 ! dial-peer voice 2 pots destination-pattern T port 1/1 ! dial-peer voice 3 pots destination-pattern T port 1/2 ! dial-peer voice 4 pots destination-pattern T port 1/3 ! ! ! ! Voip peer configuration. ! dial-peer voice 0 voip destination-pattern 8911T session target ip 192.168.0.231 session protocol sip no vad dtmf-relay rtp-2833 ! ! ! ! ! ! gatekeeper ! ! ! Gateway configuration. ! gateway h323-id voip.192.168.0.232 no ignore-msg-from-other-gk ! ! ! SIP UA configuration. ! sip-ua user-register sip-server 192.168.0.231 ! ! ! Tones ! ! ! ! ! SMTP sendmail configuration ! sms-delivery ! ! ! line console ! line vty ! gsm dev-restart-by-unreg 300 ! gsm 1/0 sms-language utf8 ! gsm 1/1 sms-language utf8 ! gsm 1/2 sms-language utf8 ! gsm 1/3 sms-language utf8 !