Доброе утро. Спасибо что не оставляете в пучине страстей цифровых)
Что имеем.
Конфиг Addpac
Код: Выделить всё
version 8.51.002
!
hostname GS1002
!
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.88.50 255.255.255.0
ip nat outside
speed auto
no qos-control
!
interface FastEthernet0/1
ip address 192.168.0.1 255.255.255.0
ip nat inside
speed auto
no qos-control
!
no ip routing
ip route 0.0.0.0 0.0.0.0 192.168.88.1 10
!
!
!
!
http server
!
dns name-server 192.168.88.1
logging command
logging event 4-warning
logging on
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
protocol sip
dtmf-relay out-of-band
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
no caller-id enable
!
!
! GSM
voice-port 0/1
no caller-id enable
!
!
! FXS
voice-port 0/2
no announcement
no caller-id enable
!
!
! FXS
voice-port 0/3
no caller-id enable
!
!
!
!
! service port group configuration.
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 301
port 0/2
user-name Addpac1
user-password addpac301
!
!
!
! Voip peer configuration.
!
dial-peer voice 101 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 1
no vad
dtmf-relay rtp-2833
!
!
!
!
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id voip.192.168.88.13
no ignore-msg-from-other-gk
register
!
!
! Codec classes configuration.
!
voice class codec 0
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g7231r53
codec preference 4 g7231r63
codec preference 5 g729
!
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-server 192.168.88.13
call-transfer-mode attended
remote-party-id
register e164
!
!
! Tones
!
!
!
!
line console
!
line vty
!
gsm dev-restart-by-unreg 300
!
gsm 0/0
sms-language utf8
!
gsm 0/1
sms-language utf8
!
end
Дебаг Addpac при регистрации. Из него видно что Addpac не может пройти регистрацию, хз почему. В этом пока проблема.
2282 <CEP 000200> : Call Received
2283 <CEP 000200> : Call Initiated : calledNumber() crv(0) total(0)
2284 <SIP 261> : WriteREGISTER
2285 <SIP 0> : No authentication information available
2286 <SIP 261> : Send REGISTER Request
2287 <Call 21> : ****** Call Created status(InitiatedByFXS) ver(8.28:2006-02-06-00-00) time(1311242300) ****
2288 <CEP 000200> : Calling number(301)
2289 <CEP 000200> : Call id(3cf8274e-c99e-7d81-802a-0002a407910a) callNum(21)
2290 <SIP 261> : Receive 401 Unauthorized
2291 <SIP 261> : Transaction (261 REGISTER) completed
2292 <SIP 0> : No opaque in authentication
2293 <SIP 262> : WriteREGISTER
2294 <SIP 0> : Adding authentication information
2295 <SIP 262> : Send REGISTER Request
2296 <SIP 262> : Receive 403 Forbidden (Bad auth)
2297 <SIP 262> : Transaction (262 REGISTER) completed
2298 <Time 0> : Gatekeeper registration retry timeout.
2299 <GK 0> : Try registration to All candidated GKs exclude() exclusive()
2300 <GK 0> : Fail registration to all alternate GKs
no term mon2301 <SIP 261> : Set Terminated Success for 261 REGISTER
2302 <SIP 262> : Set Terminated Success for 262 REGISTER
Ну и на Астериске соответственно
Extension 301
User Addpac
Secret addpac301
На Asterisk инвайтов не каких не приходит, только Options сыпятся.
Россия. День 3-ий. Год 2011-ый.