cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3951
Views
0
Helpful
13
Replies

CALL DOES NOT ROUTE OUT THE LOCAL GATEWAY

rferriolo
Level 1
Level 1

Local calls will not route out the local Gateway of branch1 to the PSTN or from the PSTN back to branch1, however they will route out either CorpHQ or branch2 backup gateways. When I go into the route group configuration for branch1, and remove the backup gateways, I get a fast busy tone when I dial the local number. I know the MGCP Gateway at branch1 is functioning because when I dial 911 and run debug ISDN Q931, the call routes properly through branch1, so I have a call routing problem. I ran DNA and it came back as ROUTE THIS PATTERN and all of the number translations looked accurate, so I didn't have to check for any block patterns. I'm not getting any errors on the calling party phone display. When I deleted the route pattern for the branch1 site and forced it to use the global route pattern, I received a debug output on branch1. I do not know a debug command (such as debug voip dial-peer or debug ccsip messages) to use for an MGCP Gateway to see if the call is actually reaching the Gateway.

I have checked the following:

the route pattern configuration

the translation pattern configuration

the called party transformation pattern configuration

the route list configuration to make sure the correct route group for branch1 was selected

the route group configuration to make sure that the branch1 Gateway was first in the order of selected devices

the route pattern configuration to make sure the correct route list for branch1 ist selected

the Gateway configuration to make sure it's using the device pool for branch1 and to make sure the called party transformation CSS for the branch1 Gateway is applied

the device pool configuration to make sure it's using the route group branch1

Any assistance would be greatly appreciated

Regards,

Ron

13 Replies 13

Manish Gogna
Cisco Employee
Cisco Employee

Hi Ron,

You need to test with just the local gateway in the Route Group. Run the following debug on the gateway "debug isdn q931" to see if the call reaches the gateway. If not, please share the detailed callmanager traces for a test call

http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a0080094e89.shtml

The traces will show if the call is indeed going through the correct route pattern or not.

Also, try creating a specific route pattern ( like 912123456888 ) for a specific number and make a test call, this will rule out most of the overlap issues.

Let us know how it goes.

HTH

Manish

Hi Manish:

I was able to resolve the OUTBOUND calling issue to the PSTN by prexing a '1' in the CALLED PARTY TRANFORMATION PATTERN for both Branch1 & CorpHQ sites (\+1.206! and \+1.512!), however dialing INBOUND is still an issue. When I dial INBOUND from the PSTN for Branch1, the call is being routed though CorpHQ and when I dial INBOUND from the PSTN for CorpHQ, the call is being routed though Branch1. To avoid confusion, I removed the backup gateways from both route groups. In the debug going to Branch1, it is getting a DESTINATION OUT OF ORDER...

THIS CALL SHOULD BE ROUTING THROUGH CorpHQ

Branch1#

ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8  callref = 0x008F

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA18381

                Preferred, Channel 1

        Progress Ind i = 0x8183 - Origination address is non-ISDN 

        Display i = 'Seattle US Phone'

        Calling Party Number i = 0x4180, '2065015111'

                Plan:ISDN, Type:Subscriber(local)

        Called Party Number i = 0xC1, '2065011001'

                Plan:ISDN, Type:Subscriber(local)

ISDN Se0/0/0:23 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x808F

        Cause i = 0x809B - Destination out of order

____________________________________________________________________________________________

THIS CALL SHOULD BE ROUTING THROUGH Branch1

CorpHQ#

ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8  callref = 0x008E

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA18381

                Preferred, Channel 1

        Facility i = 0x9F8B0100A117020107020100800F41757374696E2054582050686F6E65

                Protocol Profile =  Networking Extensions

                0xA117020107020100800F41757374696E2054582050686F6E65

                Component = Invoke component

                        Invoke Id = 7

                        Operation = CallingName

                                Name Presentation Allowed Extended

                                Name = Austin TX Phone

        Progress Ind i = 0x8583 - Origination address is non-ISDN

CorpHQ#

        Display i = 'Austin TX Phone'

        Calling Party Number i = 0x4180, '5126026222'

                Plan:ISDN, Type:Subscriber(local)

        Called Party Number i = 0xC1, '5126022001'

                Plan:ISDN, Type:Subscriber(local)

ISDN Se0/0/0:23 Q931: Received SETUP  callref = 0x808E callID = 0x0006 switch = primary-ni interface = User

ISDN Se0/0/0:23 Q931: TX -> CALL_PROC pd = 8  callref = 0x808E

        Channel ID i = 0xA98381

                Exclusive, Channel 1

ISDN Se0/0/0:23 Q931: TX -> DISCONNECT pd = 8  callref = 0x808E

        Cause i = 0x8081 - Unallocated/unassigned number

ISDN Se0/0/0:23 Q931: RX <- RELEASE pd = 8  callref = 0x008E

ISDN Se0/0/0:23 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x808E


Hi Ron,

Your Route Group and Route pattern settings will only affect the outbound calls, it does not affect the inbound calls from PSTN. When you call from PSTN the callmanager does not decide which gateway will recieve that call. It is configured on the gateway first and correspondingly the incoming CSS and significant digits etc are configured on the gateway page on CUCM. We can troubleshoot why the calls are failing ( like unallocated number and destination out of order codes ) but why the call is being routed to a specific gateway from PSTN is something that you need to check with your service provider.

Manish

Hi Manish:

This is a lab with a Cisco 2811 configured as a PSTN router, therefore, I am the service provider. That gives me the ability to debug both ends. I can send you the debug ISDN Q931 outputs if you want to take a look.


Thanks,

Ron

rferriolo
Level 1
Level 1

Hi Manish:

When I run DNA, it is using the proper Translation Pattern 9.[2-9]XX[2-9]XXXXXX, however it is using the global route pattern \+1! and  it should be using the Branch1 specific route pattern which is \+512!.

Also I have included the debug output...

Thanks,

Ron

Cisco Unified Communications Manager Dialed Number Analyzer Results

Results Summary

Calling Party Information

Calling Party = 5126022001

Partition = PT_Internal-DNs

Device CSS = CSS_US_Phones

Line CSS = CSS_US_LOCAL

AAR Group Name =

AAR CSS =

Dialed Digits = 95126026222

Match Result = RouteThisPattern

Matched Pattern Information

Pattern = \+1! ------------------------- (it is supposed to be matching the route patten  \+512!)

Partition = PT_TP-to-PSTN-RP

Time Schedule =

Called Party Number = +15126026222

Time Zone = Central America Standard Time

End Device = RL_CorpHQ-w-Backups

Call Classification = OffNet

InterDigit Timeout = NO

Device Override = Disabled

Outside Dial Tone = NO

Call Flow

TranslationPattern :Pattern= 9.[2-9]XX[2-9]XXXXXX

Positional Match List = +15126026222

Calling Party Number = 5126022001

PreTransform Calling Party Number = 2001

PreTransform Called Party Number = 95126026222

Calling Party Transformations

External Phone Number Mask = YES

Calling Party Mask =

Prefix =

CallingLineId Presentation = Default

CallingName Presentation = Default

Calling Party Number = 5126022001

ConnectedParty Transformations

ConnectedLineId Presentation = Default

ConnectedName Presentation = Default

Called Party Transformations

Called Party Mask =

Discard Digits Instruction = PreDot

Prefix = +1

Called Number = +15126026222

Route Pattern :Pattern= \+1! ------------------ (it is supposed to be matching the route patten  \+512!)

Positional Match List = +15126026222

DialPlan =

Route Filter

Filter Name =

Filter Clause =

Require Forced Authorization Code = No

Authorization Level = 0

Require Client Matter Code = No

Call Classification =

PreTransform Calling Party Number = 5126022001

PreTransform Called Party Number = +15126026222

Calling Party Transformations

External Phone Number Mask = NO

Calling Party Mask =

Prefix =

CallingLineId Presentation = Default

CallingName Presentation = Default

Calling Party Number = 5126022001

ConnectedParty Transformations

ConnectedLineId Presentation = Default

ConnectedName Presentation = Default

Called Party Transformations

Called Party Mask =

Discard Digits Instruction = None

Prefix =

Called Number = +15126026222

Route List :Route List Name= RL_CorpHQ-w-Backups

RouteGroup :RouteGroup Name= RG_CorpHQ-w-Backups

PreTransform Calling Party Number = 5126022001

PreTransform Called Party Number = +15126026222

Calling Party Transformations

External Phone Number Mask = Default

Calling Party Mask =

Prefix =

Calling Party Number = 5126022001

Called Party Transformations

Called Party Mask =

Discard Digits Instructions =

Prefix =

Called Number = +15126026222

Device :Type= SIPTrunk

End Device Name = CorpHQ_SIP_GW

PortNumber = 0

Device Status = UnKnown

AAR Group Name =

AAR Calling Search Space =

AAR Prefix Digits =

Call Classification = Use System Default

Calling Party Selection = Originator

CallingLineId Presentation = Default

CallerID DN =

Device :Type= MGCPT1PRIPort

End Device Name = S0/SU0/DS1-0@Branch1

PortNumber = 0

Device Status = Registered

AAR Group Name =

AAR Calling Search Space =

AAR Prefix Digits =

Call Classification =

Calling Party Selection =

CallingLinePresentation =

ConnectedLinePresentation =

Number Of Strip Digits =

CallerID DN =

Device :Type= H323Gateway

End Device Name = 177.1.254.3

PortNumber = 0

Device Status = UnKnown

AAR Group Name =

AAR Calling Search Space =

AAR Prefix Digits =

Inbound Fast Start = Enabled

Outbound Fast Start = Disabled

Call Classification = Use System Default

Tunneled Protocol = None

Calling Party Transformations

PreTransform Calling Party Number = 5126022001

Calling Party Selection = Originator

Calling Party Presentation = Default

CallerID DN =

Calling Party Number = 5126022001

Alternate Matches

Partition :Name= PT_TP-to-PSTN-RP

Pattern

Pattern = \+!

Pattern Type = Enterprise

Call Classification = OffNet

Pattern Priority = Urgent

CallManager Device Type = AccessDevice

PatternPrecedenceLevel = ExecutiveOverride

_________________________________________________________________________________________

Branch1#

ISDN Se0/0/0:23 Q931: TX -> SETUP pd = 8  callref = 0x0003

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98381

                Exclusive, Channel 1

        Facility i = 0x9F8B0100A10F02010106072A8648CE1500040A0100

                Protocol Profile =  Networking Extensions

                0xA10F02010106072A8648CE1500040A0100

                Component = Invoke component

                        Invoke Id = 1

                        Operation = InformationFollowing (calling_name)

                                Name information in subsequent FACILITY message

        Calling Party Number i = 0x0081, '5126022001'

                Plan:Unknown

Branch1#, Type:Unknown

        Called Party Number i = 0x80, '5126026222'

                Plan:Unknown, Type:Unknown

ISDN Se0/0/0:23 Q931: RX <- CALL_PROC pd = 8  callref = 0x8003

        Channel ID i = 0xA98381

                Exclusive, Channel 1

ISDN Se0/0/0:23 Q931: RX <- DISCONNECT pd = 8  callref = 0x8003

        Cause i = 0x8281 - Unallocated/unassigned number

ISDN Se0/0/0:23 Q931: TX -> RELEASE pd = 8  callref = 0x0003

ISDN Se0/0/0:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x8003

Hi Ron,

Please try creating the same TP: 9.[2-9]XX[2-9]XXXXXX with different partition that can be accessed by only Branch1 phones and change the called number tranformations as below

Discard Digits Instruction = PreDot

Prefix = + [instead of +1]

with this, the called number can be tranformed as Called Number = +5126026222  and it can now match the route patten  \+512!

//Suresh Please rate all the useful posts.

Hi Suri:

I did as you suggested. I created another local translation pattern 9.[2-9]XX[2-9]XXXXXX and added it to a Branch1 only partition. I also removed the '1' from the translation pattern and from the Calling Party Transformation Pattern. When I make a call from the branch1 phone, the call is routing out the wrong Gateway 'CorpHQ' and is selecting dial-peer 12, which is configured for a national number and it is prefixing a '1' to the called party number. The call also hangs up immediately with the following error: Cause i = 0x8290 - Normal call clearing. In the DNA output, it is still selecting the global route pattern rather than route pattern that was created for branch1...

Thanks,

Ron

_____________________________________________________________________________________________

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=15126026222, Called Number=15126026222, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=15126026222

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=NO_MATCH(-1)

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=5126022001, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=5126022001, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

//-1/B6232F47806E/DPM/dpAssociateIncomingPeerCore:

   Calling Number=5126022001, Called Number=15126026222, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/B6232F47806E/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=100

//-1/B6232F47806E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=915126026222, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/B6232F47806E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=915126026222

//-1/B6232F47806E/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/B6232F47806E/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=12

//-1/B6232F47806E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=915126026222, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/B6232F47806E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=915126026222

//-1/B6232F47806E/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/B6232F47806E/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=12

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=915126026222, Called Number=915126026222, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=915126026222

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=12

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=915126026222, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=915126026222, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=915126026222, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=915126026222

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

  Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=12

//-1/B6232F47806E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=915126026222, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/B6232F47806E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=915126026222

//-1/B6232F47806E/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/B6232F47806E/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=12

ISDN Se0/0/0:23 Q931: Applying typeplan for sw-type 0xD is 0x2 0x1, Calling num 5126022001

ISDN Se0/0/0:23 Q931: Sending SETUP  callref = 0x0092 callID = 0x8013 switch = primary-ni interface = User

ISDN Se0/0/0:23 Q931: TX -> SETUP pd = 8  callref = 0x0092

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98383

                Exclusive, Channel 3

        Calling Party Number i = 0x2181, '5126022001'

                Plan:ISDN, Type:National

        Called Party Number i = 0xA1, '15126026222'

                Plan:ISDN, Type:National

ISDN Se0/0/0:23 Q931: RX <- CALL_PROC pd = 8  callref = 0x8092

        Channel ID i = 0xA98383

                Exclusive, Channel 3

ISDN Se0/0/0:23 Q931: RX <- DISCONNECT pd = 8  callref = 0x8092

        Cause i = 0x8290 - Normal call clearing   ------------------------------- THE CALL HANGS UP IMMEDIATELY

ISDN Se0/0/0:23 Q931: TX -> RELEASE pd = 8  callref = 0x0092

ISDN Se0/0/0:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x8092

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=91[2-9]..[2-9]......$, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=^2065011...$, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

_____________________________________________________________________________________________

dial-peer voice 1 pots

incoming called-number .

direct-inward-dial

!

dial-peer voice 10 pots

translation-profile outgoing MakeSubscriber

destination-pattern 911

no digit-strip

port 0/0/0:23

!

dial-peer voice 11 pots

translation-profile outgoing MakeSubscriber

destination-pattern 9[2-9]..[2-9]......$

port 0/0/0:23

!

dial-peer voice 12 pots

translation-profile outgoing MakeNational

destination-pattern 91[2-9]..[2-9]......$

port 0/0/0:23

forward-digits 11

!

dial-peer voice 13 pots

translation-profile outgoing MakeInternational

destination-pattern 9011T

port 0/0/0:23

prefix 011

!

dial-peer voice 100 voip

description == Inbound/Outbound SIP PSTN GW From/To CUCM Pub

translation-profile incoming Prefix9_InFrom_CUCM

destination-pattern ^2065011...$

voice-class codec 1

session protocol sipv2

session target ipv4:177.1.10.10

incoming called-number .

ip qos dscp cs3 signaling

Hi Ron,

You received unallocated and unassigned number from PSTN, that means either the number at PSTN does not exist or the format you are sending is not acceptable by PSTN (i.e called number digit and it's type)

For ex:- you are sending called number as 10 digit which infact is your local number and i think in this case PSTN would be expecting 7 digit with called party type as "subscriber" and not "unknown".

Also share DNA result with the modification suggested by suresh.

Incoming calls:-

None of the incoming call is working with branch1?

If so then please share debug isdn q931 and debug mgcp packets for incoming call.

Regards,

Nishant Savalia


Regards, Nishant Savalia

In addition to the debug isdn q931, I ran debug mgcp packets, however there is no mgcp output in the debug below. Please see the DNA OUTPUT. The call is still trying incorrectly trying to route out of CorpHQ. I created another

local translation pattern 9.[2-9]XX[2-9]XXXXXX and added it to a Branch1 only partition.

-----------------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------------------------------------

CorpHQ#

ISDN Se0/0/0:23 Q931: Applying typeplan for sw-type 0xD is 0x2 0x1, Calling num 5126022001

ISDN Se0/0/0:23 Q931: Sending SETUP  callref = 0x0098 callID = 0x8019 switch = primary-ni interface = User

ISDN Se0/0/0:23 Q931: TX -> SETUP pd = 8  callref = 0x0098

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98383

                Exclusive, Channel 3

        Calling Party Number i = 0x2181, '5126022001'

                Plan:ISDN, Type:National

        Called Party Number i = 0xA1, '15126026222'

                Plan:ISDN, Type:National

CorpHQ#

ISDN Se0/0/0:23 Q931: RX <- CALL_PROC pd = 8  callref = 0x8098

        Channel ID i = 0xA98383

                Exclusive, Channel 3

ISDN Se0/0/0:23 Q931: RX <- DISCONNECT pd = 8  callref = 0x8098

        Cause i = 0x8290 - Normal call clearing

ISDN Se0/0/0:23 Q931: TX -> RELEASE pd = 8  callref = 0x0098

ISDN Se0/0/0:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x8098

------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------

DNA RESULTS

Results Summary

Calling Party Information

Calling Party = 5126022001

Partition = PT_Internal-DNs

Device CSS = CSS_US_Phones

Line CSS = CSS_US_NATL

AAR Group Name =

AAR CSS =

Dialed Digits = 95126026222

Match Result = BlockThisPattern

Called Party Number =

Matched Pattern Information

Pattern =

Partition =

Pattern Type =

Time Zone =

Outside Dial Tone = NO

Call Flow

TranslationPattern :Pattern= 9.[2-9]XX[2-9]XXXXXX

Positional Match List =

Calling Party Number = 5126022001

PreTransform Calling Party Number = 2001

PreTransform Called Party Number = 95126026222

Calling Party Transformations

External Phone Number Mask = YES

Calling Party Mask =

Prefix =

CallingLineId Presentation = Default

CallingName Presentation = Default

Calling Party Number = 5126022001

ConnectedParty Transformations

ConnectedLineId Presentation = Default

ConnectedName Presentation = Default

Called Party Transformations

Called Party Mask =

Discard Digits Instruction = PreDot

Prefix = +1

Called Number = +15126026222

Alternate Matches

Note: Information Not Available

In DNA, number "95126026222" shows block this pattern. why? please check your configuration.


Outgoing Call

I would suggest to remove translation pattern and define exact called number route pattern which is pointing to your branch1.

At this time you collect debug isdn q931 and debug mgcp packets.

Incoming Call

Please share debug isdn q931 and debug mgcp packets separately for the incoming call.

Note:- Do mention separately incoming and outgoing call in notepad.

Regards,

Nishant Savalia

Regards, Nishant Savalia

Hi Nishant:

The call is now attempting to ROUTE in the DNA results. It is also attempting to route out of Branch1 which is correct. Please see the ISDN Q931 debugs on  Branch1 & the PSTN for an OUTBOUND call to the PSTN.

Also see 2 separate debugs for calls INBOUND from the PSTN. One for number 5126026222 & the other for 2065011001 (DEBUG ISDN Q931 & DEBUG VOIP DIALPEER)

Many thanks,

Ron

--------------------------------------------------------------------------------------------------------------------------------------------

BRANCH1 OUTBOUND DEBUG TO PSTN

Branch1#

%SYS-5-CONFIG_I: Configured from console by console

Branch1#

ISDN Se0/0/0:23 Q931: TX -> SETUP pd = 8  callref = 0x0005

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98381

                Exclusive, Channel 1

        Facility i = 0x9F8B0100A10F02010106072A8648CE1500040A0100

                Protocol Profile =  Networking Extensions

                0xA10F02010106072A8648CE1500040A0100

                Component = Invoke component

                        Invoke Id = 1

                        Operation = InformationFollowing (calling_name)

                                Name information in subsequent FACILITY message

        Calling Party Number i = 0x0081, '5126022001'

                Plan:Unknown

Branch1#, Type:Unknown

        Called Party Number i = 0xA0, '5126026222'

                Plan:Unknown, Type:National

ISDN Se0/0/0:23 Q931: RX <- CALL_PROC pd = 8  callref = 0x8005

        Channel ID i = 0xA98381

                Exclusive, Channel 1

ISDN Se0/0/0:23 Q931: RX <- DISCONNECT pd = 8  callref = 0x8005

        Cause i = 0x8281 - Unallocated/unassigned number

ISDN Se0/0/0:23 Q931: TX -> RELEASE pd = 8  callref = 0x0005

ISDN Se0/0/0:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x8005

---------------------------------------------------------------------------------

PSTN INBOUND DEBUG FROM BRANCH1

PSTN#

ISDN Se0/1/0:23 Q931: RX <- SETUP pd = 8  callref = 0x0006

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98381

                Exclusive, Channel 1

        Facility i = 0x9F8B0100A10F02010106072A8648CE1500040A0100

        Calling Party Number i = 0x0081, '5126022001'

                Plan:Unknown, Type:Unknown

        Called Party Number i = 0xA0, '5126026222'

                Plan:Unknown, Type:National

ISDN Se0/1/0:23 Q931: Received SETUP  callref = 0x8006 callID = 0x0055 switch = primary-5ess interface = Network

PSTN#

ISDN Se0/1/0:23 Q931: TX -> CALL_PROC pd = 8  callref = 0x8006

        Channel ID i = 0xA98381

                Exclusive, Channel 1

ISDN Se0/1/0:23 Q931: TX -> DISCONNECT pd = 8  callref = 0x8006

        Cause i = 0x8281 - Unallocated/unassigned number

ISDN Se0/1/0:23 Q931: RX <- RELEASE pd = 8  callref = 0x0006

ISDN Se0/1/0:23 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x8006

---------------------------------------------------------------------------------------

PSTN CALL INBOUND TO BRANCH1 '5126022001' DEBUG

PSTN#

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=15126026222$, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

PSTN#

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=15126026222, Called Number=, Voice-Interface=0x4AC91FA4,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=20003

PSTN#

//-1/00809C638176/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=5, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/00809C638176/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5

//-1/00809C638176/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/00809C638176/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/00809C638176/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=51, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/00809C638176/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=51

//-1/00809C638176/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/00809C638176/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/00809C638176/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=512, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/00809C638176/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=512

//-1/00809C638176/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/00809C638176/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/00809C638176/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=5126, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/00809C638176/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5126

//-1/00809C638176/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/00809C638176/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/00809C638176/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=51260, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/00809C638176/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=51260

//-1/00809C638176/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/00809C638176/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/00809C638176/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=512602, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/00809C638176/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=512602

//-1/00809C638176/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/00809C638176/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/00809C638176/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=5126022, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/00809C638176/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5126022

//-1/00809C638176/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/00809C638176/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=15126026222$, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=12065015111, Called Number=, Voice-Interface=0x4A1D5320,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=20001

//-1/024AFC0B8179/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=1, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/024AFC0B8179/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=1

//-1/024AFC0B8179/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/024AFC0B8179/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=12065015111$, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=15126026222, Called Number=, Voice-Interface=0x4AC91FA4,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=20003

PSTN#

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=5, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=51, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=51

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

PSTN#

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=512, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=512

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=5126, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5126

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=51260, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=51260

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=512602, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=512602

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=5126022, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5126022

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=51260220, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=51260220

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=512602200, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=512602200

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=5126022001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5126022001

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=201

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=5126022001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5126022001

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=201

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=5126022001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5126022001

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=201

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=5126022001, Called Number=5126022001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5126022001

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=201

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=5126022001, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=5126022001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5126022001

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=201

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=5126022001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=5126022001

//-1/02FB6035817E/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/02FB6035817E/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=201

ISDN Se0/1/1:23 Q931: Applying typeplan for sw-type 0xD is 0x4 0x1, Calling num 5126026222

ISDN Se0/1/1:23 Q931: Sending SETUP  callref = 0x0081 callID = 0x8002 switch = primary-ni interface = Network

ISDN Se0/1/1:23 Q931: TX -> SETUP pd = 8  callref = 0x0081

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA18381

                Preferred, Channel 1

        Facility i = 0x9F8B0100A117020103020100800F41757374696E2054582050686F6E65

                Protocol Profile =  Networking Extensions

                0xA117020103020100800F41757374696E2054582050686F6E65

                Component = Invoke component

                        Invoke Id = 3

                        Operation = CallingName

                                Name Presentation Allowed Extended

                                Name = Austin TX Phone

        Progress Ind i = 0x8583 - Origination address is non-ISDN 

        Display i = 'Austin TX Phone'

        Calling Party Number i = 0x4180, '5126026222'

                Plan:ISDN, Type:Subscriber(local)

        Called Party Number i = 0xC1, '5126022001'

                Plan:ISDN, Type:Subscriber(local)

ISDN Se0/1/1:23 Q931: RX <- CALL_PROC pd = 8  callref = 0x8081

        Channel ID i = 0xA98381

                Exclusive, Channel 1

ISDN Se0/1/1:23 Q931: RX <- DISCONNECT pd = 8  callref = 0x8081

        Cause i = 0x8081 - Unallocated/unassigned number

ISDN Se0/1/1:23 Q931: TX -> RELEASE pd = 8  callref = 0x0081

ISDN Se0/1/1:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x8081

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=^5126022...$, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

-------------------------------------------------------------------------------------------------------------------------

PSTN CALL INBOUND TO CORPHQ '2065011001' DEBUG

PSTN#

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=12065015111, Called Number=, Voice-Interface=0x4A1D5320,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=20001

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=2, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=2

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

PSTN#

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=20, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=20

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=206, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=206

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=2065, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=2065

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=20650, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=20650

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=206501, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=206501

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=2065011, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=2065011

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=20650110, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=20650110

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=206501100, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=206501100

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Partial Matches(1) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=MORE_DIGITS_NEEDED(1)

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=2065011001

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=101

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=2065011001

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=101

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=2065011001

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=101

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=2065011001, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=2065011001

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=101

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=2065011001, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=2065011001

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=101

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=2065011001

//-1/75B271B78183/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

//-1/75B271B78183/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=101

ISDN Se0/1/0:23 Q931: Applying typeplan for sw-type 0x3 is 0x4 0x1, Calling num 2065015111

ISDN Se0/1/0:23 Q931: Sending SETUP  callref = 0x0082 callID = 0x8003 switch = primary-5ess interface = Network

ISDN Se0/1/0:23 Q931: TX -> SETUP pd = 8  callref = 0x0082

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA18381

                Preferred, Channel 1

        Progress Ind i = 0x8183 - Origination address is non-ISDN 

        Display i = 'Seattle US Phone'

        Calling Party Number i = 0x4180, '2065015111'

                Plan:ISDN, Type:Subscriber(local)

        Called Party Number i = 0xC1, '2065011001'

                Plan:ISDN, Type:Subscriber(local)

ISDN Se0/1/0:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x8082

        Cause i = 0x809B - Destination out of order

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=^2065011...$, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

----------------------------------------------------------------------------------------------------------------------------------

DNA RESULTS

Results Summary

Calling Party Information

Calling Party = 5126022001

Partition = PT_Internal-DNs

Device CSS = CSS_US_Phones

Line CSS = CSS_US_NATL

AAR Group Name =

AAR CSS =

Dialed Digits = 95126026222

Match Result = RouteThisPattern

Matched Pattern Information

Pattern = \+1512!

Partition = PT_TP-to-PSTN-RP

Time Schedule =

Called Party Number = +15126026222

Time Zone = Central America Standard Time

End Device = RL_Branch1-w-Backups

Call Classification = OffNet

InterDigit Timeout = NO

Device Override = Disabled

Outside Dial Tone = NO

Call Flow

TranslationPattern :Pattern= 9.[2-9]XX[2-9]XXXXXX

Positional Match List = +15126026222

Calling Party Number = 5126022001

PreTransform Calling Party Number = 2001

PreTransform Called Party Number = 95126026222

Calling Party Transformations

External Phone Number Mask = YES

Calling Party Mask =

Prefix =

CallingLineId Presentation = Default

CallingName Presentation = Default

Calling Party Number = 5126022001

ConnectedParty Transformations

ConnectedLineId Presentation = Default

ConnectedName Presentation = Default

Called Party Transformations

Called Party Mask =

Discard Digits Instruction = PreDot

Prefix = +1

Called Number = +15126026222

Route Pattern :Pattern= \+1512!

Positional Match List = +15126026222

DialPlan =

Route Filter

Filter Name =

Filter Clause =

Require Forced Authorization Code = No

Authorization Level = 0

Require Client Matter Code = No

Call Classification =

PreTransform Calling Party Number = 5126022001

PreTransform Called Party Number = +15126026222

Calling Party Transformations

External Phone Number Mask = NO

Calling Party Mask =

Prefix =

CallingLineId Presentation = Default

CallingName Presentation = Default

Calling Party Number = 5126022001

ConnectedParty Transformations

ConnectedLineId Presentation = Default

ConnectedName Presentation = Default

Called Party Transformations

Called Party Mask =

Discard Digits Instruction = None

Prefix =

Called Number = +15126026222

Route List :Route List Name= RL_Branch1-w-Backups

RouteGroup :RouteGroup Name= RG_Branch1-w-Backups

PreTransform Calling Party Number = 5126022001

PreTransform Called Party Number = +15126026222

Calling Party Transformations

External Phone Number Mask = Default

Calling Party Mask =

Prefix =

Calling Party Number = 5126022001

Called Party Transformations

Called Party Mask =

Discard Digits Instructions =

Prefix =

Called Number = +15126026222

Device :Type= MGCPT1PRIPort

End Device Name = S0/SU0/DS1-0@Branch1

PortNumber = 0

Device Status = Registered

AAR Group Name =

AAR Calling Search Space =

AAR Prefix Digits =

Call Classification =

Calling Party Selection =

CallingLinePresentation =

ConnectedLinePresentation =

Number Of Strip Digits =

CallerID DN =

Alternate Matches

Partition :Name= PT_TP-to-PSTN-RP

Pattern

Pattern = \+!

Pattern Type = Enterprise

Call Classification = OffNet

CallManager Device Type = AccessDevice

PatternPrecedenceLevel = ExecutiveOverride

Pattern

Pattern = \+1!

Pattern Type = Enterprise

Call Classification = OffNet

CallManager Device Type = AccessDevice

PatternPrecedenceLevel = ExecutiveOverride

--------------------------------------------------------------------------------------------------



Your outbound call is being released from PSTN. Check your PSTN configuration.

I think PSTN is expecting 7 digit number as called type subscriber from branch 1 as it's local number for branch 1.

Inbound Call

For Branch 1:- Please check the significant digit at MGCP gateway configuration in CUCM. It should be of length as your extension length.

For Branch 2: Share your running config of branch 2 and snap shot of the gateway registered page (i.e page which shows your gateway registered).

Also share your debug voice ccapi inout from branch 2 while making inbound call from PSTN.

Regards,

Nishant Savalia

Regards, Nishant Savalia

Hi Nishant:

  • Please see the attachments for the Gateway pages
  • The significant digits for inbound calls for all 3 gateways is '4'
  • Please see the running-configs of the 3 gateways and the PSTN
  • Please see the debugs for the INBOUND calls

Many Thanks,

Ron

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The following INBOUND call from the PSTN to 2065011001 is now working, however it is supposed to be routing through CorpHQ and is instead routing through Branch1. Please see 'DEBUG VOIP CCAPI INOUT' & 'DEBUG ISDN Q931'

Branch1#

ISDN Se0/0/0:23 Q931: RX <- DISCONNECT pd = 8  callref = 0x0096

        Cause i = 0x8290 - Normal call clearing

//22/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:

   (callID=0x16, digit_event=0x0, enable=FALSE, consume=FALSE)

//22/5A001212800B/CCAPI/ccCallReportDigits:

   Enabled=TRUE, Call Id=22

//22/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:

   (vdbPtr=0x49E07FD4, callID=0x16, disp=0, digit_event=0x0, enable=FALSE, consume=FALSE)

//22/5A001212800B/CCAPI/cc_api_call_report_digits_done:

   Enabled=TRUE, Disposition=0x0, Interface=0x49E07FD4, Call Id=22

//22/5A001212800B/CCAPI/cc_api_call_report_digits_done:

   Call Entry(Initial Digit Timeout=4000(ms), Inter Digit Timeout=4000(ms))

//22/5A001212800B/CCAPI/ccGenerateToneInfo:

   Stop Tone On Digit=FALSE, Tone=Null,

   Tone Direction=Network, Params=0x0, Call Id=22

//23/5A001212800B/CCAPI/ccGetCallStatistics:

   Call Stats=0x4A5346FC, Call Id=23

//22/5A001212800B/CCAPI/ccConferenceDestroy:

   Conference Id=0xC, Tag=0x0

//22/xxxxxxxxxxxx/CCAPI/cc_api_bridge_drop_done:

   Conference Id=0xC, Source Interface=0x49E07FD4, Source Call Id=22,

   Destination Call Id=23, Disposition=0x0, Tag=0x0

//23/xxxxxxxxxxxx/CCAPI/cc_api_bridge_drop_done:

   Conference Id=0xC, Source Interface=0x495BABA4, Source Call Id=23,

   Destination Call Id=22, Disposition=0x0, Tag=0x0

//22/5A001212800B/CCAPI/cc_generic_bridge_done:

   Conference Id=0xC, Source Interface=0x495BABA4, Source Call Id=23,

   Destination Call Id=22, Disposition=0x0, Tag=0x0

//22/5A001212800B/CCAPI/ccCallDisconnect:

   Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)

//22/5A001212800B/CCAPI/ccCallDisconnect:

   Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)

//22/5A001212800B/CCAPI/cc_api_get_transfer_info:

   Transfer Number Is Null

//23/5A001212800B/CCAPI/ccCallDisconnect:

   Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)

//23/5A001212800B/CCAPI/ccCallDisconnect:

   Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)

//23/5A001212800B/CCAPI/cc_api_call_disconnect_done:

   Disposition=0, Interface=0x495BABA4, Tag=0x0, Call Id=23,

   Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)

//23/5A001212800B/CCAPI/cc_api_call_disconnect_done:

   Call Disconnect Event Sent

//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

:cc_free_feature_vsa freeing 4821DDE8

//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

vsacount in free is 1

//22/5A001212800B/CCAPI/cc_api_call_disconnect_done:

   Disposition=0, Interface=0x49E07FD4, Tag=0x0, Call Id=22,

   Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)

//22/5A001212800B/CCAPI/cc_api_call_disconnect_done:

   Call Disconnect Event Sent

//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

:cc_free_feature_vsa freeing 4821DEC8

//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

vsacount in free is 0

ISDN Se0/0/0:23 Q931: TX -> RELEASE pd = 8  callref = 0x8096

ISDN Se0/0/0:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x0096

ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8  callref = 0x0097

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech 

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA18381

                Preferred, Channel 1

        Progress Ind i = 0x8183 - Origination address is non-ISDN 

        Display i = 'Seattle US Phone'

        Calling Party Number i = 0x4180, '2065015111'

                Plan:ISDN, Type:Subscriber(local)

        Called Party Number i = 0xC1, '2065011001'

                Plan:ISDN, Type:Subscriber(local)

//-1/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPrivate:

   Interface=0x49E07FD4, Interface Type=6, Destination=, Mode=0x9,

   Call Params(Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),

   Called Number=(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,

   Subscriber Type Str=, FinalDestinationFlag=FALSE, Outgoing Dial-peer=0, Call Count On=FALSE,

   Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=D000000002f5368f000000F580000097)

//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

:cc_get_feature_vsa malloc success

//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

cc_get_feature_vsa count is 1

//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

:FEATURE_VSA attributes are: feature_name:0,feature_time:1210179280,feature_id:24

//24/74820328800C/CCAPI/ccIFCallSetupRequestPrivate:

   SPI Call Setup Request Is Success; Interface Type=6, FlowMode=1

//24/74820328800C/CCAPI/ccCallSetContext:

   Context=0x4A524790

//-1/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPrivate:

   Interface=0x495BABA4, Interface Type=9, Destination=0.0.0.0, Mode=0x9,

   Call Params(Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),

   Called Number=(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,

   Subscriber Type Str=, FinalDestinationFlag=FALSE, Outgoing Dial-peer=0, Call Count On=TRUE,

   Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=D000000002f5368f000000F580000097)

//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

:cc_get_feature_vsa malloc success

//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

cc_get_feature_vsa count is 2

//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

:FEATURE_VSA attributes are: feature_name:0,feature_time:1210179056,feature_id:25

//25/74820328800C/CCAPI/ccIFCallSetupRequestPrivate:

   SPI Call Setup Request Is Success; Interface Type=9, FlowMode=1

//25/74820328800C/CCAPI/ccCallSetContext:

   Context=0x4A524580

//25/74820328800C/CCAPI/cc_api_call_connected:

   Interface=0x495BABA4, Data Bitmask=0x0, Progress Indication=NULL(0),

   Connection Handle=0

//25/74820328800C/CCAPI/cc_api_call_connected:

   Call Entry(Connected=TRUE, Responsed=TRUE, Retry Count=0)

//24/74820328800C/CCAPI/cc_api_call_proceeding:

   Interface=0x49E07FD4, Progress Indication=NULL(0)

//24/74820328800C/CCAPI/cc_api_call_connected:

   Interface=0x49E07FD4, Data Bitmask=0x1, Progress Indication=DESTINATION IS NON ISDN(2),

   Connection Handle=0

//24/74820328800C/CCAPI/cc_api_call_connected:

   Call Entry(Connected=TRUE, Responsed=TRUE, Retry Count=0)

//24/74820328800C/CCAPI/ccCallModify:

   Nominator=0x1000, Params=0x4A2E7368, Call Id=24

//24/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:

   (callID=0x18, digit_event=0x1, enable=TRUE, consume=FALSE)

//24/74820328800C/CCAPI/ccCallReportDigits:

   Enabled=TRUE, Call Id=24

//24/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:

   (vdbPtr=0x49E07FD4, callID=0x18, disp=0, digit_event=0x1, enable=TRUE, consume=FALSE)

//24/74820328800C/CCAPI/cc_api_call_report_digits_done:

   Enabled=TRUE, Disposition=0x0, Interface=0x49E07FD4, Call Id=24

//24/74820328800C/CCAPI/cc_api_call_report_digits_done:

   Call Entry(Initial Digit Timeout=15000(ms), Inter Digit Timeout=10000(ms))

//24/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:

   (confID=0x4A2E757C, callID1=0x18, callID2=0x19, tag=0x0)

//24/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:

   (confID=0x4A2E757C, callID1=0x18, gcid=0-0-0-0, tag=0x0)

//25/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:

   (confID=0x4A2E757C, callID2=0x19, gcid=0-0-0-0, tag=0x0)

//24/74820328800C/CCAPI/ccConferenceCreate:

   Conference Id=0x4A2E757C, Call Id1=24, Call Id2=25, Tag=0x0

//24/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:

   Conference Id=0xD, Source Interface=0x49E07FD4, Source Call Id=24,

   Destination Call Id=25, Disposition=0x0, Tag=0xFFFFFFFF

//25/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:

   Conference Id=0xD, Source Interface=0x495BABA4, Source Call Id=25,

   Destination Call Id=24, Disposition=0x0, Tag=0x0

//24/74820328800C/CCAPI/cc_generic_bridge_done:

   Conference Id=0xD, Source Interface=0x495BABA4, Source Call Id=25,

   Destination Call Id=24, Disposition=0x0, Tag=0x0

//24/74820328800C/CCAPI/ccConferenceCreate:

   Call Entry(Conference Id=0xD, Destination Call Id=25)

//25/74820328800C/CCAPI/ccConferenceCreate:

   Call Entry(Conference Id=0xD, Destination Call Id=24)

//24/74820328800C/CCAPI/cc_api_caps_ind:

   Destination Interface=0x495BABA4, Destination Call Id=25, Source Call Id=24,

   Caps(Codec=0x1, Fax Rate=0x1, Vad=0x1,

   Modem=0x2, Codec Bytes=20, Signal Type=3)

//24/74820328800C/CCAPI/cc_api_caps_ind:

   Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),

   Playout Max=1000(ms), Fax Nom=300(ms))

//25/74820328800C/CCAPI/cc_api_caps_ind:

   Destination Interface=0x49E07FD4, Destination Call Id=24, Source Call Id=25,

   Caps(Codec=0x4, Fax Rate=0x2, Vad=0x1,

   Modem=0x0, Codec Bytes=20, Signal Type=2)

//25/74820328800C/CCAPI/cc_api_caps_ind:

   Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),

   Playout Max=1000(ms), Fax Nom=300(ms))

//25/74820328800C/CCAPI/cc_api_caps_ack:

   Destination Interface=0x49E07FD4, Destination Call Id=24, Source Call Id=25,

   Caps(Codec=g729r8(0x4), Fax Rate=FAX_RATE_VOICE(0x2), Vad=OFF(0x1),

   Modem=OFF(0x0), Codec Bytes=20, Signal Type=2, Seq Num Start=9314)

//24/74820328800C/CCAPI/cc_api_caps_ack:

   Destination Interface=0x495BABA4, Destination Call Id=25, Source Call Id=24,

   Caps(Codec=g729r8(0x4), Fax Rate=FAX_RATE_VOICE(0x2), Vad=OFF(0x1),

   Modem=OFF(0x0), Codec Bytes=20, Signal Type=2, Seq Num Start=9314)

//24/74820328800C/CCAPI/cc_api_call_modify_done:

   Result=0, Interface=0x49E07FD4, Call Id=24

//24/74820328800C/CCAPI/cc_api_voice_mode_event:

   Call Id=24

//24/74820328800C/CCAPI/cc_api_voice_mode_event:

   Call Entry(Context=0x4A524790)

//24/74820328800C/CCAPI/cc_process_notify_bridge_done:

   Conference Id=0xD, Call Id1=24, Call Id2=25

//24/74820328800C/CCAPI/ccSetDigitTimeouts:

   Initial Digit Timeout=4000(ms), Inter Digit Timeout=4000(ms)

//24/74820328800C/CCAPI/ccSetDigitTimeouts:

   Call Entry(Inter Digit Timeout=4000(ms), Initial Digit Timeout=4000(ms))

//24/74820328800C/CCAPI/ccRestartDigitTimeoutMsec:

   Digit Timeout=0, Call Id=24

//24/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:

   (callID=0x18, digit_event=0x1, enable=TRUE, consume=FALSE)

//24/74820328800C/CCAPI/ccCallReportDigits:

   Enabled=TRUE, Call Id=24

//24/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:

   (vdbPtr=0x49E07FD4, callID=0x18, disp=0, digit_event=0x1, enable=TRUE, consume=FALSE)

//24/74820328800C/CCAPI/cc_api_call_report_digits_done:

   Enabled=TRUE, Disposition=0x0, Interface=0x49E07FD4, Call Id=24

//24/74820328800C/CCAPI/cc_api_call_report_digits_done:

   Call Entry(Initial Digit Timeout=4000(ms), Inter Digit Timeout=4000(ms))

ISDN Se0/0/0:23 Q931: TX -> CALL_PROC pd = 8  callref = 0x8097

        Channel ID i = 0xA98381

                Exclusive, Channel 1

//24/74820328800C/CCAPI/ccCallModify:

   Nominator=0x1000, Params=0x4A2E6E68, Call Id=24

//24/74820328800C/CCAPI/cc_api_call_modify_done:

   Result=0, Interface=0x49E07FD4, Call Id=24

ISDN Se0/0/0:23 Q931: TX -> ALERTING pd = 8  callref = 0x8097

        Progress Ind i = 0x8088 - In-band info or appropriate now available

//24/74820328800C/CCAPI/ccGenerateToneInfo:

   Stop Tone On Digit=FALSE, Tone=Ring Back,

   Tone Direction=Network, Params=0x0, Call Id=24

//24/74820328800C/CCAPI/cc_handle_inter_digit_timer:

   Generate inter-digit timeout CC_EV_CALL_DIGIT_END event

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The following INBOUND call from the PSTN to 5126022001 fails and is supposed to be routing through Branch1 and is instead routing through CorpHQ. Please see 'DEBUG VOIP CCAPI INOUT'

CorpHQ#

//-1/A31ADF52800B/CCAPI/cc_api_display_ie_subfields:

   cc_api_call_setup_ind_common:

   cisco-username=

   ----- ccCallInfo IE subfields -----

   cisco-ani=5126026222

   cisco-anitype=4

   cisco-aniplan=1

   cisco-anipi=0

   cisco-anisi=0

   dest=5126022001

   cisco-desttype=4

   cisco-destplan=1

   cisco-rdie=FFFFFFFF

   cisco-rdn=

   cisco-lastrdn=

   cisco-rdntype=-1

   cisco-rdnplan=-1

   cisco-rdnpi=-1

   cisco-rdnsi=-1

   cisco-redirectreason=-1   fwd_final_type =0

   final_redirectNumber =

   hunt_group_timeout =0

//-1/A31ADF52800B/CCAPI/cc_api_call_setup_ind_common:

   Interface=0x49F42894, Call Info(

   Calling Number=5126026222,(Calling Name=)(TON=Subscriber, NPI=ISDN, Screening=Not Screened, Presentation=Allowed),

   Called Number=5126022001(TON=Subscriber, NPI=ISDN),

   Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,

   Incoming Dial-peer=1, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=TRUE,

   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1

//-1/A31ADF52800B/CCAPI/ccCheckClipClir:

   In: Calling Number=5126026222(TON=Subscriber, NPI=ISDN, Screening=Not Screened, Presentation=Allowed)

//-1/A31ADF52800B/CCAPI/ccCheckClipClir:

   Out: Calling Number=5126026222(TON=Subscriber, NPI=ISDN, Screening=Not Screened, Presentation=Allowed)

//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

:cc_get_feature_vsa malloc success

//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

cc_get_feature_vsa count is 1

//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

:FEATURE_VSA attributes are: feature_name:0,feature_time:1241383960,feature_id:13

//13/A31ADF52800B/CCAPI/cc_api_call_setup_ind_common:

   Set Up Event Sent;

   Call Info(Calling Number=5126026222(TON=Subscriber, NPI=ISDN, Screening=Not Screened, Presentation=Allowed),

   Called Number=5126022001(TON=Subscriber, NPI=ISDN))

//13/A31ADF52800B/CCAPI/cc_process_call_setup_ind:

   Event=0x497D0010

//-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:

   Try with the demoted called number 5126022001

//13/A31ADF52800B/CCAPI/ccCallSetContext:

   Context=0x4A131A54

//13/A31ADF52800B/CCAPI/cc_process_call_setup_ind:

   >>>>CCAPI handed cid 13 with tag 1 to app "_ManagedAppProcess_Default"

//13/A31ADF52800B/CCAPI/ccCallProceeding:

   Progress Indication=NULL(0)

//13/A31ADF52800B/CCAPI/ccCallDisconnect:

   Cause Value=1, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)

//13/A31ADF52800B/CCAPI/ccCallDisconnect:

   Cause Value=1, Call Entry(Responsed=TRUE, Cause Value=1)

//13/A31ADF52800B/CCAPI/cc_api_get_transfer_info:

   Transfer Number Is Null

//13/A31ADF52800B/CCAPI/cc_api_call_disconnect_done:

   Disposition=0, Interface=0x49F42894, Tag=0x0, Call Id=13,

   Call Entry(Disconnect Cause=1, Voice Class Cause Code=0, Retry Count=0)

//13/A31ADF52800B/CCAPI/cc_api_call_disconnect_done:

   Call Disconnect Event Sent

//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

:cc_free_feature_vsa freeing 49FE0410

//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

vsacount in free is 0

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

PSTN#sh run

Building configuration...

Current configuration : 13975 bytes

!

! No configuration change since last restart

!

version 12.4

no service pad

no service timestamps debug uptime

no service timestamps log uptime

no service password-encryption

!

hostname PSTN

!

boot-start-marker

boot-end-marker

!

card type e1 0 0

card type t1 0 1

logging message-counter syslog

!

no aaa new-model

clock timezone EST -5

clock summer-time EST recurring

network-clock-participate wic 0

network-clock-participate wic 1

no network-clock-participate aim 0

!

dot11 syslog

ip source-route

!

!

ip cef

!

!

no ip domain lookup

ip domain name att.com

ip name-server 177.1.100.110

ip multicast-routing

no ipv6 cef

!

multilink bundle-name authenticated

!

!

!

!

isdn switch-type primary-ni

!        

!

!

voice service voip

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

redirect ip2ip

fax protocol cisco

sip

  bind control source-interface Loopback10

  bind media source-interface Loopback10

  header-passing

!

!

!

!

!

!

!

!

!

!        

!

!

!

!

!

!

voice translation-rule 101

rule 1 /^\+.*/ //

rule 2 /^501.*/ //

rule 3 /^1206.*/ //

rule 4 /^00.*/ //

rule 5 /^0011.*/ //

rule 6 /^206/ /1206/

rule 7 /^1512.*/ /\0/

rule 8 /^011\(.*\)/ /\1/

!

voice translation-rule 102

rule 1 /^1\(2065015111\)$/ /\1/ type any subscriber plan any isdn

rule 2 /^1\(2065015555\)$/ /\1/ type any subscriber plan any isdn

rule 3 /^1\(2065015151\)$/ /\1/ type any subscriber plan any isdn

rule 4 /^1\(5126026222\)$/ /\1/ type any national plan any isdn

rule 5 /^31670357575$/ /&/ type any international plan any isdn

rule 6 /^31207037333$/ /&/ type any international plan any isdn

rule 7 /^31107047444$/ /&/ type any international plan any isdn

rule 8 /^911$/ /&/ type any unknown plan any unknown

rule 9 /^15126022.../ /&/ type any unknown plan any unknown

rule 10 /^31207033.../ /&/ type any unknown plan any unknown

rule 11 /^....$/ /&/ type any unknown plan any unknown

!

voice translation-rule 103

rule 1 /^206.*/ /&/ type any subscriber plan any isdn

rule 2 /^1/ // type any national plan any isdn

rule 3 /^00/ // type any international plan any isdn

!

voice translation-rule 201

rule 1 /^\+.*/ //

rule 2 /^602.*/ //

rule 3 /^1512.*/ //

rule 4 /^00.*/ //

rule 5 /^0011.*/ //

rule 6 /^512/ /1&/

rule 7 /^1206.*/ /&/

rule 8 /^011\(31.*\)/ /\1/

!

voice translation-rule 202

rule 1 /^1\(5126026222\)$/ /\1/ type any subscriber plan any isdn

rule 2 /^1\(2065015555\)$/ /\1/ type any national plan any isdn

rule 3 /^1\(2065015151\)$/ /\1/ type any national plan any isdn

rule 4 /^1\(2065015111\)$/ /\1/ type any national plan any isdn

rule 5 /^31670357575$/ /&/ type any international plan any isdn

rule 6 /^31207037333$/ /&/ type any international plan any isdn

rule 7 /^31107047444$/ /&/ type any international plan any isdn

rule 8 /^911$/ /&/ type any unknown plan any unknown

rule 9 /^12065011.../ /&/ type any unknown plan any unknown

rule 10 /^31207033.../ /&/ type any unknown plan any unknown

rule 11 /^....$/ /&/ type any unknown plan any unknown

!

voice translation-rule 203

rule 1 /^512.*/ /&/ type any subscriber plan any isdn

rule 2 /^1/ // type any national plan any isdn

rule 3 /^00/ // type any international plan any isdn

!

voice translation-rule 301

rule 1 /^\+.*/ //

rule 2 /^20.*/ //

rule 3 /^0\([1-8].*\)/ /31\1/

rule 4 /^011/ //

rule 5 /^0031/ //

rule 6 /^703..../ /3120&/

rule 7 /^00\(1.*\)/ /\1/

!

voice translation-rule 302

rule 1 /^31207037333$/ /7037333/ type any subscriber plan any isdn

rule 2 /^7033\(...\)$/ /0207033\1/

rule 3 /^911$/ /112/ type any unknown plan any unknown

rule 4 /^31\(670357575\)$/ /0\1/ type any national plan any isdn

rule 5 /^31\(107047444\)$/ /0\1/ type any national plan any isdn

rule 6 /^12065015555$/ /&/ type any international plan any isdn

rule 7 /^12065015151$/ /&/ type any international plan any isdn

rule 8 /^12065015111$/ /&/ type any international plan any isdn

rule 9 /^15126026222$/ /&/ type any international plan any isdn

rule 10 /^12065011...$/ /&/ type any unknown plan any unknown

rule 11 /^15126022...$/ /&/ type any unknown plan any unknown

rule 12 /^....$/ /&/ type any unknown plan any unknown

!

voice translation-rule 303

rule 1 /^703.*/ /&/ type any subscriber plan any isdn

rule 2 /^010/ // type any national plan any isdn

rule 3 /^1/ // type any international plan any isdn

!

voice translation-rule 1000

rule 1 /.*\(1...$\)/ /206501\1/

rule 2 /.*\(2...$\)/ /512602\1/

rule 3 /.*\(45..$\)/ /020757\1/

!

voice translation-rule 1001

rule 1 /^1206...5...$/ /+&/

rule 2 /^1512...6...$/ /+&/

rule 3 /^31.0...7...$/ /+&/

!

!

voice translation-profile 1-HQ-Change_DNIS-Check_ANI

translate called 101

!

voice translation-profile 1-HQ-Proper_Types

translate calling 102

translate called 103

!

voice translation-profile 2-BR1-Change_DNIS-Check_ANI

translate called 201

!

voice translation-profile 2-BR1-Proper_Types

translate calling 202

translate called 203

!        

voice translation-profile 3-BR2-Change_DNIS-Check_ANI

translate called 301

!

voice translation-profile 3-BR2-Proper_Types

translate calling 302

translate called 303

!

voice translation-profile SIP-NORMALIZE-DNIS-ANI

translate calling 1001

translate called 1000

!

!

voice-card 0

dspfarm

!

!

!

!

!

archive

log config

  hidekeys

!        

!

!

!

!

controller E1 0/0/0

clock source internal

pri-group timeslots 1-3,16

description == Voice Circuit to Branch2

!

controller T1 0/1/0

clock source internal

cablelength long 0db

pri-group timeslots 1-3,24

description == Voice Circuit to CorpHQ

!

controller T1 0/1/1

clock source internal

cablelength long 0db

pri-group timeslots 1-3,24

description == Voice Circuit to Branch1

!

!

!        

!

!

interface Loopback0

ip address 177.1.254.254 255.255.255.255

!

interface Loopback10

ip address 177.1.254.250 255.255.255.255

!

interface Loopback11

ip address 177.1.254.251 255.255.255.255

!

interface FastEthernet0/0

description ==TO INTERNET==

ip address 192.168.1.150 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

description === To HQ

ip address 177.1.19.1 255.255.255.0

duplex auto

speed auto

!        

interface Serial0/0/0:15

description == PRI Circuit to R3-BR2

no ip address

encapsulation hdlc

isdn switch-type primary-net5

isdn protocol-emulate network

isdn incoming-voice voice

isdn negotiate-bchan resend-setup

no isdn outgoing ie network-facility

isdn outgoing display-ie

no cdp enable

!

interface Serial0/1/0:23

description == PRI Circuit to R1-HQ

no ip address

encapsulation hdlc

isdn switch-type primary-5ess

isdn protocol-emulate network

isdn incoming-voice voice

isdn negotiate-bchan

isdn outgoing display-ie

no cdp enable

!        

interface Serial0/1/1:23

description == PRI Circuit to R2-BR1

no ip address

encapsulation hdlc

isdn switch-type primary-ni

isdn protocol-emulate network

isdn incoming-voice voice

isdn supp-service name calling

isdn negotiate-bchan resend-setup

isdn outgoing ie network-facility

no cdp enable

!

router ospf 1

log-adjacency-changes

network 0.0.0.0 255.255.255.255 area 0

!

ip forward-protocol nd

ip route 0.0.0.0 0.0.0.0 192.168.1.1

ip http server

ip http authentication local

no ip http secure-server

ip http path flash:

!        

!

!

!

!

!

!

!

!

control-plane

!

!

!

voice-port 0/0/0:15

translation-profile incoming 3-BR2-Change_DNIS-Check_ANI

description == Voice PRI to Branch2

!

voice-port 0/1/0:23

translation-profile incoming 1-HQ-Change_DNIS-Check_ANI

description == Voice PRI to CorpHQ

!

voice-port 0/1/1:23

translation-profile incoming 2-BR1-Change_DNIS-Check_ANI

description == Voice PRI to Branch1

!

!

!

!

!

dial-peer voice 1 pots

description == All inbound calls from HQ BR1 BR2 into PSTN

incoming called-number .

direct-inward-dial

!

dial-peer voice 101 pots

description == Subscriber Calls from PSTN into CorpHQ

translation-profile outgoing 1-HQ-Proper_Types

preference 1

destination-pattern ^2065011...$

direct-inward-dial

port 0/1/0:23

forward-digits 10

!

dial-peer voice 102 pots

description == National Calls from PSTN into CorpHQ

translation-profile outgoing 1-HQ-Proper_Types

preference 1

destination-pattern ^12065011...$

direct-inward-dial

port 0/1/0:23

forward-digits 10

!

dial-peer voice 103 pots

description == International Calls into CorpHQ from PSTN Coming from NL Ph

translation-profile outgoing 1-HQ-Proper_Types

preference 1

destination-pattern ^0012065011...$

direct-inward-dial

port 0/1/0:23

forward-digits 10

!

dial-peer voice 104 pots

description == + Calls into CorpHQ from PSTN Coming from Mobiles

translation-profile outgoing 1-HQ-Proper_Types

preference 1

destination-pattern +12065011...$

direct-inward-dial

port 0/1/0:23

forward-digits 10

!        

dial-peer voice 201 pots

description == Subscriber Calls from PSTN into Branch1

translation-profile outgoing 2-BR1-Proper_Types

preference 1

destination-pattern ^5126022...$

direct-inward-dial

port 0/1/1:23

forward-digits 10

!

dial-peer voice 202 pots

description == National Calls from PSTN into Branch1

translation-profile outgoing 2-BR1-Proper_Types

preference 1

destination-pattern ^15126022...$

direct-inward-dial

port 0/1/1:23

forward-digits 10

!

dial-peer voice 203 pots

description == International Calls into Branch1 from PSTN Coming from NL Ph

translation-profile outgoing 2-BR1-Proper_Types

preference 1

destination-pattern ^0015126022...$

direct-inward-dial

port 0/1/1:23

forward-digits 10

!

dial-peer voice 204 pots

description == + Calls into Branch1 from PSTN Coming from Mobiles

translation-profile outgoing 2-BR1-Proper_Types

preference 1

destination-pattern +15126022...$

direct-inward-dial

port 0/1/1:23

forward-digits 10

!

dial-peer voice 301 pots

description == Subscriber Calls from PSTN into Branch2

translation-profile outgoing 3-BR2-Proper_Types

destination-pattern ^7033...$

direct-inward-dial

port 0/0/0:15

forward-digits 7

!

dial-peer voice 302 pots

description == National Calls from PSTN into Branch2

translation-profile outgoing 3-BR2-Proper_Types

destination-pattern ^0207033...$

direct-inward-dial

port 0/0/0:15

forward-digits 10

!

dial-peer voice 303 pots

description == International Calls into Branch2 from PSTN Coming from US Ph

translation-profile outgoing 3-BR2-Proper_Types

destination-pattern ^01131207033...$

direct-inward-dial

port 0/0/0:15

forward-digits 9

prefix 0

!

dial-peer voice 304 pots

description == International Calls into Branch2 from PSTN Coming from US Ph

translation-profile outgoing 3-BR2-Proper_Types

destination-pattern ^31207033...$

direct-inward-dial

port 0/0/0:15

forward-digits 9

prefix 0

!

dial-peer voice 305 pots

description == + Calls into Branch2 from PSTN Coming from Mobiles

translation-profile outgoing 3-BR2-Proper_Types

destination-pattern +31207033...$

direct-inward-dial

port 0/0/0:15

forward-digits 9

prefix 0

!

dial-peer voice 1000 voip

description == Calls into AT&T SIP ITSP for VC Week1 Lab1

rtp payload-type nse 99

rtp payload-type nte 100

voice-class sip localhost dns:sip1.att.com

session protocol sipv2

incoming called-number .

dtmf-relay rtp-nte

codec g711ulaw

!

dial-peer voice 5000 voip

service aa

destination-pattern A5000

session target ipv4:177.1.254.254

incoming called-number A5000

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad

!

!

num-exp 1888....... 911

num-exp 1900....... 911

num-exp 1976....... 911

num-exp 1777....... 911

num-exp 1444....... 911

num-exp 0800....... 911

num-exp 0900....... 911

sip-ua

!

!

!

telephony-service

no auto-reg-ephone

max-ephones 1

max-dn 10

ip source-address 177.1.254.254 port 2000

caller-id block code *67

system message You WILL PASS this Exam!

voicemail A5000

max-conferences 8 gain -6

call-forward pattern .T

dn-webedit

transfer-system full-consult

transfer-pattern .T

create cnf-files version-stamp 7960 Sep 01 2012 15:29:37

!

!

ephone-dn  1  dual-line

number 12065015111 secondary +12065015111

label Seattle, US +1 206 501 5111

description INE PSTN Phone

name Seattle US Phone

!

!

ephone-dn  2  dual-line

number 15126026222 secondary +15126026222

label Austin, US +1 512 602 6222

name Austin TX Phone

!        

!

ephone-dn  3  dual-line

number 31207037333 secondary +31207037333

label Amsterdam, NL +31 20 703 73 33

name Amsterdam NL Phone

!

!

ephone-dn  4  dual-line

number 12065015555 secondary +12065015555

label Hurley Mobile +1 206 501 5555

name Hurley's Mobile

call-forward busy A5000

call-forward noan A5000 timeout 16

!

!

ephone-dn  5  dual-line

number 12065015151 secondary +12065015151

label Hurley's Home +1 206 501 5151

name Hurley's Home

call-forward busy A5000

call-forward noan A5000 timeout 12

!

!        

ephone-dn  6  dual-line

number 31670357575 secondary +31670357575

label Sawyer's Mobile +31 6 70357575

name Sawyer's Mobile

call-forward busy A5000

call-forward noan A5000 timeout 16

!

!

ephone-dn  7  dual-line

number 911 secondary 112

label US/EU Emer/FreePhone/Prem

name Emergency Services

!

!

ephone-dn  8  dual-line

number 15126026262 secondary +15126026262

label BLinus Mobile +1 512 602 6262

name Benjamin Linus Mobile

call-forward busy A5000

call-forward noan A5000 timeout 16

!

!

ephone-dn  9  dual-line

number 31207037373 secondary +31207037373

label DHume Home +31 20 703 73 73

name Desmond Hume Home

call-forward busy A5000

call-forward noan A5000 timeout 16

!

!

ephone-dn  10  dual-line

number 31107047444 secondary +31107047444

label Rotterdam, NL +31 10 704 74 44

name Rotterdam NL Phone

!

!

ephone  1

device-security-mode none

mac-address A456.3040.0DAA

type 7975

button  1:1 2:2 3:3 4:10

button  5:6 6o7,8,5,4

!

!

!

line con 0

exec-timeout 0 0

privilege level 15

logging synchronous level 0 limit 20

line aux 0

line vty 0 4

exec-timeout 0 0

privilege level 15

logging synchronous

no login

line vty 5 15

exec-timeout 0 0

privilege level 15

logging synchronous

no login

!

scheduler allocate 20000 1000

ntp source Loopback0

ntp master 10

ntp server 64.90.182.55

end

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

CorpHQ#sh run

Building configuration...

Current configuration : 6353 bytes

!

! No configuration change since last restart

!

version 12.4

no service pad

no service timestamps debug uptime

no service timestamps log uptime

no service password-encryption

!

hostname CorpHQ

!

boot-start-marker

boot-end-marker

!

logging message-counter syslog

!

no aaa new-model

clock timezone PST -8

clock summer-time PDT recurring

network-clock-participate wic 0

network-clock-select 1 T1 0/0/0

!        

dot11 syslog

ip source-route

!

!

ip cef

ip dhcp excluded-address 177.1.11.1 177.1.11.14

ip dhcp excluded-address 177.1.11.21 177.1.11.254

ip dhcp excluded-address 177.2.11.1 177.2.11.14

ip dhcp excluded-address 177.2.11.21 177.2.11.254

!

ip dhcp pool CorpHQ-Phones

   network 177.1.11.0 255.255.255.0

   option 150 ip 177.1.10.10 177.1.10.20

   default-router 177.1.11.1

   dns-server 177.1.100.110

!

ip dhcp pool Branch1-Phones

   network 177.2.11.0 255.255.255.0

   option 150 ip 177.1.10.10 177.1.10.20

   default-router 177.2.11.1

   dns-server 177.1.100.110

!

!        

no ip domain lookup

ip multicast-routing

no ipv6 cef

!

multilink bundle-name authenticated

!

!

!

!

isdn switch-type primary-ni

!

!

!

voice service voip

allow-connections h323 to h323

fax protocol cisco

sip

  bind control source-interface Loopback0

  bind media source-interface Loopback0

  no update-callerid

!

!

!        

voice class codec 1

codec preference 1 g711ulaw

codec preference 2 g711alaw

codec preference 3 g729r8

!

!

!

!

!

!

!

!

!

!

!

!

!

!

voice translation-rule 1

rule 1 // // type any subscriber plan any isdn

!

voice translation-rule 2

rule 1 // // type any national plan any isdn

!

voice translation-rule 3

rule 1 // // type any international plan any isdn

!

voice translation-rule 10

rule 1 /^[2-9].........$/ /9&/

rule 2 /^1[2-9].........$/ /9&/

rule 3 /^011/ /9&/

!

!

voice translation-profile MakeInternational

translate called 3

!

voice translation-profile MakeNational

translate called 2

!

voice translation-profile MakeSubscriber

translate called 1

!

voice translation-profile Prefix9_InFrom_CUCM

translate called 10

!

!        

voice-card 0

dsp services dspfarm

!

!

!

!

!

archive

log config

  hidekeys

!

!

!

!

!

controller T1 0/0/0

pri-group timeslots 1-3,24

description == Voice Circuit to PSTN

!

!

!

!

!        

interface Loopback0

ip address 177.1.254.1 255.255.255.255

ip pim dense-mode

!

interface FastEthernet0/0

description == To CorpHQ-Switch

no ip address

duplex auto

speed auto

!

interface FastEthernet0/0.10

description == Server VLAN

encapsulation dot1Q 10

ip address 177.1.10.1 255.255.255.0

ip pim dense-mode

!

interface FastEthernet0/0.11

description == Voice VLAN

encapsulation dot1Q 11

ip address 177.1.11.1 255.255.255.0

ip helper-address 177.1.10.10

ip nbar protocol-discovery

ip pim dense-mode

!

interface FastEthernet0/0.12

description == Data VLAN

encapsulation dot1Q 12

ip address 177.1.12.1 255.255.255.0

!

interface FastEthernet0/0.13

description == PSTN PHONE VLAN

encapsulation dot1Q 13

ip address 177.1.13.1 255.255.255.0

!

interface FastEthernet0/1

description === To PSTN

ip address 177.1.19.254 255.255.255.0

duplex auto

speed auto

!

interface Serial0/0/0:23

no ip address

encapsulation hdlc

isdn switch-type primary-ni

isdn incoming-voice voice

no cdp enable

!

interface Serial0/1/0

description == Frame-Relay Circuit to WAN

no ip address

encapsulation frame-relay

fair-queue 64 256 36

cdp enable

frame-relay lmi-type ansi

ip rsvp bandwidth

!

interface Serial0/1/0.1 point-to-point

description == FR To BR1

bandwidth 384

ip address 177.0.101.1 255.255.255.0

ip pim dense-mode

snmp trap link-status

frame-relay interface-dlci 101  

ip rsvp bandwidth 136

!

interface Serial0/1/0.2 point-to-point

description == FR To BR2

ip address 177.0.201.1 255.255.255.0

snmp trap link-status

frame-relay interface-dlci 102  

ip rsvp bandwidth 136

!

router ospf 1

log-adjacency-changes

network 0.0.0.0 255.255.255.255 area 0

!

ip forward-protocol nd

ip route 0.0.0.0 0.0.0.0 177.1.19.1

ip route 0.0.0.0 0.0.0.0 FastEthernet0/0.10

no ip http server

no ip http secure-server

!

!

!

!

!

!

!

!

!

control-plane

!        

!

!

voice-port 0/0/0:23

!

voice-port 0/3/0

!

voice-port 0/3/1

!

ccm-manager music-on-hold

!

!

sccp local Loopback0

sccp ccm 177.1.10.10 identifier 1 priority 1 version 5.0.1

sccp ccm 177.1.10.20 identifier 2 priority 2 version 5.0.1

sccp ccm 177.1.254.3 identifier 3 priority 3 version 5.0.1

sccp

!

sccp ccm group 1

bind interface Loopback0

associate ccm 2 priority 1

associate ccm 1 priority 2

associate ccm 3 priority 3

associate profile 1 register CorpHQ-729-MTP

associate profile 2 register CorpHQ-711-MTP

associate profile 3 register CorpHQ-HW-Xcode

!

dspfarm profile 3 transcode 

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

codec g729r8

codec g729br8

codec ilbc

maximum sessions 2

associate application SCCP

!

dspfarm profile 1 mtp 

codec g729ar8

codec g729r8

rsvp

maximum sessions software 10

associate application SCCP

!

dspfarm profile 2 mtp 

codec g711ulaw

rsvp

maximum sessions software 10

associate application SCCP

!

!

dial-peer voice 1 pots

incoming called-number .

direct-inward-dial

!

dial-peer voice 10 pots

translation-profile outgoing MakeSubscriber

destination-pattern 911

no digit-strip

port 0/0/0:23

!

dial-peer voice 11 pots

translation-profile outgoing MakeSubscriber

destination-pattern 9[2-9]..[2-9]......$

port 0/0/0:23

!

dial-peer voice 12 pots

translation-profile outgoing MakeNational

destination-pattern 91[2-9]..[2-9]......$

port 0/0/0:23

forward-digits 11

!

dial-peer voice 13 pots

translation-profile outgoing MakeInternational

destination-pattern 9011T

port 0/0/0:23

prefix 011

!

dial-peer voice 100 voip

description == Inbound/Outbound SIP PSTN GW From/To CUCM Pub

translation-profile incoming Prefix9_InFrom_CUCM

destination-pattern ^2065011...$

voice-class codec 1

session protocol sipv2

session target ipv4:177.1.10.10

incoming called-number .

ip qos dscp cs3 signaling

!

!

dial-peer hunt 1

sip-ua

!        

!

!

line con 0

exec-timeout 0 0

privilege level 15

logging synchronous level 0 limit 20

line aux 0

line vty 0 4

exec-timeout 0 0

privilege level 15

logging synchronous

no login

line vty 5 15

exec-timeout 0 0

privilege level 15

logging synchronous

no login

!

scheduler allocate 20000 1000

ntp source Loopback0

ntp master 2

ntp server 177.1.254.254

end

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Branch1#sh run

Building configuration...

Current configuration : 3838 bytes

!

! Last configuration change at 01:19:02 CDT Thu Oct 10 2013

!

version 12.4

no service pad

no service timestamps debug uptime

no service timestamps log uptime

no service password-encryption

!

hostname Branch1

!

boot-start-marker

boot-end-marker

!

logging message-counter syslog

!

no aaa new-model

clock timezone CST -6

clock summer-time CDT recurring

network-clock-participate wic 0

network-clock-select 1 T1 0/0/0

!        

dot11 syslog

ip source-route

!

!

ip cef

!

!

ip multicast-routing

no ipv6 cef

ntp update-calendar

ntp server 177.1.254.1

!

multilink bundle-name authenticated

!

!

!

!

isdn switch-type primary-ni

!

!

!

!

!        

!

!

!

!

!

!

!

!

!

!

!

!

!

!

voice-card 0

dsp services dspfarm

!

!

!

!

!

archive

log config

  hidekeys

!

!

!

!

!

controller T1 0/0/0

