cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
959
Views
0
Helpful
12
Replies

CUBE and Inbound Calling

khayes1984
Level 1
Level 1

Hello fellow voice engineers!!! I'm stuck on a couple of issues here. My telco is VIA talk and I've gotten outbound calling working, but calls from the PSTN aren't hitting the gateway. It sounds like a dial-peer issue to me, but here's my config below. I thought I configured my dial-peers to work correctly, maybe not. I even thought about using my dial-peers from my CME config to test my theory. I also did some debugging and could not see calls hit the gateway (Inbound), but I could see calls hit the gateway outbound...any ideas?

ip dhcp excluded-address 10.0.2.1 10.0.2.19
!
ip dhcp pool PHONES
   network 10.0.2.0 255.255.255.0
   default-router 10.0.2.1
   dns-server 10.0.1.3
   option 150 ip 10.0.1.9 10.0.2.1
!
!
multilink bundle-name authenticated
!
!
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
fax protocol pass-through g711ulaw
h323
  emptycapability
  h225 id-passthru
  h245 passthru tcsnonstd-passthru
sip
!
!
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 ilbc
codec preference 3 g729r8
!
!
!
voice class h323 50
h225 timeout tcp establish 3
!
!
!
!
!
!
!
!
!
voice translation-rule 1
rule 1 /9911/ /911/
rule 2 /9411/ /411/
!
voice translation-rule 2
rule 1 /9678+/ /678/
rule 2 /9770+/ /770/
rule 3 /9404+/ /404/
!
voice translation-rule 3
rule 1 /9+/ //
!
voice translation-rule 4
rule 1 /91+/ /1/
!
voice translation-rule 5
rule 1 /9011+/ /011/
!
voice translation-rule 6
rule 1 /16783694923/ /1000/
!
voice translation-rule 7
rule 1 /1.../ /16783694923/
!
!
voice translation-profile Incoming
translate calling 7
translate called 6
!
voice translation-profile Local10
translate calling 7
translate called 2
!
voice translation-profile Local7
translate calling 7
translate called 3
!
voice translation-profile LongDistance
translate calling 7
translate called 4
!
voice translation-profile Services
translate calling 7
translate called 1
!
!
!
crypto pki trustpoint TP-self-signed-1409962279
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1409962279
revocation-check none
rsakeypair TP-self-signed-1409962279
!
!
crypto pki certificate chain TP-self-signed-1409962279
certificate self-signed 01
  3082023C 308201A5 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 31343039 39363232 3739301E 170D3131 30333133 32323437
  33335A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 34303939
  36323237 3930819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100A34F 5A5EAD66 841A3158 57380FB0 EE071373 AC297345 D4778B20 98C5DBE9
  C82E8C70 CCE1F109 57CD626D A4E322B5 D7379F5E 3FB88CC5 29BFFD96 927638D5
  0F118607 AC7FA98D 3B4431F0 7EC55705 27564DA9 78553217 522042C7 EF3143F5
  55C210D4 C32BEDBF 6086AA52 A7B69C1B FA378B6C 7765A1D4 ABA2F120 81B92AD0
  DE070203 010001A3 64306230 0F060355 1D130101 FF040530 030101FF 300F0603
  551D1104 08300682 04485147 57301F06 03551D23 04183016 801406CA 2245DA72
  02C095B3 5CEEF7CC 28409F9B 4E48301D 0603551D 0E041604 1406CA22 45DA7202
  C095B35C EEF7CC28 409F9B4E 48300D06 092A8648 86F70D01 01040500 03818100
  89B580DF DA54BD2D CE6A51DA 27FDBCA4 30552C50 B6FE1AFD C1EE0312 4E113E5C
  D65E2529 EED3A0E6 F72200E2 F752F9CF BDD1350B 81E5C7EE DC3F1645 E9641432
  422F6765 ED570700 E457871F 5073BB7B 2C3B51A5 749DD45C 47E5B1F2 C148334C
  F04519EA 10A51F0B FC7E6C40 55124065 E94C6898 2FBAF3FB 3BC658B1 DCDF58F6
       quit
!
!
username Administrator privilege 15 password 7 <removed>
username CCMAdministrator privilege 15 password 7 <removed>
username khayes privilege 15 password 7 <removed>
archive
log config
  hidekeys
!
!
ip ssh version 2
!
!
!
!
interface FastEthernet0/0
description "Connection to WAN"
no ip address
ip access-group 1 in
no ip redirects
no ip proxy-arp
ip nat outside
ip virtual-reassembly
no ip mroute-cache
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
no cdp enable
!
interface Serial0/0
no ip address
shutdown
no fair-queue
!
interface FastEthernet0/1
description "Connected to Trunk Port"
no ip address
no ip redirects
no ip proxy-arp
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1412
no ip mroute-cache
duplex auto
speed auto
!
interface FastEthernet0/1.10
description " Data VLAN"
encapsulation dot1Q 10 native
ip address 10.0.1.16 255.255.255.0
no ip proxy-arp
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1414
!
interface FastEthernet0/1.20
encapsulation dot1Q 20
ip address 10.0.2.1 255.255.255.0
no ip redirects
h323-gateway voip bind srcaddr 10.0.2.1
!
interface Dialer0
ip address negotiated
ip mtu 1492
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname

ppp chap password 7

ppp pap sent-username

!
interface Dialer1
no ip address
fair-queue 64 16 256
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
ip route 10.0.1.0 255.255.255.0 10.0.2.0
ip route 10.0.2.0 255.255.255.0 10.0.1.0
!
ip http server
ip http authentication local
ip http secure-server
ip http path flash:
ip nat inside source static tcp 10.0.1.9 8443 interface Dialer0 10443
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source static tcp 10.0.1.12 3389 interface Dialer0 3389
ip nat inside source static tcp 10.0.1.3 1723 interface Dialer0 1723
ip nat inside source static udp 10.0.1.3 47 interface Dialer0 47
!
ip access-list extended NAT_Addresses
permit ip 10.0.0.0 0.255.255.255 any
ip access-list extended outside_intf
deny   ip 10.0.0.0 0.255.255.255 any
deny   ip 127.0.0.0 0.255.255.255 any
deny   ip 172.16.0.0 0.15.255.255 any
deny   ip 192.168.0.0 0.0.255.255 any
deny   ip host 255.255.255.255 any
permit ip any 10.0.0.0 0.255.255.255
!
access-list 1 permit 10.0.0.0 0.255.255.255
access-list 1 permit 0.0.0.0 255.255.255.0
access-list 101 permit tcp any 10.0.0.0 0.255.255.255 eq 443
access-list 101 deny   ip any any
access-list 101 deny   tcp any host 221.130.119.174
access-list 101 deny   udp any host 221.130.119.174
access-list 101 deny   ip 10.0.0.0 0.255.255.255 any
access-list 101 deny   ip 127.0.0.0 0.255.255.255 any
access-list 101 deny   ip 172.16.0.0 0.15.255.255 any
access-list 101 deny   ip 192.168.0.0 0.0.255.255 any
access-list 101 deny   ip host 255.255.255.255 any
access-list 101 permit esp any host 10.0.1.0
access-list 101 permit esp any host 10.0.2.0
access-list 101 permit udp any host 10.0.1.0 eq isakmp
access-list 101 permit udp any host 10.0.2.0 eq isakmp
access-list 101 permit udp any host 10.0.2.0 eq non500-isakmp
access-list 101 permit udp any host 10.0.1.0 eq non500-isakmp
!
tftp-server flash:P00308000400.bin
tftp-server flash:P00308000400.loads
tftp-server flash:P00308000400.sb2
tftp-server flash:P00308000400.sbn
!
control-plane
!
!
!
voice-port 1/1/0
connection plar 1000
caller-id enable
!
voice-port 1/1/1
!
!
!
!
!
dial-peer voice 101 voip
description AA HQCUCMBE
preference 2
shutdown
destination-pattern 1...
voice-class h323 50
session target ipv4:10.0.1.9
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 100 voip
description AA Publisher
preference 1
destination-pattern 1...
voice-class h323 50
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 1000 voip
description incoming Call
translation-profile incoming aa
preference 1
incoming called-number ********************

dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 10 voip
translation-profile outgoing Services
destination-pattern 9[49]11
session protocol sipv2
session target dns:bumblebee.vtnoc.net
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 11 voip
translation-profile outgoing Local10
destination-pattern 9678[2-9]......
session protocol sipv2
session target dns:bumblebee.vtnoc.net
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 12 voip
translation-profile outgoing Local10
destination-pattern 9[2-9].........
session protocol sipv2
session target dns:bumblebee.vtnoc.net
incoming called-number .
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 13 voip
translation-profile outgoing LongDistance
destination-pattern 91[2-9]..[2-9]......
session protocol sipv2
session target dns:bumblebee.vtnoc.net
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 14 voip
translation-profile outgoing International
destination-pattern 9011T
session protocol sipv2
session target dns:bumblebee.vtnoc.net
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 15 voip
description Viatalk Voicemail
destination-pattern *123
session protocol sipv2
session target dns:bumblebee.vtnoc.net
codec g711ulaw
!
dial-peer voice 16 voip
description Set Caller ID to Anonymous for one call
destination-pattern *67
session protocol sipv2
session target dns:bumblebee.vtnoc.net
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 17 voip
description Unblock CallerID information
destination-pattern *82
session protocol sipv2
session target dns:bumblebee.vtnoc.net
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 18 voip
description Call Back The last incoming caller
destination-pattern *69
session protocol sipv2
session target dns:bumblebee.vtnoc.net
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 19 voip
description Broadcast Menu/Record Broadcast Messages
destination-pattern *400
session protocol sipv2
session target dns:bumblebee.vtnoc.net
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 150 voip
description incoming outbound
preference 1
voice-class h323 50
incoming called-number .T
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 2000 voip
description outbound
translation-profile outgoing addone
preference 1
destination-pattern .T
progress_ind setup enable 3
progress_ind progress enable 8
voice-class codec 1
session protocol sipv2
session target dns:bumblebee.vtnoc.net
dtmf-relay rtp-nte
no vad
!
dial-peer voice 2 voip
destination-pattern **************

voice-class codec 1
session protocol sipv2
session target ipv4:10.0.1.9
session transport tcp
incoming called-number **********

dtmf-relay rtp-nte
no vad
!
!
sip-ua
authentication username 1************password 7 <removed>
no remote-party-id
mwi-server ipv4:10.0.1.9 expires 86400 port 5060 transport udp
registrar dns:bumblebee.vtnoc.net expires 300
sip-server dns:bumblebee.vtnoc.net
!
!
call-manager-fallback
max-conferences 8 gain -6
transfer-system full-consult
ip source-address 10.0.2.1 port 2000
max-ephones 48
max-dn 21
!
!
line con 0
line aux 0
line vty 0 4
privilege level 15
transport input ssh
line vty 5 15
privilege level 15
transport input ssh
!
scheduler allocate 20000 1000
ntp clock-period 17180171
ntp server 10.0.1.3 prefer
ntp server 10.0.1.16
!
end

12 Replies 12

lusandi
Level 1
Level 1

Hello Kenneth,

I hope you are doing great,

Would you mind confirming me which dial-peer are you trying to match?

And I think it will be one of the SIP dial peers, can you provide me a debug ccsip messages of the the call that it is failling.

Regards,

Luis Sandi

Hey Luis,

I'm trying to match dial-peer 1000 for calls coming in. I don't have the AA configured yet, so I'm trying to get inbound calling to work first. Then work on the AA and Unity Connection. I'm running Cisco Unified Communications Manager Business Edition 7.x

Kenneth,

I would like to confirm if you can provide me this output " debug ccsip messages " to see what it is happening with the call.

Regards,

Luis Sandi

No debugs are coming across.. I have term mon enabled, and it's going straight to the providers message " You have reached extension number" etc...it's not even hitting my gateway.

Kenneth,

At this point there is nothing you can do, if you provider it is not forwarding you the sip invite, the correct step will be to contact them and verify what it is happening.

Regards,

Luis Sandi

Here's the thing, when we had CME running inbound and outbound was fine... Should I use the same dial-peer configuration as the CME DP's I had setup?

Is there something in Call Manager I need to check?

Kenneth,

For that dial-peer can you set the session target of the port or device you would like to reach?

Also is the SIP trunk already configured on the CUCM?

Regards,

Luis Sandi

the session target being the Publisher correct?

The SIP trunk? I'm confused what exactly was I suppose to setup SIP trunk wise?

Kenneth,

I think that your call flow will be:

PSTN ---- SIP --- GW ---- SIP ---- CUCM

It is this correct?

Regards,

Luis Sandi

I believe so, PSTN to CUBE (ISTP to GW) to CUCM..

Outbound is IP Phone to CUCM to CUBE (GW) to PSTN (ISTP)

makes sense?

By the way my gateway is a H323 gateway.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: