キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
8839
閲覧回数
20
いいね!
17
返信

ISDN BRI incoming call to SIP server not working

manoj_Japan
Level 1
Level 1

Hello

I have configuring Cisco 2811 router which has ISDN BRI line. Outgoing calls are working fine but somehow incoming call not route to the SIP server. on SIP server SIP trunk configured with trunk number 0473920062.

Bellow is the configuration. I have attached debug file. 
Any support would be highly appreciated.

Building configuration...


Current configuration: 2730 bytes
!
! Last configuration change at 13:59:50 UTC Sun Nov 18 2018 by admin
version 15.1
service config
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname VGTOK01
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
no network-clock-participate wic 0
network-clock-participate wic 1
network-clock-participate wic 2
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
!
ip domain name kkleads.com
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-ntt
!
!
!
voice service voip
allow-connections sip to sip
sip
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8 bytes 40
codec preference 3 g723r63 bytes 96
codec preference 4 g726r16 bytes 80
!
!
!
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
!
!
!
license udi pid CISCO2811 sn FHK1438F2K3
username admin privilege 15 password 0 gateway2000
!
redundancy
!
!
controller T1 0/0/0
!
controller T1 0/0/1
!
ip ssh version 2
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.205 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface BRI0/1/0
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
!
interface BRI0/1/1
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
!
interface BRI0/2/0
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
!
interface BRI0/2/1
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
!
ip default-gateway 192.168.1.1
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
nls resp-timeout 1
cpd cr-id 1
!
!
!
!
!
!
control-plane
!
!
voice-port 0/1/0
!
voice-port 0/1/1
!
voice-port 0/2/0
!
voice-port 0/2/1
!
!
!
mgcp profile default
!
!
dial-peer voice 20000 voip
preference 1
destination-pattern 047.......
session protocol sipv2
session target ipv4:192.168.1.200
voice-class codec 1
dtmf-relay rtp-nte
no vad
!
dial-peer voice 10000 pots
preference 2
destination-pattern .T
port 0/2/0
!
dial-peer voice 10001 pots
preference 1
destination-pattern .T
incoming called-number .
direct-inward-dial
port 0/1/0
!
!
sip-ua
authentication username 10000 password 7 14474B5A28550F7E7D7C6A6077
retry invite 3
retry response 3
retry bye 3
retry cancel 3
timers expires 300000
registrar ipv4:192.168.1.200 expires 300
sip-server ipv4:192.168.1.200:5060
!
!
!
gatekeeper
shutdown
!
!
!
line con 0
line aux 0
line vty 0 4
login local
transport input ssh
!
scheduler allocate 20000 1000
end

VGTOK01#

2 件の受理された解決策

受理された解決策

Hiroaki Usui
Cisco Employee
Cisco Employee

こんにちは。

着信番号なしの場合は、着信pots dial-peer上でconnection plar コマンドを使うことで、固定の宛先番号へルーティングさせることはできるかと思います。複数番号へ着信させたい場合は、ダイヤル契約が必要です。

下記ドキュメントの "2.接続 PLAR および接続トランクを使用します" を参考にしてください。

https://www.cisco.com/c/ja_jp/support/docs/voice/voice-quality/22373-1stage2stage.html#topic7

 

また、NTT回線へ接続する場合は、下記のグローバルコマンドが必須です。

!

voice call send-alert

!

 

よろしくお願いします。

 

元の投稿で解決策を見る

SIPサーバ側でダイジェスト認証がかかっていて 407 を受信して失敗しているので、SIPサーバ側の認証を外してもらって再度試してみてください。

 

SIP/2.0 407 Proxy Authentication Required

元の投稿で解決策を見る

17件の返信17

manoj_Japan
Level 1
Level 1

何方か助けて頂けないでしょうか。

宜しくお願いします

コンフィグを少し変更しました。まだ着信できませんが発信は問題なくできます。着信先はSIPサーバーです。

SIPトランクの番号は 3920072です。Dial-peerのdestination-pattern 3......で設定いれてありますが、SIPサーバーへ届く気配はありません。Number Translation必要でしょうかね。

 

 

VGTOK01#show running-config
Building configuration...


