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

Dial peer order of operation

Ahmed Awida
Level 1
Level 1

Hi Guys,

I have Vg224 using sccp registered to cucm ,in srst mode i had to create dial-peer with destination pattern to match the number of the fxs port .

Now after cucm returns online the router uses the dial peers with less preference over the dial peer that under stcapp.

when using debug voip dialpeer this obviously show that it matches the less preferenced dial-peer and i can understand the reason that it matched the ANI with destination pattern,but i can't use the in coming called number while the dialpeer is under the stcapp so how to overcome this behaviour ? i changed the dial-peer hunt to use preference first but as i understand if the incoming dialpeer doesnot send the call to call manager then it doesnot matter.

Here is a sample config:

dial-peer voice 20 pots

preference 1

service stcapp

fax rate disable

port 2/0

dial-peer voice 120 pots

description USED IN SRST

preference 2

destination-pattern 101

port 2/0

How to make the calls go to cucm first ?

Help plz.

13 Replies 13

Chris Deren
Hall of Fame
Hall of Fame

VG224 SCCP ports can register with SRST GW and there should be no need to add any specific dial-peers, they will work fine with them if your DP assigned to the ports has proper SRST reference and if the SCCP group on the VG224 lists the SRST GW as the last CUCM.

HTH,

Chris

Hi Chris,

what do you mean by ( DP assigned to the ports has proper SRST reference ),how to add the srst reference under the dial peer assigned to the ports ?

(and if the SCCP group on the VG224 lists the SRST GW as the last CUCM.)

i have this configured.

You do this in CUCM, the device pool assigned to the SCCP ports on CUCM have a device pool with SRST reference assigned to it. Then as long as the SCCP group on the VG224 references the SRST as CUCM the phones register natively with SRST and you have no need for any additional dial-peers, etc. 

HTH,

Chris

i have this in place too.ok i will remove the additional dial peers and update you now.

Now i receive a fast busy tone on the fxs ports after removing the dial peers .

Here are the config:

stcapp ccm-group 1

stcapp

!

!

stcapp feature access-code

prefix #

!

voice-card 0

!

!

!

voice service voip

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

modem passthrough nse codec g711alaw

!

!

!

!

!

!

!

!

!

!

!

application

global

  service alternate Default

!

not all the ports next :

interface FastEthernet0/0

ip address 192.168.91.210 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

no ip address

shutdown

duplex auto

speed auto

!

ip default-gateway 192.168.91.251

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.91.251

!

ip http server

!

!

!

control-plane

!

!

voice-port 2/0

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 101

caller-id enable

!

voice-port 2/1

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 102

caller-id enable

!

voice-port 2/2

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 103

caller-id enable

!

sccp local FastEthernet0/0

sccp ccm 192.168.91.7 identifier 2 priority 2 version 4.1

sccp ccm 192.168.91.8 identifier 1 priority 1 version 4.1

sccp ccm 192.168.91.251 identifier 3 priority 3 version 4.1

sccp

!

sccp ccm group 1

associate ccm 1 priority 1

associate ccm 2 priority 2

associate ccm 3 priority 3

switchback method graceful

!

!

dial-peer voice 20 pots

service stcapp

fax rate disable

port 2/0

!

dial-peer voice 21 pots

service stcapp

fax rate disable

port 2/1

!

dial-peer voice 22 pots

service stcapp

fax rate disable

port 2/2

!

dial-peer voice 23 pots

service stcapp

fax rate disable

port 2/3

!

dial-peer voice 24 pots

service stcapp

fax rate disable

port 2/4

!

dial-peer voice 25 pots

service stcapp

fax rate disable

port 2/5

!

dial-peer voice 26 pots

service stcapp

fax rate disable

port 2/6

!

dial-peer voice 27 pots

preference 1

service stcapp

fax rate disable

port 2/7

!

dial-peer voice 28 pots

service stcapp

fax rate disable

port 2/8

!

dial-peer voice 29 pots

service stcapp

fax rate disable

port 2/9

!

dial-peer voice 210 pots

service stcapp

fax rate disable

port 2/10

!

dial-peer voice 212 pots

service stcapp

fax rate disable

port 2/12

!

dial-peer voice 213 pots

service stcapp

fax rate disable

port 2/13

!

dial-peer voice 214 pots

service stcapp

fax rate disable

port 2/14

!

dial-peer voice 215 pots

service stcapp

fax rate disable

port 2/15

!

dial-peer voice 216 pots

service stcapp

fax rate disable

port 2/16

!

dial-peer voice 217 pots

service stcapp

fax rate disable

port 2/17

!

dial-peer voice 218 pots

service stcapp

fax rate disable

port 2/18

!

dial-peer voice 219 pots

service stcapp

fax rate disable

port 2/19

!

dial-peer voice 220 pots

service stcapp

fax rate disable

port 2/20

!

dial-peer voice 221 pots

service stcapp

fax rate disable

port 2/21

!

dial-peer voice 88888 voip

destination-pattern 9T

session target ipv4:192.168.91.251

!

VG224#show dial-peer voice summary

dial-peer hunt 0

             AD                                    PRE PASS                OUT

TAG    TYPE  MIN  OPER PREFIX    DEST-PATTERN      FER THRU SESS-TARGET    STAT PORT

20     pots  up   up                                0                      down 2/0

21     pots  up   up                                0                      down 2/1

22     pots  up   up                                0                      down 2/2

23     pots  up   up                                0                      down 2/3

24     pots  up   up                                0                      down 2/4

25     pots  up   up                                0                      down 2/5

26     pots  up   up                                0                      down 2/6

27     pots  up   up                                1                      down 2/7

28     pots  up   up                                0                      down 2/8

29     pots  up   up                                0                      down 2/9

210    pots  up   up                                0                      down 2/10

212    pots  up   up                                0                      down 2/12

213    pots  up   up                                0                      down 2/13

214    pots  up   up                                0                      down 2/14

215    pots  up   up                                0                      down 2/15

216    pots  up   up                                0                      down 2/16

217    pots  up   up                                0                      down 2/17

218    pots  up   up                                0                      down 2/18

219    pots  up   up                                0                      down 2/19

220    pots  up   up                                0                      down 2/20

221    pots  up   up                                0                      down 2/21

222    pots  up   up                                0                      down 2/22

223    pots  up   up                                0                      down 2/23

211    pots  up   up                                0                      down 2/11

88888  voip  up   up             9T                 0  syst ipv4:192.168.91.251

VG224#

SCCP Admin State: UP

Gateway IP Address: 192.168.91.210, Port Number: 2000

IP Precedence: 5

User Masked Codec list: None

Call Manager: 192.168.91.7, Port Number: 2000

                Priority: 2, Version: 4.1, Identifier: 2

Call Manager: 192.168.91.8, Port Number: 2000

                Priority: 1, Version: 4.1, Identifier: 1

Call Manager: 192.168.91.251, Port Number: 2000

                Priority: 3, Version: 4.1, Identifier: 3

Alg_Phone Oper State: ACTIVE - Cause Code: NONE

Active Call Manager: 192.168.91.251, Port Number: 2000

TCP Link Status: CONNECTED, Device Name: AN940F4FF5B8400

Reported Max Streams: 1, Reported Max OOS Streams: 0

Supported Codec: g711ulaw, Maximum Packetization Period: 20

Supported Codec: g711alaw, Maximum Packetization Period: 20

Supported Codec: g729ar8, Maximum Packetization Period: 220

Supported Codec: g729br8, Maximum Packetization Period: 220

Supported Codec: g729r8, Maximum Packetization Period: 220

Supported Codec: NSE VBD, Maximum Packetization Period: 20

VG224#show stcapp dev

VG224#show stcapp device s

VG224#show stcapp device summary

Total Devices:           24

Total Calls in Progress: 0

Total Call Legs in Use:  0

Port       Device          Device   Call          Dev  Directory   Dev

Identifier Name            State    State         Type Number      Cntl

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

2/0        AN940F4FF5B8400 INIT     UNREGISTERED   ALG  101        UNKN

2/1        AN940F4FF5B8401 INIT     UNREGISTERED   ALG  102        UNKN

2/2        AN940F4FF5B8402 INIT     UNREGISTERED   ALG  103        UNKN

2/3        AN940F4FF5B8403 INIT     UNREGISTERED   ALG  104        UNKN

2/4        AN940F4FF5B8404 INIT     UNREGISTERED   ALG  105        UNKN

2/5        AN940F4FF5B8405 INIT     UNREGISTERED   ALG  109        UNKN

2/6        AN940F4FF5B8406 INIT     UNREGISTERED   ALG  110        UNKN

2/7        AN940F4FF5B8407 INIT     UNREGISTERED   ALG  111        UNKN

2/8        AN940F4FF5B8408 INIT     UNREGISTERED   ALG  112        UNKN

2/9        AN940F4FF5B8409 INIT     UNREGISTERED   ALG  113        UNKN

2/10       AN940F4FF5B840A INIT     UNREGISTERED   ALG  114        UNKN

2/11       AN940F4FF5B840B INIT     UNREGISTERED   ALG  115        UNKN

2/12       AN940F4FF5B840C INIT     UNREGISTERED   ALG  118        UNKN

2/13       AN940F4FF5B840D INIT     UNREGISTERED   ALG  119        UNKN