pri-group timeslots 1-3,24 service mgcp

!

!

!

!

!

interface Loopback0

ip address 177.1.254.2 255.255.255.255

!

interface FastEthernet0/0

no ip address

duplex auto

speed auto

!

interface FastEthernet0/0.11

description == Voice VLAN

encapsulation dot1Q 11

ip address 177.2.11.1 255.255.255.0

ip helper-address 177.1.254.1

ip pim dense-mode

!

interface FastEthernet0/0.12

description == Data VLAN

encapsulation dot1Q 12

ip address 177.2.12.1 255.255.255.0

!

interface FastEthernet0/1

no ip address

shutdown

duplex auto

speed auto

!

interface Serial0/0/0:23

no ip address

encapsulation hdlc

isdn switch-type primary-ni

isdn incoming-voice voice

isdn supp-service name calling

isdn bind-l3 ccm-manager

isdn outgoing ie facility

isdn outgoing display-ie

isdn outgoing ie redirecting-number

no cdp enable

!

interface Serial0/1/0

description == Frame-Relay Circuit to WAN

no ip address

encapsulation frame-relay

fair-queue 64 256 37

cdp enable

no frame-relay inverse-arp

frame-relay lmi-type ansi

ip rsvp bandwidth

!

interface Serial0/1/0.1 point-to-point

description == FR To HQ

ip address 177.0.101.2 255.255.255.0

ip pim dense-mode

snmp trap link-status

frame-relay interface-dlci 101  

ip rsvp bandwidth 136

!        

interface Serial0/1/1

no ip address

shutdown

clock rate 2000000

!

router ospf 1

log-adjacency-changes

network 0.0.0.0 255.255.255.255 area 0

!

ip forward-protocol nd

no ip http server

no ip http secure-server

!

!

!

!

!

!

!

!

!

control-plane

!        

!

!

voice-port 0/0/0:23

!

ccm-manager fallback-mgcp

ccm-manager redundant-host 177.1.10.10

ccm-manager mgcp

no ccm-manager fax protocol cisco

ccm-manager music-on-hold

!

mgcp

mgcp call-agent 177.1.10.20 service-type mgcp version 0.1

mgcp dtmf-relay voip codec all mode out-of-band

mgcp fax t38 ecm

mgcp bind control source-interface Loopback0

mgcp bind media source-interface Loopback0

!

mgcp profile default

!

sccp local Loopback0

sccp ccm 177.1.254.3 identifier 3 priority 3 version 5.0.1

sccp ccm 177.1.10.10 identifier 1 priority 1 version 5.0.1

sccp ccm 177.1.10.20 identifier 2 priority 2 version 5.0.1

sccp

!

sccp ccm group 1

bind interface Loopback0

associate ccm 2 priority 1

associate ccm 1 priority 2

associate ccm 3 priority 3

associate profile 3 register Br1-HW-Xcode

associate profile 1 register Br1-729-MTP

associate profile 2 register Br1-711-MTP

!

dspfarm profile 3 transcode 

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

codec g729r8

codec g729br8

maximum sessions 2

associate application SCCP

!

dspfarm profile 1 mtp 

codec g729ar8

codec g729r8

rsvp

maximum sessions software 10

associate application SCCP

!

dspfarm profile 2 mtp 

codec g711ulaw

rsvp

maximum sessions software 10

associate application SCCP

!

!

!

!

!

line con 0

exec-timeout 0 0

privilege level 15

logging synchronous level 0 limit 20

line aux 0

line vty 0 4

exec-timeout 0 0

privilege level 15

logging synchronous

no login

line vty 5 15

exec-timeout 0 0

privilege level 15

logging synchronous

no login

!

scheduler allocate 20000 1000

end

----------------------------------------------------------------------------------------------------------------------------------------

Branch2#sh run

Building configuration...

Current configuration : 5789 bytes

!

! No configuration change since last restart

!

version 12.4

no service pad

no service timestamps debug uptime

no service timestamps log uptime

no service password-encryption

!

hostname Branch2

!

boot-start-marker

boot system flash:c2800nm-advipservicesk9-mz.124-24.T7.bin

boot system flash:

boot-end-marker

!

card type e1 0 0

logging message-counter syslog

!

no aaa new-model

clock timezone CEST 1

clock summer-time CEDT recurring

network-clock-participate wic 0

no network-clock-participate aim 0

!

dot11 syslog

ip source-route

!

!

ip cef

!

!

no ip domain lookup

no ipv6 cef

!

multilink bundle-name authenticated

!

!

!

!

isdn switch-type primary-net5

!

!

!

voice service voip

no supplementary-service h225-notify cid-update

fax protocol cisco

!

!

!

voice class codec 1

codec preference 1 g711ulaw

codec preference 2 g711alaw

codec preference 3 g729r8

!

!

!

!

!

!

!

voice class custom-cptone JOIN-TONE

dualtone conference

  frequency 300 3600

  cadence 150 100 500

!

voice class custom-cptone LEAVE-TONE

dualtone conference

  frequency 300 3600

  cadence 500 100 150

!

!

!

!

!

!

!

!

voice translation-rule 1

rule 1 /^7033...$/ /020&/

!

voice translation-rule 10

rule 1 /^0/ /0&/

!

voice translation-rule 200

rule 1 /^206501...$/ /1&/

!

!

voice translation-profile 7DigitDNIS-to-10Digit

translate called 1

!        

voice translation-profile Prefix0_InFrom_CUCM

translate called 10

!

voice translation-profile Prefix1-toCorpHQ-ANI

translate calling 200

!

!

voice-card 0

dsp services dspfarm

!

!

!

!

!

archive

log config

  hidekeys

!

!

!

!

!

controller E1 0/0/0

pri-group timeslots 1-3,16

description == Voice Circuit to PSTN

!

controller E1 0/0/1

!

!

!

!

!

interface Loopback0

ip address 177.1.254.3 255.255.255.255

h323-gateway voip bind srcaddr 177.1.254.3

!

interface FastEthernet0/0

no ip address

duplex auto

speed auto

!

interface FastEthernet0/0.11

encapsulation dot1Q 11

ip address 177.3.11.1 255.255.255.0

ip helper-address 177.1.10.10

!        

interface FastEthernet0/0.12

encapsulation dot1Q 12

ip address 177.3.12.1 255.255.255.0

!

interface FastEthernet0/1

no ip address

shutdown

duplex auto

speed auto

!

interface Serial0/0/0:15

no ip address

encapsulation hdlc

isdn switch-type primary-net5

isdn incoming-voice voice

isdn bchan-number-order ascending

no cdp enable

!

interface Serial0/1/0

description == Frame-Relay Circuit to WAN

no ip address

encapsulation frame-relay

fair-queue 64 256 37

cdp enable

no frame-relay inverse-arp

frame-relay lmi-type ansi

ip rsvp bandwidth

!

interface Serial0/1/0.1 point-to-point

description == FR To HQ

ip address 177.0.201.2 255.255.255.0

snmp trap link-status

frame-relay interface-dlci 102  

ip rsvp bandwidth 136

!

interface Serial0/1/1

no ip address

shutdown

clock rate 2000000

!

interface Service-Engine1/0

no ip address

shutdown

!

router ospf 1

log-adjacency-changes

network 0.0.0.0 255.255.255.255 area 0

!

ip forward-protocol nd

ip http server

ip http authentication local

no ip http secure-server

ip http path flash:

!

!

!

!

!

!

!

!

!

control-plane

!

!

!

voice-port 0/0/0:15

translation-profile incoming 7DigitDNIS-to-10Digit

!        

ccm-manager music-on-hold

!

!

sccp local Loopback0

sccp ccm 177.1.10.20 identifier 2 priority 2 version 5.0.1

sccp ccm 177.1.10.10 identifier 1 priority 1 version 5.0.1

sccp ccm 177.1.254.3 identifier 3 priority 3 version 5.0.1

sccp

!

sccp ccm group 1

bind interface Loopback0

associate ccm 2 priority 1

associate ccm 1 priority 2

associate ccm 3 priority 3

associate profile 4 register Br2-HW-Conf

associate profile 3 register Br2-HW-Xcode

associate profile 2 register Br2-711-MTP

associate profile 1 register Br2-729-MTP

!

dspfarm profile 3 transcode 

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

codec g729r8

codec g729br8

maximum sessions 2

associate application SCCP

!

dspfarm profile 4 conference 

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

codec g729r8

codec g729br8

maximum sessions 1

conference-join custom-cptone JOIN-TONE

conference-leave custom-cptone LEAVE-TONE

associate application SCCP

!

dspfarm profile 1 mtp 

codec g729ar8

codec g729r8

rsvp

maximum sessions software 10

associate application SCCP

!

dspfarm profile 2 mtp 

codec g711ulaw

rsvp

maximum sessions software 10

associate application SCCP

!

!

dial-peer voice 1 pots

incoming called-number .

direct-inward-dial

!

dial-peer voice 10 pots

destination-pattern 112

no digit-strip

port 0/0/0:15

!

dial-peer voice 11 pots

destination-pattern 00[1-9]T

port 0/0/0:15

prefix 0

!        

dial-peer voice 12 pots

translation-profile outgoing Prefix1-toCorpHQ-ANI

destination-pattern 000T

port 0/0/0:15

prefix 00

!

dial-peer voice 100 voip

description == Inbound/Outbound H323 PSTN GW From/To GK and CUCM Pub

translation-profile incoming Prefix0_InFrom_CUCM

destination-pattern 0207033...$

voice-class codec 1

session target ipv4:177.1.10.10

incoming called-number .

ip qos dscp cs3 signaling

!

dial-peer voice 101 voip

description == Outbound H323 PSTN GW To CUCM Sub

destination-pattern 0207033...$

voice-class codec 1

session target ipv4:177.1.10.20

ip qos dscp cs3 signaling

!

!        

dial-peer hunt 1

!

!

telephony-service

max-ephones 1

max-dn 1

ip source-address 177.1.254.3 port 2000

max-conferences 8 gain -6

moh test.au

multicast moh 239.2.1.1 port 16384 route 177.1.254.3 177.3.11.1

transfer-system full-consult

create cnf-files version-stamp 7960 Sep 13 2013 18:55:27

!

!

line con 0

exec-timeout 0 0

line aux 0

line 66

no activation-character

no exec

transport preferred none

transport input all

transport output pad telnet rlogin lapb-ta mop udptn v120 ssh

line vty 0 4

login

!

scheduler allocate 20000 1000

ntp source Loopback0

ntp update-calendar

ntp server 177.1.254.1

end