Current configuration : 4888 bytes
!
! Last configuration change at 13:31:01 UTC Wed Nov 21 2018 by admin
version 15.1
service config
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname VGTOK01
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
no network-clock-participate wic 0
network-clock-participate wic 1
network-clock-participate wic 2
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
!
ip domain name cisco.com
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-ntt
!
!
!
voice service voip
allow-connections sip to sip
sip
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8 bytes 40
codec preference 3 g723r63 bytes 96
codec preference 4 g726r16 bytes 80
!
!
!
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-3760181436
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3760181436
revocation-check none
rsakeypair TP-self-signed-3760181436
!
!
crypto pki certificate chain TP-self-signed-3760181436
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33373630 31383134 3336301E 170D3138 31313138 31343538
30355A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 37363031
38313433 3630819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
81009F60 E6D0456B FAE5D8FB A3E3D054 FBD78341 50CB5241 8C2EABA0 04805D50
74F5E3B8 3F4CD3F3 AC4F1ADE FDC799FC AC076C2E 3B92EF7D FB26E261 C29931BD
BED647B3 C26C1075 B35C0B16 781355E1 17617BBF 36B30202 720C3608 B3D8BAF5
DD600C5B 30ADA871 005948AF 0D61F671 5D52681C D02F757C 44E70FA0 B4493944
698B0203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 14E07BF4 A198A0D3 2F7EDFC4 60BD5FB5 7770C3F2 0D301D06
03551D0E 04160414 E07BF4A1 98A0D32F 7EDFC460 BD5FB577 70C3F20D 300D0609
2A864886 F70D0101 05050003 8181004F D18C47FA B0D45B6D 1E6ECC98 6DCC5CCB
BBCD7834 0BA4807D FC0E6A64 F86B04D5 AEE80924 24AB16C8 396BB255 B4C70B27
ABAABC39 BEC52986 377649A2 1B42E021 A7BF10E4 886EB321 7765D853 5CCAD730
6C7B2C33 1E64E82B 2362709E E9E149EA 4F742910 0EBD8A8E 9C29AEAC 22ADF8DE
78D22EAB 96CD7451 B69DD864 9137C9
quit
!
!
license udi pid CISCO2811 sn FHK1438F2K3
username admin privilege 15 password 0 gateway2000
!
redundancy
!
!
controller T1 0/0/0
!
controller T1 0/0/1
!
ip ssh version 2
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.205 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface BRI0/1/0
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
isdn map address .* plan unknown type unknown
isdn send-alerting
isdn reject data
isdn reject cause 3
!
interface BRI0/1/1
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
!
interface BRI0/2/0
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
!
interface BRI0/2/1
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
!
ip default-gateway 192.168.1.1
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
nls resp-timeout 1
cpd cr-id 1
!
!
!
!
!
!
control-plane
!
!
voice-port 0/1/0
input gain -3
no non-linear
cptone JP
description BRI
threshold noise -30
!
voice-port 0/1/1
input gain -3
no non-linear
cptone JP
description BRI
threshold noise -30
!
voice-port 0/2/0
input gain -3
no non-linear
cptone JP
description BRI
threshold noise -30
!
voice-port 0/2/1
input gain -3
no non-linear
cptone JP
description BRI
threshold noise -30
!
!
!
mgcp profile default
!
!
dial-peer voice 10001 pots
preference 1
destination-pattern .T
incoming called-number .
direct-inward-dial
port 0/1/0
forward-digits all
!
dial-peer voice 10000 pots
preference 2
destination-pattern .T
incoming called-number .
direct-inward-dial
port 0/2/0
forward-digits all
!
dial-peer voice 200 voip
description inbound from 3CX
incoming called-number .
voice-class codec 1
no vad
!
dial-peer voice 201 voip
description outbound to 3CX
destination-pattern 3......
session protocol sipv2
session target ipv4:192.168.1.200
voice-class codec 1
no vad
!
!
sip-ua
retry invite 3
retry response 3
retry bye 3
retry cancel 3
timers expires 300000
registrar ipv4:192.168.1.200 expires 300
sip-server ipv4:192.168.1.200:5060
!
!
!
gatekeeper
shutdown
!
!
!
line con 0
line aux 0
line vty 0 4
login local
transport input ssh
!
scheduler allocate 20000 1000
end

