01-29-2017 01:23 PM - edited 03-19-2019 12:03 PM
I have a small lab setup going on to prep for my CCNA Collaboration 1. The lab runs the following:
- Cisco 2811
- Three Cisco 7941's
- CUCM 10.5.2 VM running off vmplayer on laptop
I also have one DID from CallCentric and one DID from Localphone. Both DID's have outbound minutes so I can place test calls.
I setup dial peers on the router so calls to one DID ring in one 7941, and calls from second DID ring in second 7941. The phones register to CUCM VM running on laptop. I setup a SIP trunk between CUCM and 2811 to pass the calls. This all works fine.
Where I'm stuck is with getting outbound calls to work with more than one ITSP. If I setup 2811 in sip-ua to primary mode register, this only allows registration to one ITSP, but calls from 7941 outbound work fine. If I setup 2811 in sip-ua to multiple register mode and setup ITSP 1 to registrar 1 and ITSP 2 to registrar 2, all outbound calls fail with fast busy.
Yes, I setup route patterns so the router can tell them apart when the calls arrive to it, and I also setup dial peers to both ITSP's that match the incoming route patterns from CUCM.
According to this whitepaper:
... it's entire possible to setup multiple SIP trunks so calls coming in for one DID ring at one phone, and calls for a second DID ring at another phone. And that works as intended. But I can't get these phones to place a call unless I do primary registrar mode only, and that means all outbound calls would go through one SIP trunk only, instead of several.
So.... What I'm I missing?
Thanks in advance for your help
This is the 2811 config:
voice-lab-rtr#sh run
Building configuration...
Current configuration : 6703 bytes
!
! Last configuration change at 21:52:41 DST Thu Jan 26 2017 by me
! NVRAM config last updated at 21:45:07 DST Thu Jan 26 2017 by me
!
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname voice-lab-rtr
!
boot-start-marker
boot-end-marker
!
!
!
aaa new-model
!
!
aaa authentication login default local
!
!
!
!
!
aaa session-id common
!
clock timezone DST -5 0
clock summer-time EST recurring 3 Sun Mar 2:00 2 Sun Nov 2:00
!
dot11 syslog
ip source-route
!
!
ip cef
!
ip dhcp excluded-address 10.1.1.1 10.1.1.24
!
ip dhcp pool phones
network 10.1.1.0 255.255.255.0
dns-server 10.17.12.2
domain-name voicelab.local
default-router 10.1.1.1
option 150 ip 10.17.12.242
--More--
!
ip domain lookup source-interface FastEthernet0/0
ip domain name voicelab.local
ip name-server 10.17.12.2
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
voice call send-alert
voice rtp send-recv
!
voice service voip
no ip address trusted authenticate
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
sip
rel1xx disable
min-se 360 session-expires 360
header-passing
registrar server
options-ping 90
!
!
!
!
voice translation-rule 1
rule 1 /277xxxx/ /1001/
!
voice translation-rule 2
rule 1 /6./ /1/
!
voice translation-rule 3
rule 1 /1777279xxxx/ /1002/
!
voice translation-rule 4
rule 1 /5./ /1/
!
voice translation-rule 5
rule 1 /.*/ /277xxxx/
!
!
voice translation-profile callcentric-inbound
translate called 3
!
voice translation-profile callcentric-outbound
translate called 4
!
voice translation-profile inbound
translate called 1
!
voice translation-profile outbound
translate called 2
!
!
voice-card 0
!
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-2941504583
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2941504583
revocation-check none
!
!
crypto pki certificate chain TP-self-signed-2941504583
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 32393431 35303435 3833301E 170D3137 30313236 32333233
31355A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 39343135
30343538 3330819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100A5B2 B55941C6 AF3654F4 1C44DCD8 3A8A7A28 0367B3C0 22E81998 6BF1F1A7
8E02DABE F19A1398 7CEA7007 ED59B235 3A83B3AA 76DAA1DC 16145BE2 815675CC
277231DE 758003AE 1E2A57C2 EDE57896 61236227 23CE0B2F F3C49DF8 DB985F80
873F389B 6B93D40C 695C25F4 3C7E230C D19A928F B820D550 0BAE140C 55B5564C
69250203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 140BEBE9 D1BBD5DC 4DBBC1C0 7B639AC6 A75FB5E8 36301D06
03551D0E 04160414 0BEBE9D1 BBD5DC4D BBC1C07B 639AC6A7 5FB5E836 300D0609
2A864886 F70D0101 04050003 81810021 96081591 A57AD032 020A9FC2 2383CF61
BC665586 526AC406 033D7DD4 85873970 8B9304FB F845CA80 058AA0F5 154B6D41
3000FE3D 1F65A663 CE4B6659 32C5761E D4DC19EC 78EF22D6 BF34BF4A E421313F
58781D1E A7D78E63 D016D184 6240D313 91066B68 7CA41A6C 92E9E36A 240F1751
416459CE 00725735 0BA73DEF 4500EF
quit
!
!
license udi pid CISCO2811 sn FHK0850F29Z
username me privilege 15 secret 5 $1$WU8N$KyYvVx8FODXrOpz/rpzK/.
!
redundancy
!
!
!
translation-rule 1
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 10.17.12.241 255.255.255.0
duplex auto
speed auto
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.17.12.241
!
interface FastEthernet0/1
ip address 10.1.1.1 255.255.255.0
duplex auto
speed auto
!
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
ip http path flash:/GUI
!
!
ip route 0.0.0.0 0.0.0.0 10.17.12.3
!
logging esm config
!
!
!
!
!
tftp-server flash:apps41.8-5-3TH1-6.sbn
tftp-server flash:term41.default.loads
tftp-server flash:term42.default.loads
tftp-server flash:term61.default.loads
tftp-server flash:term62.default.loads
tftp-server flash:7970-71-75-Background-readme-v1.txt
tftp-server flash:cme.txt
!
!
control-plane
!
!
!
!
mgcp profile default
!
sccp local FastEthernet0/0
sccp ccm 10.17.12.242 identifier 1 version 7.0
sccp
!
dial-peer voice 10 voip
translation-profile incoming inbound
session protocol sipv2
session target dns:localphone.com
incoming called-number 277xxxx
voice-class sip associate registered-number 1917563xxxx
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 20 voip
destination-pattern 1001
session protocol sipv2
session target ipv4:10.17.12.242
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 30 voip
translation-profile outgoing outbound
destination-pattern 6.
session protocol sipv2
session target dns:localphone.com
voice-class sip associate registered-number 1917563xxxx
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 40 voip
translation-profile incoming callcentric-inbound
session protocol sipv2
session target dns:callcentric.com
incoming called-number 1777279xxxx
voice-class sip associate registered-number 1845600xxxx
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 50 voip
translation-profile outgoing callcentric-outbound
destination-pattern 5.
translate-outgoing calling 5
session protocol sipv2
session target dns:callcentric.com
voice-class sip associate registered-number 1845600xxxx
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 70 voip
destination-pattern 1001
session protocol sipv2
session target ipv4:10.17.12.242
dtmf-relay rtp-nte
codec g711ulaw
!
dial-peer voice 80 voip
destination-pattern 1002
session protocol sipv2
session target ipv4:10.17.12.242
dtmf-relay rtp-nte
codec g711ulaw
!
!
sip-ua
credentials username 277xxxx password 7 xxx realm localphone.com
credentials username 1777279xxxx password 7 xxx realm callcentric.com
authentication username 277xxxx password 7 xxx realm localphone.com
authentication username 1777279xxxx password 7 xxx realm callcentric.com
retry invite 2
retry register 10
timers trying 150
registrar 1 dns:localphone.com expires 60
registrar 2 dns:callcentric.com expires 60
!
!
!
!
line con 0
privilege level 15
line aux 0
line vty 0 4
exec-timeout 0 0
privilege level 15
transport input all
line vty 5 15
exec-timeout 0 0
privilege level 15
transport input all
!
scheduler allocate 20000 1000
ntp server 10.17.12.2 prefer
end
voice-lab-rtr#
This is what debug voice ccapi inout says when I place an outbound call. It fails with Cause 57.
Jan 27 02:48:23.882: //-1/10547B000000/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=1001
----- ccCallInfo IE subfields -----
cisco-ani=sip:1001@10.17.12.242
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=1
dest=sip:61917449xxxx@10.17.12.241:5060
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0
Jan 27 02:48:23.886: //-1/10547B000000/CCAPI/cc_api_call_setup_ind_common:
Interface=0x4A2E269C, Call Info(
Calling Number=sip:1001@10.17.12.242,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
Called Number=sip:61917449xxxx@10.17.12.241:5060(TON=Unknown, NPI=Unknown),
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
Incoming Dial-peer=20, Progress Indication=NULL(0), Calling IE Present=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=658
Jan 27 02:48:23.886: //-1/10547B000000/CCAPI/ccCheckClipClir:
In: Calling Number=sip:1001@10.17.12.242(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Jan 27 02:48:23.886: //-1/10547B000000/CCAPI/ccCheckClipClir:
Out: Calling Number=sip:1001@10.17.12.242(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Jan 27 02:48:23.886: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Jan 27 02:48:23.886: :cc_get_feature_vsa malloc success
Jan 27 02:48:23.886: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Jan 27 02:48:23.886: cc_get_feature_vsa count is 1
Jan 27 02:48:23.886: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Jan 27 02:48:23.886: :FEATURE_VSA attributes are: feature_name:0,feature_time:1267230840,feature_id:110
Jan 27 02:48:23.886: //658/10547B000000/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
Called Number=(TON=Unknown, NPI=Unknown))
Jan 27 02:48:23.890: //658/10547B000000/CCAPI/cc_process_call_setup_ind:
Event=0x4AEFE408
Jan 27 02:48:23.890: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 61917449xxxx
Jan 27 02:48:23.890: //658/10547B000000/CCAPI/ccCallSetContext:
Context=0x4B8A2DBC
Jan 27 02:48:23.890: //658/10547B000000/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 658 with tag 20 to app "_ManagedAppProcess_Default"
Jan 27 02:48:23.894: //658/10547B000000/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
Jan 27 02:48:23.894: //-1/xxxxxxxxxxxx/CCAPI/ccGetMemPoolFromContainer:
mempool not found from usrContainer(4AEE24C0)
Jan 27 02:48:23.894: //-1/xxxxxxxxxxxx/CCAPI/ccCreateMemPoolInContainer:
Mempool(490035AC) created in usrContainer(4AEE24C0)
Jan 27 02:48:23.898: //658/10547B000000/CCAPI/ccCallSetupRequest:
Destination=, Calling IE Present=TRUE, Mode=0,
Outgoing Dial-peer=30, Params=0x4B8A6A24, Progress Indication=NULL(0)
Jan 27 02:48:23.898: //658/10547B000000/CCAPI/ccCheckClipClir:
In: Calling Number=sip:1001@10.17.12.242(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Jan 27 02:48:23.898: //658/10547B000000/CCAPI/ccCheckClipClir:
Out: Calling Number=sip:1001@10.17.12.242(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Jan 27 02:48:23.898: //658/10547B000000/CCAPI/ccCallSetupRequest:
Destination Pattern=6., Called Number=1917449xxxx, Digit Strip=FALSE
Jan 27 02:48:23.898: //658/10547B000000/CCAPI/ccCallSetupRequest:
Calling Number=sip:1001@10.17.12.242(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
Called Number=1917449xxxx(TON=Unknown, NPI=Unknown),
Redirect Number=, Display Info=
Account Number=1001, Final Destination Flag=TRUE,
Guid=10547B00-0001-0000-0000-0027F20C110A, Outgoing Dial-peer=30
Jan 27 02:48:23.898: //658/10547B000000/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=1001
----- ccCallInfo IE subfields -----
cisco-ani=sip:1001@10.17.12.242
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=1
dest=1917449xxxx
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0
Jan 27 02:48:23.898: //658/10547B000000/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x4A2E269C, Interface Type=3, Destination=, Mode=0x0,
Call Params(Calling Number=sip:1001@10.17.12.242,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
Called Number=1917449xxxx(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=30, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
Jan 27 02:48:23.902: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Jan 27 02:48:23.902: :cc_get_feature_vsa malloc success
Jan 27 02:48:23.902: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Jan 27 02:48:23.902: cc_get_feature_vsa count is 2
Jan 27 02:48:23.902: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Jan 27 02:48:23.902: :FEATURE_VSA attributes are: feature_name:0,feature_time:1267230616,feature_id:111
Jan 27 02:48:23.902: //659/10547B000000/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
Jan 27 02:48:23.902: //659/10547B000000/CCAPI/ccCallSetContext:
Context=0x4B8A69D4
Jan 27 02:48:23.902: //658/10547B000000/CCAPI/ccSaveDialpeerTag:
Outgoing Dial-peer=30
Jan 27 02:48:23.906: //659/10547B000000/CCAPI/cc_api_call_proceeding:
Interface=0x4A2E269C, Progress Indication=NULL(0)
Jan 27 02:48:24.038: //659/10547B000000/CCAPI/cc_api_call_disconnected:
Cause Value=57, Interface=0x4A2E269C, Call Id=659
Jan 27 02:48:24.038: //659/10547B000000/CCAPI/cc_api_call_disconnected:
Call Entry(Responsed=TRUE, Cause Value=57, Retry Count=0)
Jan 27 02:48:24.038: //658/10547B000000/CCAPI/ccCallReleaseResources:
release reserved xcoding resource.
Jan 27 02:48:24.038: //659/10547B000000/CCAPI/ccCallSetAAA_Accounting:
Accounting=0, Call Id=659
Jan 27 02:48:24.038: //659/10547B000000/CCAPI/ccCallDisconnect:
Cause Value=57, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=57)
Jan 27 02:48:24.042: //659/10547B000000/CCAPI/ccCallDisconnect:
Cause Value=57, Call Entry(Responsed=TRUE, Cause Value=57)
Jan 27 02:48:24.042: //659/10547B000000/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x4A2E269C, Tag=0x0, Call Id=659,
Call Entry(Disconnect Cause=57, Voice Class Cause Code=0, Retry Count=0)
Jan 27 02:48:24.042: //659/10547B000000/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Jan 27 02:48:24.042: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
Jan 27 02:48:24.042: :cc_free_feature_vsa freeing 4B886790
Jan 27 02:48:24.042: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
Jan 27 02:48:24.042: vsacount in free is 1
Jan 27 02:48:24.046: //658/10547B000000/CCAPI/ccCallDisconnect:
Cause Value=57, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
Jan 27 02:48:24.046: //658/10547B000000/CCAPI/ccCallDisconnect:
Cause Value=57, Call Entry(Responsed=TRUE, Cause Value=57)
Jan 27 02:48:24.046: //-1/xxxxxxxxxxxx/CCAPI/ccMemPoolTDFreeHelper:
data = 4B66238C
Jan 27 02:48:24.046: ccMemPoolTDFreeHelper:mem_mgr_mempool_free: mem_refcnt(490035AC)=0 - mempool cleanup
Jan 27 02:48:24.062: //658/10547B000000/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x4A2E269C, Tag=0x0, Call Id=658,
Call Entry(Disconnect Cause=57, Voice Class Cause Code=0, Retry Count=0)
Jan 27 02:48:24.062: //658/10547B000000/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
Jan 27 02:48:24.062: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
Jan 27 02:48:24.062: :cc_free_feature_vsa freeing 4B886870
Jan 27 02:48:24.062: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
Jan 27 02:48:24.062: vsacount in free is 0
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide