Вы на flash не нажимаете?
VM(0/x/0) Tx PSTN CCC_HOOKFLASH_IND
Мои настройки и дебаг:
Код:
AP1000# sho ru
!
version 8.30U
!
hostname AP1000
!
!
no bridge spanning-tree
!
dhcp-list 1 type server
dhcp-list 1 address server 10.1.1.2 10.1.1.126 255.255.255.128
!
!
no ip-share enable
ip-share interface net-side ether0.0
ip-share interface local-side ether1.0
!
interface ether0.0
ip address 10.22.10.90 255.255.255.0
!
interface ether1.0
no ip address
!
snmp name AP1000
snmp enable-trap dn-register 300 forcely-block
!
no arp reset
!
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
no busyout monitor gatekeeper
no busyout monitor sip-server
no busyout monitor callagent
no busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
fax-early-detect
caller-id enable
!
!
! FXS
voice-port 0/1
fax-early-detect
caller-id enable
!
!
! FXS
voice-port 0/2
fax-early-detect
caller-id enable
!
!
! FXS
voice-port 0/3
fax-early-detect
caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 110
port 0/0
user-password 110
!
dial-peer voice 1 pots
destination-pattern 134
port 0/1
user-password 134
!
dial-peer voice 2 pots
destination-pattern 188
port 0/2
user-password 188
!
dial-peer voice 3 pots
destination-pattern 167
port 0/3
user-password 167
!
!
!
! Voip peer configuration.
!
dial-peer voice 100 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 100
no vad
codec-variant g7231 standard
no dtmf-relay
fax protocol t38 redundancy 0
fax rate 9600
!
!
!
dial-peer terminator n
dial-peer ipaddr-prefix n
dial-peer call-hold h
dial-peer call-transfer h
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.10.22.10.90
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 100
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729
!
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-server 10.22.10.254
call-transfer-mode attended
media-channel early
register e164
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
!
!
!
Код:
AP1000#
AP1000# [207.210] VM(0/0/0) vmOffHook
[207.270] VM(0/0/0) vmTmoOffHook
[207.270] VM(0/0/0) Rx OffHook
[207.270] VM(0/0/0) vopp enable
[207.270] VM(0/0/0) Tx OFFHOOK_IND
[207.270] VM(0/0/0) play Dial tone
7 <CEP 000000> : Call Received
8 <CEP 000000> : Call Initiated : calledNumber() crv(0) total(0)
9 <SIP 12> : Send REGISTER Request
Sending SIP PDU to ( 10.22.10.254:5060 ) from 5060
REGISTER sip:10.22.10.254 SIP/2.0
Via: SIP/2.0/UDP 10.22.10.90:5060;branch=z9hG4bK444a0300a412
From: <sip:110@10.22.10.254>;tag=444a0300a4
To: sip:110@10.22.10.254
Call-ID: 441cf84a-7cbb-033c-8000-0002a4056802@10.22.10.90
CSeq: 12 REGISTER
Date: Mon, 09 Nov 2009 13:45:32 GMT
User-Agent: AddPac SIP Gateway
Contact: <sip:110@10.22.10.90>;expires=60
Expires: 60
Content-Length: 0
Max-Forwards: 70
10 <SIP 12> : Set Terminated Transport Error for 12 REGISTER
11 <Call 4> : ****************** Call Created status(InitiatedByFXS) *******************
12 <CEP 000000> : Calling number(110)
13 <CEP 000000> : Call id(fc1cf84a-e739-8644-8008-0002a4056802) callNum(4)
[211.550] VM(0/0/0) Tx DIGIT_IND '#'
[211.555] VM(0/0/0) play mute
14 <Call 4> : Digit(#) at InitiatedByFXS
[211.555] RTA(0/0/0) Rx CC_PSTN_RELAY_REQ peerId(0/0/0)
[211.650] VM(0/0/0) PSTN Relay ON
[211.655] VM(0/0/0) vmOnHook
[211.705] VM(0/0/0) vmTmoOnHook
[211.755] VM(0/0/0) vmTmoOnHook
[211.805] VM(0/0/0) vmTmoOnHook
[211.855] VM(0/0/0) vmTmoOnHook
[211.905] VM(0/0/0) vmTmoOnHook
[211.955] VM(0/0/0) vmTmoOnHook
[212.005] VM(0/0/0) vmTmoOnHook
[212.055] VM(0/0/0) vmTmoOnHook
[212.105] VM(0/0/0) vmTmoOnHook
[212.155] VM(0/0/0) vmTmoOnHook
[212.160] VM(0/0/0) PSTN Relay OFF
[212.160] VM(0/x/0) PSTN CCC_DISCONNECTED
[212.160] VM(0/0/0) vmOnHook
[212.165] VM(0/0/0) vmOffHook
[212.225] VM(0/0/0) vmTmoOffHook
[212.225] VM(0/0/0) Rx OffHook