[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1114
  • Last Modified:

Cisco Router Dial Peer for VoIP

below is my original config for my dial peer:

dial-peer voice 100 voip
 description Outbound VoIP to SBC
 destination-pattern .T
 rtp payload-type nse 105
 rtp payload-type nte 100
 voice-class codec 1
 session protocol sipv2
 session target ipv4:204.245.30.165
 dtmf-relay rtp-nte
 no vad

I added the following command:

gm11502(config)#dial-peer voice 100 voip
gm11502(config-dial-peer)#clid network-number 3306739515
gm11502(config-dial-peer)#

now when I make an outbound call the caller ID is showing the correct 3306739515, but it is also showing 3306739515 on incoming calls as well. Why is it showing this on incoming calls? It should be showing 3306739515 for outgoing calls and as far as incoming is concerned it should display the number of the caller.
0
dtadmin
Asked:
dtadmin
1 Solution
 
GJHopkinsCommented:
All calls must match an inbound and an outbound dial peer. If you don't have a specific dial peer for inbound call legs then this one will be matched as its the best destination pattern for the inbound called number

try

dial-peer voice 101 voip
 description Inbound VoIP from SBC
incoming called-number .
 rtp payload-type nse 105
 rtp payload-type nte 100
 voice-class codec 1
 session protocol sipv2
 session target ipv4:204.245.30.165
 dtmf-relay rtp-nte
 no vad
0
 
hus1984Commented:
it is recommended to use incoming dial-peer for voip calls and pots calls
so make it a habit to configure the following

dial-peer voice 1 pots
incoming called-number .
direct-inward-dial

dial-peer voice 2 voip
incoming called-number .
voice-class codec 1

if you are using sip add
session protocol sipv2

thanks

Hussam
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now