Help with dial-peer setup

Answered Question

dial-peer voice 10 voip
description **International Outgoing Call to SIP Trunk**
translation-profile outgoing PSTN_Outgoing
destination-pattern .T
voice-class codec 711
session protocol sipv2
session target ipv4:66.60.xx.xx

dtmf-relay rtp-nte
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw
no vad
!
dial-peer voice 1 pots
destination-pattern 214638....
direct-inward-dial
port 1/0:0
!
dial-peer voice 2 pots
destination-pattern 214630....
direct-inward-dial
port 1/0:0
!

Is the existing config.  Well actually there are a couple more dial peers but with specific #'s on them, dial-peer voice 3 and 4 pots

The isue is they want to call a 214638xxxx Number that isn't on their PBX, so when they try to call it, it makes the dial-peer voice 1 pots

Where in the config would I put that specific number to have it work?  I was thinking

dial-peer voice 11 voip

destination-pattern 214638XXXX

Is that correct?  Would I need to delete all dial-peers and re-add them with 11 in the correct order?

Thanks,

Tim

Message was edited by: TIMOTHY GRIMES

I have this problem too.
0 votes
Correct Answer by Chris Deren about 6 years 10 months ago

Correct, simply add a dial peer with closer match and it will be used.

HTH,

Chris

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Chris Deren Wed, 01/13/2010 - 07:52

Correct, simply add a dial peer with closer match and it will be used.

HTH,

Chris

Actions

This Discussion