2/14       AN940F4FF5B840E INIT     UNREGISTERED   ALG  120        UNKN

2/15       AN940F4FF5B840F INIT     UNREGISTERED   ALG  121        UNKN

2/16       AN940F4FF5B8410 INIT     UNREGISTERED   ALG  122        UNKN

2/17       AN940F4FF5B8411 INIT     UNREGISTERED   ALG  123        UNKN

2/18       AN940F4FF5B8412 INIT     UNREGISTERED   ALG  128        UNKN

2/19       AN940F4FF5B8413 INIT     UNREGISTERED   ALG  132        UNKN

2/20       AN940F4FF5B8414 INIT     UNREGISTERED   ALG  133        UNKN

2/21       AN940F4FF5B8415 INIT     UNREGISTERED   ALG  134        UNKN

2/22       AN940F4FF5B8416 INIT     UNREGISTERED   ALG  135        UNKN

2/23       AN940F4FF5B8417 INIT     UNREGISTERED   ALG  136        UNKN

Are the ports registered with the SRST GW?

Chris

before i deleted the dialpeers they was getting dial tone but also after using the station-id number command under the voice port

On the srst gateway.

2901#show ephone summary

hairpin_block:

ephone-1[0] Mac:0004.F2F5.0C29 TCP socket:[1] activeLine:0 whisperLine:0 REGISTERED

mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0

IP:192.168.92.14 * 7937  keepalive 52   music 0  1:1  CM Fallback

ephone-2[1] Mac:6886.A7C5.6E09 TCP socket:[3] activeLine:0 whisperLine:0 REGISTERED

mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0

IP:192.168.92.18 * 7975  keepalive 43   music 0  1:2  CM Fallback

ephone-3[2] Mac:F029.29E3.A54A TCP socket:[2] activeLine:0 whisperLine:0 REGISTERED

mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0

IP:192.168.92.16 * 7962  keepalive 43   music 0  1:3  CM Fallback

ephone-4[3] Mac:F029.29E3.31E1 TCP socket:[28] activeLine:0 whisperLine:0 REGISTERED

mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0

IP:192.168.92.17 * 7962  keepalive 40   music 0  1:4  CM Fallback

ephone-5[4] Mac:40F4.FF5B.8400 TCP socket:[4] activeLine:0 whisperLine:0 REGISTERED

mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0

IP:192.168.91.210 * SCCP Gateway (AN)  keepalive 42   music 0

port 2/0/0

ephone-6[5] Mac:40F4.FF5B.8401 TCP socket:[5] activeLine:0 whisperLine:0 REGISTERED

mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0

IP:192.168.91.210 * SCCP Gateway (AN)  keepalive 42   music 0

port 2/0/1

ephone-7[6] Mac:40F4.FF5B.8402 TCP socket:[6] activeLine:0 whisperLine:0 REGISTERED

mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0

IP:192.168.91.210 * SCCP Gateway (AN)  keepalive 42   music 0

port 2/0/2

ephone-8[7] Mac:40F4.FF5B.8403 TCP socket:[7] activeLine:0 whisperLine:0 REGISTERED

mediaActive:0 whisper_mediaActive:0 startMedia:0 offhook:0 ringing:0 reset:0 reset_sent:0 debug:0

IP:192.168.91.210 * SCCP Gateway (AN)  keepalive 42   music 0

port 2/0/3

Your PSTN GW should have the normal dial-peers, are you dialing proper digits?

Can you post "debug voice dialpeer" from your PSTN GW and provide the config of that GW.

Chris

Chris,i get fast busy signal when the analog phone goes off hook.the debug voip dial peer shows nothing on the gateway

and on the vg224 i get the match of the incoming dialpeer but further digits are not processed cause of the fast busy directly after phone goes off hook.

Can you post your current VG224 config?

ip subnet-zero

no ip dhcp use vrf connected

!

!

!

stcapp ccm-group 1

stcapp

!

!

stcapp feature access-code

prefix #

!

voice-card 0

!

!

!

voice service voip

allow-connections h323 to h323

allow-connections h323 to sip

allow-connections sip to h323

allow-connections sip to sip

modem passthrough nse codec g711alaw

!

!

!

!

!

!

!

!

!

!

!

application

global

  service alternate Default

!

!

username admin privilege 15 secret 5 XXXXXX

archive

log config

  logging enable

  notify syslog

  hidekeys

interface FastEthernet0/0

ip address 192.168.91.210 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

no ip address

shutdown

duplex auto

speed auto

!

ip default-gateway 192.168.91.251

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.91.251

!

ip http server

!

!

!

control-plane

!

!

voice-port 2/0

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 101

caller-id enable

!

voice-port 2/1

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 102

caller-id enable

!

voice-port 2/2

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 103

caller-id enable

!

voice-port 2/3

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 104

caller-id enable

!

voice-port 2/4

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 105

caller-id enable

!

voice-port 2/5

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 109

caller-id enable

!

voice-port 2/6

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 110

caller-id enable

!

voice-port 2/7

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 111

caller-id enable

!

voice-port 2/8

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 112

caller-id enable

!

voice-port 2/9

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 113

caller-id enable

!

voice-port 2/10

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 114

caller-id enable

!

voice-port 2/11

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 115

caller-id enable

!

voice-port 2/12

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 118

caller-id enable

!

voice-port 2/13

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 119

caller-id enable

!

voice-port 2/14

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 120

caller-id enable

!

voice-port 2/15

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 121

caller-id enable

!

voice-port 2/16

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 122

caller-id enable

!

voice-port 2/17

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 123

caller-id enable

!

voice-port 2/18

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 128

caller-id enable

!

voice-port 2/19

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 132

caller-id enable

!

voice-port 2/20

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 133

caller-id enable

!

voice-port 2/21

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 134

caller-id enable

!

voice-port 2/22

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 135

caller-id enable

!

voice-port 2/23

cptone RU

timeouts initial 15

timeouts interdigit 5

timeouts call-disconnect 0

timeouts ringing infinity

station-id number 136

caller-id enable

!

!

!

sccp local FastEthernet0/0

sccp ccm 192.168.91.7 identifier 2 priority 2 version 4.1

sccp ccm 192.168.91.8 identifier 1 priority 1 version 4.1

sccp ccm 192.168.91.251 identifier 3 priority 3 version 4.1

sccp

!

sccp ccm group 1

associate ccm 1 priority 1

associate ccm 2 priority 2

associate ccm 3 priority 3

switchback method graceful

!

!

dial-peer voice 20 pots

service stcapp

fax rate disable

port 2/0

!

dial-peer voice 21 pots

service stcapp

fax rate disable

port 2/1

!

dial-peer voice 22 pots

service stcapp

fax rate disable

port 2/2

!

dial-peer voice 23 pots

service stcapp

fax rate disable

port 2/3

!

dial-peer voice 24 pots

service stcapp

fax rate disable

port 2/4

!

dial-peer voice 25 pots

service stcapp

fax rate disable

port 2/5

!

dial-peer voice 26 pots

service stcapp

fax rate disable

port 2/6

!

dial-peer voice 27 pots

preference 1

service stcapp

fax rate disable

port 2/7

!

dial-peer voice 28 pots

service stcapp

fax rate disable

port 2/8

!

dial-peer voice 29 pots

service stcapp

fax rate disable

port 2/9

!

dial-peer voice 210 pots

service stcapp

fax rate disable

port 2/10

!

dial-peer voice 212 pots

service stcapp

fax rate disable

port 2/12

!

dial-peer voice 213 pots

service stcapp

fax rate disable

port 2/13

!

dial-peer voice 214 pots

service stcapp

fax rate disable

port 2/14

!

dial-peer voice 215 pots

service stcapp

fax rate disable

port 2/15

!

dial-peer voice 216 pots

service stcapp

fax rate disable

port 2/16

!

dial-peer voice 217 pots

service stcapp

fax rate disable

port 2/17

!

dial-peer voice 218 pots

service stcapp

fax rate disable

port 2/18

!

dial-peer voice 219 pots

service stcapp

fax rate disable

port 2/19

!

dial-peer voice 220 pots

service stcapp

fax rate disable

port 2/20

!

dial-peer voice 221 pots

service stcapp

fax rate disable

port 2/21

!

dial-peer voice 222 pots

service stcapp

fax rate disable

port 2/22

!

dial-peer voice 223 pots

service stcapp

fax rate disable

port 2/23

!

dial-peer voice 211 pots

service stcapp

fax rate disable

port 2/11

!

dial-peer voice 88888 voip

destination-pattern 9T

session target ipv4:192.168.91.251

!

!

This last dialpeer is used in srst mode for sending the call to the srst router,before deleting the dialpeers that you asked me to delete i could make outbound calls but i couldn't call the ip phones interneally which were sharing the dn with the analog phones.

What is the 88888 for? Can you remove it and test again?

Chris

deleted it and also got fast busy signal,it was used in my old config as a dial peer that sends the external number to the srst router.

here is the debug voip dialpeer when i goes off hook:

*Mar  1 02:39:33.935: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=111, Called Number=, Voice-Interface=0x62F7C970,

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

   Peer Info Type=DIALPEER_INFO_SPEECH

*Mar  1 02:39:33.935: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=27