来自 PSTN 的来电不会转发到手机号码

网络工程 思科 网络电话
2021-07-16 03:27:20

我们将 Cisco 2921 连接到带有 Call Manager Express 的 T1 ISDN PRI。我们使用的是 CP8861 SIP 电话。一切正常,呼入呼出。为了更好地说明问题,这里有一个例子:Bob 有一个 DID 分机 101。当他在电话上选择前转所有选项时,他想将呼叫从他的分机转移到他的手机 9.......。安娜有分机 102,她在分机 101 上呼叫鲍勃,然后呼叫转移到他的手机。但是,当 Bob 的客户 Charlie 从 PSTN 呼叫他到他的 DID 分机时,Charlie 收到一条消息,说“此电话号码不可用”。

有任何想法吗?简而言之,电话可以将来自内部分机的呼叫转移到手机,但不能将来自 PSTN 的呼叫转移到手机上。

省略了一些带有私人信息的行。

!
version 15.6
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
!
boot-start-marker
boot-end-marker
!
!
card type t1 0 0
!
no aaa new-model
ethernet lmi ce
network-clock-participate wic 0
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-ni
!
!
!
voice-card 0
!
!
!
voice service voip
 allow-connections sip to sip
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 sip
  registrar server expires max 1200 min 300
!
!
!
!
voice register global
 mode cme
 source-address 10.0.4.10 port 5060
 max-dn 100
 max-pool 50
 load 8841 sip88xx.11-5-1-18
 load 8861 sip88xx.11-5-1-18
 load 8831 sip88xx.11-5-1-18
 authenticate register
 authenticate realm cisco.com
 dialplan-pattern 1 786165.... extension-length 4
 tftp-path flash:
 create profile sync 0006163776915567
!
voice register dn  1
 number 6475
 name Bob
 label 6475 Bob
 call-forward b2bua all 97864238593
!
voice register pool  1
 busy-trigger-per-button 2
 id mac 40A6.E8B1.01DF
 type 8861
 number 1 dn 1
 username 01DF password cisco
 codec g711ulaw
!
redundancy
!
!
controller T1 0/0/0
 cablelength long 0db
 pri-group timeslots 1-24
!
!
!
!
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface ISM0/0
 no ip address
 shutdown
 !Application: CUE Running on ISM
!
interface GigabitEthernet0/1
 ip address 10.0.4.10 255.255.255.0
 duplex auto
 speed auto
!
interface GigabitEthernet0/2
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface ISM0/1
 description Internal switch interface connected to Internal Service Module
 no ip address
!
interface Serial0/0/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 no cdp enable
!
interface Vlan1
 no ip address
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 10.0.4.1
!
!
!
tftp-server flash:kern88xx.11-5-1-18.sbn
tftp-server flash:fbi88xx.BE-01-010.sbn
tftp-server flash:rootfs88xx.11-5-1-18.sbn
tftp-server flash:sip88xx.11-5-1-18.loads
tftp-server flash:vc488xx.11-5-1-18.sbn
!
control-plane
!
!
voice-port 0/0/0:23
!
voice-port 0/1/0
!
voice-port 0/1/1
!
voice-port 0/1/2
!
voice-port 0/1/3
 !
 !
 !
 !
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dial-peer voice 1 pots
 destination-pattern 9[2-9]..[2-9]......$
 port 0/0/0:23
 forward-digits 10
!
dial-peer voice 2 pots
 destination-pattern 91[2-9]..[2-9]......$
 port 0/0/0:23
 forward-digits 10
!
dial-peer voice 3 pots
 destination-pattern 911
 port 0/0/0:23
 forward-digits 3
!
dial-peer voice 4 pots
 destination-pattern 9911
 port 0/0/0:23
 forward-digits 3
!
dial-peer voice 5 pots
 destination-pattern 9011T
 port 0/0/0:23
 prefix 011
!
!
!
!
gatekeeper
 shutdown
!
!
!
1个回答

塞博林先生,

我遇到了同样的问题,这是因为 E1 服务提供商不允许将其作为避免收费欺诈的限制。在我的情况下,为了使它工作,我使用了突出显示的选项。希望这可以帮助。

ephone-dn 5 dual-line
number XXXX
**snr calling-number local**
snr [Mobile Number] delay 10 timeout 24 cfwd-noan 500
snr ring-stop
call-forward noan 500 timeout 24