Добрый день помогите пожалуйста с настройкой шлюза.
Конфиг шлюза
Код:
Building configuration...
Current configuration:
!
version 8.51.002
!
hostname GS1002
!
username root password router administrator
username guest password guest user
username amuhanov password *** administrator
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address 10.32.0.8 255.255.255.128
speed auto
no qos-control
!
interface FastEthernet0/1
ip address 192.168.10.1 255.255.255.0
speed auto
no qos-control
!
ip route 0.0.0.0 0.0.0.0 10.32.0.1
!
!
!
!
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 0/0
connection plar 1002
caller-id enable
!
!
! GSM
voice-port 0/1
no caller-id enable
!
!
!
!
! service port group configuration.
!
!
!
! Pots peer configuration.
!
dial-peer voice 1 pots
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 100 voip
destination-pattern T
session target ip 10.32.1.4 5060
session protocol sip
codec g711alaw
voice-class codec 1
no vad
dtmf-relay info
preference 1
!
!
!
!
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id voip.10.32.0.8
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! Tones
!
!
!
!
line console
!
line vty
!
gsm dev-restart-by-unreg 300
!
gsm 0/0
sms-language utf8
!
gsm 0/1
sms-language utf8
!
end
Лог звонка
Код:
369 <CEP 000000> : Call Received
370 <CEP 000000> : Call Received
371 <CEP 000000> : Call Initiated : calledNumber() crv(0) total(0)
372 <Call 17> : ****** Call Created status(InitiatedByGSM) ver(8.28:2006-02-06-00-00) time(1296763950) ****
373 <CEP 000000> : Decode CID :
374 <CEP 000000> : Calling number()
375 <CEP 000000> : Call id(2e0c4b4d-626d-19c3-802c-0002a407b198) callNum(17)
376 <Call 17> : MatchAllProcess After Sorted
<0> id(100) dest(T) prefer(1) selected(0)
377 <Call 17> : Initiate callee with dial-peer(T) status(CalleeDeterminedAll) id(2e0c4b4d-626d-19c3-802c-0002a407b198)
378 <NetEP 17> : InitiateOutCall: calledNum(1002) callingNum() target(10.32.1.4:5060)
379 <NetEP 17> : DoCall: calledAddr(sip:1002@10.32.1.4:5060) callingAddr()
380 <SIP 17> : SetLocalAudioFormats : outbound(TRUE) hqaEnable(FALSE)
381 <SIP 17> : SetLocalAudioFormats : myVoipPeer(100) is not NULL, codec(0)
382 <SIP 17> : SetLocalAudioFormats : outbound(TRUE) hqaEnable(FALSE)
383 <SIP 17> : SetLocalAudioFormats : myVoipPeer(100) is not NULL, codec(0)
384 <SIP 0> : No authentication information available
385 <SIP 17> : Send INVITE Request
386 <SIP 17> : Receive 404 Not Found
387 <SIP 17> : Transaction (11 INVITE) completed
388 <SIP 17> : Send ACK Request
389 <SIP 17> : Check Event Relation code(404)
390 <SIP 17> : ReleaseWithNothing
391 <Call 17> : Terminated from(fffffffe) this(Remote:InvalidNumber) before((null)) forced(0) time(1296763950)
392 <CEP 000000> : DisconnectCall at Busy
393 <CEP 000000> : StopSignal
394 <CEP 000000> : Disconnect (0)
395 <NetEP 17> : Call TO <sip:1002@10.32.1.4> terminated reason(Remote:InvalidNumber)
396 <CEP 000000> : Disconnected(16) at Disconnecting
397 <SIP 17> : Set Terminated Success for 11 INVITE
Почему то ругается на инвалид номер.