VGTOK01

こんにちは。
BRI からの SETUP に宛先番号 (Called Party Number) が付与されていないように見えます。

*Nov 18 14:21:31.350: ISDN BR0/1/0 Q931: SETUP pd = 8 callref = 0x32
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x89
Exclusive, B1
Calling Party Number i = 0x0083, '<省略>'
Plan:Unknown, Type:Unknown
*Nov 18 14:21:31.358: //-1/145D07138017/CCAPI/cc_api_display_ie_subfields:

おはようございます!
確認して頂いてありがとうございます
確かにグーグルで調べて見たら、設定正しい場合は、Debugの結果に Called Party Numberの情報がありますね。
BRIの設定になにどのカマーンドが必要ですか?
宜しくお願いします。

Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x81
Preferred, B1
Calling Party Number i = 0x2181, '9115XXXXX'
Plan:ISDN, Type:National
*Called Party Number i = 0x80, '0038XXXXX'*
Plan:Unknown, Type:Unknown
Sending Complete
Feb 26 15:27:52.087: ISDN BR0/0/0 Q931: RX <- CALL_PROC pd = 8 callref =
0xD8
Channel ID i = 0x89
Exclusive, B1

ルータの設定ではなく、網側 (NTT) から着信番号 (Called Party Number) が送出されていないことが考えられます。

ダイヤルインの契約について確認してみてください。

 

 

参考

外線接続に利用するNTT ISDN回線 契約オプションについて

このために、ダイヤルイン契約を行う必要があります。
ダイヤルイン契約は複数の子番号を持つ場合にのみ必要な契約で、追加の回線番号を

必要としない場合にはいらないように感じますが、この契約を行わないと網側からの

着信番号が送出されません。

 

Hi Ogami-san,
素早いお返事ありがとうございます。
ダイヤルインの契約について確認します。
宜しくお願いします。

Hiroaki Usui
Cisco Employee
Cisco Employee

こんにちは。

着信番号なしの場合は、着信pots dial-peer上でconnection plar コマンドを使うことで、固定の宛先番号へルーティングさせることはできるかと思います。複数番号へ着信させたい場合は、ダイヤル契約が必要です。

下記ドキュメントの "2.接続 PLAR および接続トランクを使用します" を参考にしてください。

https://www.cisco.com/c/ja_jp/support/docs/voice/voice-quality/22373-1stage2stage.html#topic7

 

また、NTT回線へ接続する場合は、下記のグローバルコマンドが必須です。

!

voice call send-alert

!

 

よろしくお願いします。

 

VGTOK01#show runn
VGTOK01#show running-config
Building configuration...


