05-05-2013 12:10 AM - edited 03-19-2019 06:41 AM
Hello, I have a 2801 router that has been configured with CME and a working SIP connection to my local ISP.
Tested with calls via CME so I know for sure that the SIP config and dial plan is fine on this gateway.
Next I wanted to try out CUCM so I set up a CUCM 8.6 box that is connected to the 2801 router to use as it's SIP gateway.
The only change I made to the gateway router config was to alter the "ip option 150" address so that the phones go to CUCM for their configs etc (which they do with no problems).
Then I set up a SIP trunk in CUCM along with a route pattern which is to use the SIP trunk within the Gateway/Route list option.
But when I make a call that matches this route pattern all I get is the intermittent beep message from the phone. I cannot route calls succesfully through it.
I have checked network connectivity and all is fine. The IP address I specfied in CUCM for the SIP trunk is simply one of the interfaces on the 2801 router and it is definitley reachable.
I also activated "debug ccsip all" on the 2801 gateway router but nothing appears. So it seems like the calls are not even reaching the 2801 gateway ?
Is the problem possibly a conflit between CME on the gateway router and my CUCM ?
Do I need to disable CME somehow on the gateway first ? Or am I not doing something correct in the CUCM config ?
Thank you kindly for any suggestions.
ps. I have attached a couple of screenshots of my config.
05-05-2013 01:15 PM
Hi,
Did you configure the router with voip dial peers for the call leg to CUCM?
Can you please share the following:
Also provide the calling party number and time of the test call as I already have the called party number (94837649).
HTH
Jagpreet Singh Barmi
05-06-2013 01:08 AM
Hello, thanks for helping.
I activated "debug voice ccapi inout" as well as "debug ccsip all" on the gateway but nothing showed up.
Therefore I deduce the call is not even making it to across the SIP trunk into the gateway router ?
As I am a newbie trying this out for the first time, it is guranteed to be something really simple.
I have included my running config from the gateway router below..
One addition I made was to add an incoming dial peer. That is "dial peer 5, description CUCM SIP trunk".
I set it up with a destination patter 2... to match my phone config on CUCM which have numbering in the 2000 range.
Sorry, I got RTMT up and running but could not get any meaningful results from it. I need to learn up on that.
I did however run a 'dialed number analysis' from CUCM direct and have attached the result. It seems the dialled number "99" is matching the route pattern OK.
So why is it not then moving down the SIP trunk to my gateway and getting picked up by the incoming dial peer ?
Thanks if you guys can offer any more help.
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot system flash:c2801-ipvoicek9-mz.151-2.T0a.bin
boot-end-marker
!
!
!
no aaa new-model
clock timezone nzst 13 0
dot11 syslog
ip source-route
!
!
!
!
ip dhcp pool DATA_SCOPE
network 192.168.200.0 255.255.255.0
default-router 192.168.200.1
dns-server 8.8.8.8
!
ip dhcp pool VOICE_SCOPE
network 192.168.100.0 255.255.255.0
default-router 192.168.100.1
option 150 ip 192.168.2.115
!
ip dhcp pool MGMT_SCOPE
network 192.168.1.0 255.255.255.0
default-router 192.168.1.99
!
!
ip cef
ip name-server 4.2.2.2
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g729r8
codec preference 3 g711ulaw
codec preference 4 ilbc
!
!
!
!
voice translation-rule 1
rule 1 /^9/ //
!
!
voice translation-profile Strip9ToGetOut
translate called 1
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-2995340181
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2995340181
revocation-check none
!
!
crypto pki certificate chain TP-self-signed-2995340181
certificate self-signed 01
3082023E 308201A7 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32393935 33343031 3831301E 170D3733 30363034 31393534
32305A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 39393533
34303138 3130819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100C34D C8ECBB53 E01373A3 2E286B78 2D23042B 1C8588B1 A7861899 BA1C6860
AE1D7868 2A59E3BC 54D0A457 8FFDE27F C09104E5 C7A429F3 74CD9DA8 4A980366
675CC27C CDB94838 821CC05F 2C0AC2BC D882C132 6CAA1FA6 6DA740E4 562428B1
12B741F1 A50C9246 4CC35EDA DEE1D038 3883BB35 A91ABF8B 483E4160 F5FA4B5A
9A570203 010001A3 66306430 0F060355 1D130101 FF040530 030101FF 30110603
551D1104 0A300882 06526F75 74657230 1F060355 1D230418 30168014 72119640
F3396E1F E4168086 D31D8619 0D8337FF 301D0603 551D0E04 16041472 119640F3
396E1FE4 168086D3 1D86190D 8337FF30 0D06092A 864886F7 0D010104 05000381
81003B5A 29DE3A1E C5AB6092 E8D90650 C80752FC 0AAC93FD C5DE3D69 071B08FA
D4013232 81CA07E7 15F90190 6A3AD6A0 1D05F0F2 13479568 888332A5 F81E2681
7DA44095 4D11CFB7 CA79579A 8D95DE54 7B00173C E2C50573 A310C8C9 1487FEFC
CE35B66E 9EF94CFA 8D6D6DCD ADC78132 2709F198 6DF2F0FA D80CC088 D0C4C7D1 080B
quit
!
!
license udi pid CISCO2801 sn FTX0947W07M
username xxx privilege 15 password 0 xxx
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.3.50 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1.2
encapsulation dot1Q 2
ip address 192.168.2.1 255.255.255.0
!
interface FastEthernet0/1.99
encapsulation dot1Q 99
ip address 192.168.1.99 255.255.255.0
!
interface FastEthernet0/1.100
description voice_VLAN
encapsulation dot1Q 100
ip address 192.168.100.1 255.255.255.0
!
interface FastEthernet0/1.200
description data_VLAN
encapsulation dot1Q 200
ip address 192.168.200.1 255.255.255.0
!
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.3.1
!
logging esm config
!
!
tftp-server flash:/phone/7940-7960/P00307020200.bin alias P00307020200.bin
tftp-server flash:/phone/7940-7960/P00307020200.loads alias P00307020200.loads
tftp-server flash:/phone/7940-7960/P00307020200.sb2 alias P00307020200.sb2
tftp-server flash:/phone/7940-7960/P00307020200.sbn alias P00307020200.sbn
!
control-plane
!
!
!
mgcp fax t38 ecm
!
!
dial-peer voice 1 voip
description local_7_Digit_Calling
translation-profile outgoing Strip9ToGetOut
destination-pattern 9[2-9]......
session protocol sipv2
session target ipv4:203.184.16.2
voice-class codec 1
!
dial-peer voice 2 voip
description international_calling
translation-profile outgoing Strip9ToGetOut
destination-pattern 900T
session protocol sipv2
session target ipv4:203.184.16.2
voice-class codec 1
!
dial-peer voice 3 voip
description national_calling
translation-profile outgoing Strip9ToGetOut
destination-pattern 90[34679].......
session protocol sipv2
session target ipv4:203.184.16.2
voice-class codec 1
!
dial-peer voice 4 voip
translation-profile outgoing Strip9ToGetOut
destination-pattern 90[34679].......
!
dial-peer voice 5 voip
description CUCM SIP trunk
destination-pattern 2...
session protocol sipv2
session target ipv4:192.168.2.115
voice-class codec 1
!
!
sip-ua
authentication username xxxxxxxxxx password xxxxxxxx
060
!
!
telephony-service
max-ephones 10
max-dn 20
ip source-address 192.168.1.99 port 2000
load 7960-7940 P00307020200
max-conferences 4 gain -6
transfer-system full-consult
create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
ephone-dn 1 dual-line
number 1000
name Lydia Francis
!
!
ephone-dn 2 dual-line
number 1001
name Leah Francis
!
!
ephone-dn 3 dual-line
number 1002
n
!
!
ephone-dn 4 dual-line
number 1003
!
!
!
!
ephone 1
mac-address C80A.A970.01DE
type CIPC
button 2:2
!
!
!
ephone 2
mac-address 000C.3070.8705
button 1:1 2:15
!
!
!
ephone 3
mac-address 000C.8546.5954
button 1:3 2:15
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
privilege level 15
login local
transport input telnet ssh
!
scheduler allocate 20000 1000
ntp server 195.43.74.123
end
05-06-2013 04:12 PM
Hi,
As the call doesnt hit the gateway, can you please collect the call manager traces for a test call using the following doc.
http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a0080094e89.shtml
Also provide the calling party number and time of the test call as I already have the called party number (94837649).
HTH
Jagpreet Singh Barmi
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: