нет, это не помогло, хотя, возможно, что -то не то сделал.
Что было сделано:
GS1002# conf t
GS1002(config)# voice class codec 0
GS1002(config-vclass-codec#0)# no codec preference 3
GS1002(config-vclass-codec#0)# no codec preference 4
GS1002(config-vclass-codec#0)# no codec preference 5
GS1002(config-vclass-codec#0)# no codec preference 6
GS1002(config-vclass-codec#0)# gateway
GS1002(config-gateway)# h323-id voip.192.168.7.5
GS1002(config-gateway)# no ignore-msg-from-other-gk
GS1002(config-gateway)# shutdown
GS1002(config-gateway)#
текущий конфиг:
GS1002(config-gateway)# show running-config
Building configuration...
Current configuration:
!
version 8.51.010
!
hostname GS1002
!
username root password router administrator
username guest password guest user
username al password 1 administrator
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address dhcp
no ip dhcp unicast
ip access-group 1 in
speed auto
no qos-control
!
interface FastEthernet0/1
ip address 192.168.10.1 255.255.255.0
ip access-group 1 in
speed auto
no qos-control
!
! ip route 0.0.0.0 0.0.0.0 192.168.7.1 via dhcp
!
access-list 1 permit any
!
!
!
!
http server
!
! dns name-server 192.168.7.1 via dhcp
!
!
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 duplex-t38 redundancy 2
fax rate 9600
h323 call start fast
h323 call channel latest
h323 call tunnel enable
timeout tinit 15
timeout tidt 5
static-jitter-buffer 35
ignore-dtmf-abcd-tone
no call-barring unconfigured-ip-address
no voip-inbound-call-barring enable
!
!
! Voice port configuration.
!
! GSM
voice-port 0/0
connection plar 9991299201
dial-tone-generate
caller-id enable
caller-id name disable
!
!
! GSM
voice-port 0/1
dial-tone-generate
no caller-id enable
!
!
! FXS
voice-port 0/2
caller-id enable
!
!
! FXS
voice-port 0/3
caller-id enable
!
!
!
!
! service port group configuration.
!
!
!
! Pots peer configuration.
!
dial-peer voice 10 pots
destination-pattern 8..........F
port 0/0
no register e164
!
!
!
! Voip peer configuration.
!
dial-peer voice 1 voip
destination-pattern 9991299201
session target ip 192.168.7.76 5080
session protocol sip
voice-class codec 0
no vad
dtmf-relay rtp-2833
no sid
!
!
!
!
dial-peer hunt 5
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.7.5
gkip 192.168.7.5 1719 128
no ignore-msg-from-other-gk
register
shutdown
!
!
! Codec classes configuration.
!
voice class codec 0
codec preference 1 g711alaw
codec preference 2 g711ulaw
!
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-username 1015
sip-password 1015
sip-server 192.168.7.76
set-local-domain 192.168.7.76
remote-party-id
register gateway
!
!
! Tones
!
!
! SMS delivery configuration
!
sms-delivery
!
!
!
!
!
line console
!
line vty
!
mobile dev-restart-by-unreg 300
mobile dev-restart-by-unknown-error
mobile cell-monitor 30
!
mobile 0/0
gsm sms-language utf8
!
mobile 0/1
gsm sms-language utf8
!
end
GS1002(config-gateway)#
возможно, нужно было
вызов с Zoiper на мобилу не идет
2016-06-01 12:13:34.210082 [WARNING] switch_core_codec.c:728 Codec PCMA Exists but not at the desired implementation. 8000hz 20ms 3ch
2016-06-01 12:13:34.210082 [ERR] switch_core_media.c:2838 Can't load codec?
я правильно понимаю, что мне нужно включить
fs_cli> sofia profile internal siptrace on
fs_cli> sofia profile external siptrace on
и приложить логи?