10-03-2013 06:49 AM - edited 03-16-2019 07:40 PM
I have created separate dial-peers for inbound and outbound calls on th same voice-port (FXS) and I am not sure why a particular dial-peer is being match on the inbound call. If you look at my configuration below, a call is coming in from port 0/2/0 and it is matching the 301 pots dial-peer instead of 401 pots dial-peer. I thought that if I configured one dial-peer with "incoming called number ." and one with "destination-pattern", the dial-peer with "incoming called-number ." would be matched first. Now if dial-peer 301 is entered into the configuration below dial-peer 401, dial-peer 401 is selected first but I am not sure why.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dial-peer voice 101 pots
description Incoming Calls Dial Peer
incoming called-number .
direct-inward-dial
port 0/1/0:23
!
dial-peer voice 201 pots
description Outgoing Calls Dial Peer
destination-pattern 9T
port 0/1/0:23
!
dial-peer voice 301 pots
description Outgoing Calls to FXS-01
destination-pattern 7607102824
port 0/2/0
!
dial-peer voice 401 pots
description Incoming Calls from FXS-01
translation-profile incoming INBOUND_FROM_FXS_TO_CUBE
incoming called-number .
port 0/2/0
!
dial-peer voice 402 pots
description Incoming Calls from FXS-02
translation-profile incoming INBOUND_FROM_FXS_TO_CUBE
incoming called-number .
port 0/2/1
!
dial-peer voice 501 voip
description Outgoing Analog Dial-Peer to CUBE01
translation-profile outgoing OUTBOUND_TO_VZBSBC01
preference 1
destination-pattern 0001T
session protocol sipv2
session target ipv4:XXX.XXX.XXX.XXX
voice-class codec 2
dtmf-relay h245-alphanumeric
fax-relay ecm disable
fax-relay sg3-to-g3
fax rate 14400
fax nsf 000000
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw
ip qos dscp cs5 media
no vad
!
dial-peer voice 502 voip
description Outgoing Analog Dial-Peer to CUBE02
translation-profile outgoing OUTBOUND_TO_VZBSBC01
preference 2
destination-pattern 0001T
session protocol sipv2
session target ipv4:XXX.XXX.XXX.XXX
voice-class codec 2
dtmf-relay h245-alphanumeric
fax-relay ecm disable
fax-relay sg3-to-g3
fax rate 14400
fax nsf 000000
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw
ip qos dscp cs5 media
no vad
!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Any advice is greatly appreciated!
Thanks,
Tom
10-07-2013 06:39 AM
Hi,
Below link with details the rules and priorities for dial-peer (inbound and outbound).
http://www.cisco.com/en/US/docs/ios/12_2/voice/configuration/guide/vvfpeers.html
Regards.
J Rosa.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide