06-28-2023 04:30 AM
Hi All, Trying to understand provisioning and DPG config. Basically what I want to do is to use DPG's to send calls to a specific outbound dial-peer but use the inbound VIA field (IP address) to use the DPG config. Does anyone have any sample configs that I can use? I have had a look but I'm just not understanding the docs.
Thanks
Solved! Go to Solution.
06-28-2023 06:27 AM - edited 06-28-2023 06:53 AM
This is an example of a configuration that should fit what you ask about.
voice class uri SME sip
host ipv4:<SME CM 1 IP>
host ipv4:<SME CM 2 IP>
!
voice class dpg 1
dial-peer 401
!
dial-peer voice 1 voip
description Incoming Dial-Peer from SME
translation-profile incoming To_Webex_IN
session protocol sipv2
session transport udp
destination dpg 1
incoming uri via SME
voice-class codec 4
voice-class sip bind control source-interface Port-channel32
voice-class sip bind media source-interface Port-channel32
dtmf-relay rtp-nte sip-kpml
no vad
!
dial-peer voice 401 voip
description Outbound Dial-Peer for calls to Webex CME
session protocol sipv2
session target dns:eccce.emea.pub.webex.com
session transport udp
destination e164-pattern-map 4
voice-class codec 4
voice-class sip early-offer forced
voice-class sip options-keepalive up-interval 15 down-interval 5
voice-class sip bind control source-interface Loopback0
voice-class sip bind media source-interface Loopback0
dtmf-relay rtp-nte
no vad
06-28-2023 06:27 AM - edited 06-28-2023 06:53 AM
This is an example of a configuration that should fit what you ask about.
voice class uri SME sip
host ipv4:<SME CM 1 IP>
host ipv4:<SME CM 2 IP>
!
voice class dpg 1
dial-peer 401
!
dial-peer voice 1 voip
description Incoming Dial-Peer from SME
translation-profile incoming To_Webex_IN
session protocol sipv2
session transport udp
destination dpg 1
incoming uri via SME
voice-class codec 4
voice-class sip bind control source-interface Port-channel32
voice-class sip bind media source-interface Port-channel32
dtmf-relay rtp-nte sip-kpml
no vad
!
dial-peer voice 401 voip
description Outbound Dial-Peer for calls to Webex CME
session protocol sipv2
session target dns:eccce.emea.pub.webex.com
session transport udp
destination e164-pattern-map 4
voice-class codec 4
voice-class sip early-offer forced
voice-class sip options-keepalive up-interval 15 down-interval 5
voice-class sip bind control source-interface Loopback0
voice-class sip bind media source-interface Loopback0
dtmf-relay rtp-nte
no vad
06-28-2023 06:46 AM
That looks spot on - many thanks
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