Current configuration : 4948 bytes
!
! Last configuration change at 02:06:08 UTC Thu Nov 22 2018 by admin
version 15.1
service config
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname VGTOK01
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
no network-clock-participate wic 0
network-clock-participate wic 1
network-clock-participate wic 2
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
!
ip domain name kkleads.com
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-ntt
!
!
voice call send-alert
!
voice service voip
allow-connections sip to sip
sip
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8 bytes 40
codec preference 3 g723r63 bytes 96
codec preference 4 g726r16 bytes 80
!
!
!
!
!
voice translation-profile profile1
translate calling 1
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-3760181436
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3760181436
revocation-check none
rsakeypair TP-self-signed-3760181436
!
!
crypto pki certificate chain TP-self-signed-3760181436
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33373630 31383134 3336301E 170D3138 31313138 31343538
30355A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 37363031
38313433 3630819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
81009F60 E6D0456B FAE5D8FB A3E3D054 FBD78341 50CB5241 8C2EABA0 04805D50
74F5E3B8 3F4CD3F3 AC4F1ADE FDC799FC AC076C2E 3B92EF7D FB26E261 C29931BD
BED647B3 C26C1075 B35C0B16 781355E1 17617BBF 36B30202 720C3608 B3D8BAF5
DD600C5B 30ADA871 005948AF 0D61F671 5D52681C D02F757C 44E70FA0 B4493944
698B0203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 14E07BF4 A198A0D3 2F7EDFC4 60BD5FB5 7770C3F2 0D301D06
03551D0E 04160414 E07BF4A1 98A0D32F 7EDFC460 BD5FB577 70C3F20D 300D0609
2A864886 F70D0101 05050003 8181004F D18C47FA B0D45B6D 1E6ECC98 6DCC5CCB
BBCD7834 0BA4807D FC0E6A64 F86B04D5 AEE80924 24AB16C8 396BB255 B4C70B27
ABAABC39 BEC52986 377649A2 1B42E021 A7BF10E4 886EB321 7765D853 5CCAD730
6C7B2C33 1E64E82B 2362709E E9E149EA 4F742910 0EBD8A8E 9C29AEAC 22ADF8DE
78D22EAB 96CD7451 B69DD864 9137C9
quit
!
!
license udi pid CISCO2811 sn FHK1438F2K3
username admin privilege 15 password 0 gateway2000
!
redundancy
!
!
controller T1 0/0/0
!
controller T1 0/0/1
!
ip ssh version 2
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.205 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface BRI0/1/0
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
isdn send-alerting
isdn reject data
isdn reject cause 3
!
interface BRI0/1/1
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
!
interface BRI0/2/0
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
!
interface BRI0/2/1
no ip address
isdn switch-type ntt
isdn point-to-point-setup
isdn incoming-voice voice
!
ip default-gateway 192.168.1.1
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
nls resp-timeout 1
cpd cr-id 1
!
!
!
!
!
!
control-plane
!
!
voice-port 0/1/0
input gain -3
no non-linear
cptone JP
connection plar 7777
description BRI
threshold noise -30
!
voice-port 0/1/1
input gain -3
no non-linear
cptone JP
description BRI
threshold noise -30
!
voice-port 0/2/0
input gain -3
no non-linear
cptone JP
description BRI
threshold noise -30
!
voice-port 0/2/1
input gain -3
no non-linear
cptone JP
description BRI
threshold noise -30
!
!
!
mgcp profile default
!
!
dial-peer voice 10001 pots
preference 1
destination-pattern .T
incoming called-number .
direct-inward-dial
port 0/1/0
forward-digits all
!
dial-peer voice 10000 pots
preference 2
destination-pattern .T
incoming called-number .
direct-inward-dial
port 0/2/0
forward-digits all
!
dial-peer voice 200 voip
description inbound from 3CX
incoming called-number .
voice-class codec 1
no vad
!
dial-peer voice 201 voip
description outbound to 3CX
destination-pattern 7777
session protocol sipv2
session target ipv4:192.168.1.200
voice-class codec 1
no vad
!
!
sip-ua
retry invite 3
retry response 3
retry bye 3
retry cancel 3
timers expires 300000
registrar ipv4:192.168.1.200:56898 expires 300
sip-server ipv4:192.168.1.200:5060
!
!
!
gatekeeper
shutdown
!
!
!
line con 0
line aux 0
line vty 0 4
login local
transport input ssh
!
scheduler allocate 20000 1000
end

VGTOK01#

こんにちは
 
お返事ありがとうございます
 
connection plar のコマンドを入れたらCalled Party Number i = 0x80, '7777' を表示されるようになりましたが、SIPサーバーのトランク番号までたどり着かない様子です。
Debugに Cause i = 0x829C - Invalid number format (incomplete number)のエラーが確認できます
 
下記のグローバルコマンドも追加しました。
voice call send-alert
 
宜しくお願いします。
 
voice-portのコンフィグ
ーーーーーーーーーーー
voice-port 0/1/0
 input gain -3
 no non-linear
 cptone JP
 connection plar 7777
 description BRI
 threshold noise -30
 
BRIのコンフィグ
ーーーーーーーー
 
interface BRI0/1/0
 no ip address
 isdn switch-type ntt
 isdn point-to-point-setup
 isdn incoming-voice voice
 isdn send-alerting
 isdn reject data
 isdn reject cause 3
 
dial-peer voipのコンフィグ
ーーーーーーーーーーーーー
dial-peer voice 201 voip
 description outbound to SIP Server
 destination-pattern 7777
 session protocol sipv2
 session target ipv4:192.168.1.200
 voice-class codec 1
 no vad
 
 
Nov 22 02:23:10.647: ISDN BR0/1/0 Q931: TX -> SETUP pd = 8  callref = 0x2A
        Bearer Capability i = 0x8090A2
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0x82
                Preferred, B2
        Calling Party Number i = 0x0083, '09098XXXXXX'
                Plan:Unknown, Type:Unknown
        Called Party Number i = 0x80, '7777'
                Plan:Unknown, Type:Unknown
*Nov 22 02:23:10.811: ISDN BR0/1/0 Q931: RX <- CALL_PROC pd = 8  callref = 0xAA
        Channel ID i = 0x8A
                Exclusive, B2
*Nov 22 02:23:10.811: //2590/63E8072B802E/CCAPI/cc_api_call_proceeding:
   Interface=0x4B66A3C4, Progress Indication=NULL(0)
*Nov 22 02:23:10.895: ISDN BR0/1/0 Q931: RX <- DISCONNECT pd = 8  callref = 0xAA
        Cause i = 0x829C - Invalid number format (incomplete number)
        Progress Ind i = 0x8288 - In-band info or appropriate now available

SETUP が POTS 側に送信されているので、他の dial-peer を 0T に変更してはどうでしょうか?

ありがとうございます!

Sip server に着信されるVoipに destination-pattern 0Tに変更したんですが。駄目でした。

Debugの結果は下にあります。以前と同じく発信は大丈夫ですが、着信は繋がりません。

宜しくお願いします

 

dial-peer voice 200 voip
description inbound from SIP Server
incoming called-number .
voice-class codec 1
no vad
!
dial-peer voice 201 voip
description outbound to SIP Server
destination-pattern 0T
session protocol sipv2
session target ipv4:192.168.1.200
voice-class codec 1
no vad

 

Nov 22 07:36:10.434: ISDN BR0/1/0 Q931: RX <- SETUP pd = 8 callref = 0x6A
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x89
Exclusive, B1
Calling Party Number i = 0x0083, '09098253367'
Plan:Unknown, Type:Unknown
*Nov 22 07:36:10.454: ISDN BR0/2/0 Q931: Applying typeplan for sw-type 0x9 is 0x0 0x0, Calling num 09098253367
*Nov 22 07:36:10.458: ISDN BR0/2/0 Q931: Applying typeplan for sw-type 0x9 is 0x0 0x0, Called num 7777
*Nov 22 07:36:10.458: ISDN BR0/1/0 Q931: TX -> CALL_PROC pd = 8 callref = 0xEA
Channel ID i = 0x89
Exclusive, B1
*Nov 22 07:36:10.458: ISDN BR0/2/0 **ERROR**: handle_l2d_srq_mail: Layer 1 inactive
*Nov 22 07:36:18.462: ISDN BR0/2/0 Q931: L3_ShutDown: Shutting down ISDN Layer 3
*Nov 22 07:36:18.470: %ISDN-6-DISCONNECT: Interface BRI0/1/0:1 disconnected from unknown , call lasted 0 seconds
*Nov 22 07:36:18.474: ISDN BR0/1/0 Q931: TX -> DISCONNECT pd = 8 callref = 0xEA
Cause i = 0x80A9 - Temporary failure
*Nov 22 07:36:18.514: %LINK-3-UPDOWN: Interface BRI0/2/0, changed state to down
*Nov 22 07:36:18.518: ISDN BR0/1/0 Q931: RX <- RELEASE pd = 8 callref = 0x6A
*Nov 22 07:36:18.522: ISDN BR0/1/0 Q931: TX -> RELEASE_COMP pd = 8 callref = 0xEA
VGTOK01(config-dial-peer)#destination-pattern .T
VGTOK01(config-dial-peer)#
*Nov 22 07:37:00.194: ISDN BR0/1/0 Q931: RX <- SETUP pd = 8 callref = 0x6B
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x89
Exclusive, B1
Calling Party Number i = 0x0083, '09098253367'
Plan:Unknown, Type:Unknown
*Nov 22 07:37:00.214: ISDN BR0/1/0 Q931: Applying typeplan for sw-type 0x9 is 0x0 0x0, Calling num 09098253367
*Nov 22 07:37:00.214: ISDN BR0/1/0 Q931: Sending SETUP callref = 0x0004 callID = 0x8009 switch = ntt interface = User
*Nov 22 07:37:00.214: ISDN BR0/1/0 Q931: TX -> CALL_PROC pd = 8 callref = 0xEB
Channel ID i = 0x89
Exclusive, B1
*Nov 22 07:37:00.238: ISDN BR0/1/0 Q931: TX -> SETUP pd = 8 callref = 0x04
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x82
Preferred, B2
Calling Party Number i = 0x0083, '09098253367'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '7777'
Plan:Unknown, Type:Unknown
*Nov 22 07:37:00.378: ISDN BR0/1/0 Q931: RX <- CALL_PROC pd = 8 callref = 0x84
Channel ID i = 0x8A
Exclusive, B2
*Nov 22 07:37:00.542: ISDN BR0/1/0 Q931: RX <- DISCONNECT pd = 8 callref = 0x84
Cause i = 0x829C - Invalid number format (incomplete number)
Progress Ind i = 0x8288 - In-band info or appropriate now available
*Nov 22 07:37:00.558: %ISDN-6-DISCONNECT: Interface BRI0/1/0:1 disconnected from unknown , call lasted 0 seconds
*Nov 22 07:37:00.558: ISDN BR0/1/0 Q931: TX -> DISCONNECT pd = 8 callref = 0xEB
Cause i = 0x809C - Invalid number format (incomplete number)
*Nov 22 07:37:00.614: ISDN BR0/1/0 Q931: RX <- RELEASE pd = 8 callref = 0x6B
*Nov 22 07:37:00.618: ISDN BR0/1/0 Q931: TX -> RELEASE_COMP pd = 8 callref = 0xEB
*Nov 22 07:37:00.642: ISDN BR0/1/0 Q931: TX -> RELEASE pd = 8 callref = 0x04
Cause i = 0x80E4 - Invalid information element contents
*Nov 22 07:37:00.698: ISDN BR0/1/0 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x84

Ogamiからのコメントは、ISDNから入ったコールが再度ISDNI側へ折り返されているため、potsのdial-peerにマッチしないように(voip dial-peerのみにマッチするように) 2つのpotsのdestination-pattenを0Tに変更してくださいという趣旨になるかと思います。

 

よろしくお願いします。

ありがとうございます
以下の POTS と VOIPのDial-peer を1個すつに減らして、教えて頂いとdestination-pattern
0Tで確認しましたが、まだ着信はできません。
Debugの結果は以下のとおりです

宜しくお願いします。


dial-peer voice 10001 pots
description OUTGOING CALLS TO PSTN
preference 1
destination-pattern 0T
direct-inward-dial
port 0/1/0
forward-digits all
!
dial-peer voice 200 voip
description CALLS FROM PSTN TO SIP SERVER
destination-pattern 777.
session protocol sipv2
session target ipv4:192.168.1.200
incoming called-number .
voice-class codec 1
no vad

*Nov 22 15:12:38.445: ISDN BR0/1/0 Q931: RX <- SETUP pd = 8 callref = 0x01
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x89
Exclusive, B1
Calling Party Number i = 0x0083, '09098253096'
Plan:Unknown, Type:Unknown
*Nov 22 15:12:38.473: ISDN BR0/1/0 Q931: TX -> CALL_PROC pd = 8 callref =
0x81
Channel ID i = 0x89
Exclusive, B1
*Nov 22 15:12:38.565: %ISDN-6-DISCONNECT: Interface BRI0/1/0:1
disconnected from unknown , call lasted 0 seconds
*Nov 22 15:12:38.569: ISDN BR0/1/0 Q931: TX -> DISCONNECT pd = 8 callref =
0x81
Cause i = 0x80AF - Resource unavailable, unspecified
*Nov 22 15:12:38.625: ISDN BR0/1/0 Q931: RX <- RELEASE pd = 8 callref =
0x01
*Nov 22 15:12:38.629: ISDN BR0/1/0 Q931: TX -> RELEASE_COMP pd = 8 callref
= 0x81

こんにちは。

今回はSIP側で切断されていると思われますので、下記のdebugも有効にして確認いただけますか。

 

debug ccsip messages

 

よろしくお願いします。

ありがとうございます。
debug ccsip messagesを有効にした結果です。
宜しくお願いします。


VGTOK01#
*Nov 23 05:24:17.361: ISDN BR0/1/0 Q931: RX <- SETUP pd = 8 callref = 0x02
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x89
Exclusive, B1
Calling Party Number i = 0x0083, '09098253333'
Plan:Unknown, Type:Unknown
*Nov 23 05:24:17.389: //224/DB795DD78020/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:7777@192.168.1.200:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.205:5060;branch=z9hG4bKA71A71
Remote-Party-ID: <09098253333>>;party=calling;screen=yes;privacy=off
From: <09098253333>;tag=58E613C-18E1
To: <7777>
Date: Fri, 23 Nov 2018 05:24:17 GMT
Call-ID: DB7C6B38-EE1611E8-811CF7F7-9CFE5AEE@192.168.1.205
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 3682164183-3994423784-2149640196-1648956344
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE,
NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1542950657
Contact: <09098253333>
Expires: 300
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 314

v=0
o=CiscoSystemsSIP-GW-UserAgent 1423 6570 IN IP4 192.168.1.205
s=SIP Call
c=IN IP4 192.168.1.205
t=0 0
m=audio 18242 RTP/AVP 0 18 4 98
c=IN IP4 192.168.1.205
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=fmtp:4 bitrate=6.3;annexa=no
a=rtpmap:98 G726-16/8000

*Nov 23 05:24:17.393: ISDN BR0/1/0 Q931: TX -> CALL_PROC pd = 8 callref =
0x82
Channel ID i = 0x89
Exclusive, B1
*Nov 23 05:24:17.405: //224/DB795DD78020/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.1.205:5060;branch=z9hG4bKA71A71
Proxy-Authenticate: Digest
nonce="414d535c12081f6964:27ca45f213154ba760be1f7533bc0af5",algorithm=MD5,realm="3CXPhoneSystem"
To: <7777>;tag=83657f30
From: <09098253333>;tag=58E613C-18E1
Call-ID: DB7C6B38-EE1611E8-811CF7F7-9CFE5AEE@192.168.1.205
CSeq: 101 INVITE
User-Agent: 3CXPhoneSystem 15.5.15502.6 (15502)
Content-Length: 0


*Nov 23 05:24:17.417: %ISDN-6-DISCONNECT: Interface BRI0/1/0:1
disconnected from unknown , call lasted 0 seconds
*Nov 23 05:24:17.417: ISDN BR0/1/0 Q931: TX -> DISCONNECT pd = 8 callref =
0x82
Cause i = 0x80AF - Resource unavailable, unspecified
*Nov 23 05:24:17.421: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:7777@192.168.1.200:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.205:5060;branch=z9hG4bKA71A71
From: <09098253333>;tag=58E613C-18E1
To: <7777>;tag=83657f30
Date: Fri, 23 Nov 2018 05:24:17 GMT
Call-ID: DB7C6B38-EE1611E8-811CF7F7-9CFE5AEE@192.168.1.205
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0


*Nov 23 05:24:17.477: ISDN BR0/1/0 Q931: RX <- RELEASE pd = 8 callref =
0x02
*Nov 23 05:24:17.481: ISDN BR0/1/0 Q931: TX -> RELEASE_COMP pd = 8 callref
= 0x82

SIPサーバ側でダイジェスト認証がかかっていて 407 を受信して失敗しているので、SIPサーバ側の認証を外してもらって再度試してみてください。

 

SIP/2.0 407 Proxy Authentication Required

認証を外して試してみたら、問題なく繋がりました。
最後まで、色々教えて頂いてどうもありがとうございます。このコミュニティーで初めての経験でしたが、皆様の素晴らしい対応に感動しました。これからも色々お世話になるかと思いますが、よろしくお願い致します。
Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします