Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| vendors:cisco:wxcc:local-gateway [2025/05/12 15:59] – created gerardorourke | vendors:cisco:wxcc:local-gateway [2025/05/13 14:12] (current) – gerardorourke | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Webex Calling - vCUBE Local Gateway | + | ====== Webex Calling - vCUBE Local Gateway |
| *Reference: https:// | *Reference: https:// | ||
| + | * Control Hub -> Calling -> Call Routing | ||
| + | |||
| + | ===== Registration Based CUBE ===== | ||
| ^ Trunk Info ^ Template Variable | ^ Trunk Info ^ Template Variable | ||
| - | | Webex Calling | ||
| | Line/ | | Line/ | ||
| | Line/Port without Domain | | Line/Port without Domain | ||
| Line 14: | Line 16: | ||
| + | ==== Sample Config ==== | ||
| + | Replace the variable above with the actual value for your Trunk | ||
| + | Also replace %WX-CUBE-INTERFACE% with the necessary CUBE interface - e.g. Loopback0 or GigabitEthernet1 etc. | ||
| + | |||
| + | |||
| + | < | ||
| + | ! | ||
| + | license boot level network-essentials addon dna-essentials | ||
| + | ! SAVE & RELOAD AFTER THIS COMMAND | ||
| + | ! | ||
| + | ip name-server vrf MGMT 1.1.1.1 1.0.0.1 | ||
| + | ip name-server 1.1.1.1 1.0.0.1 | ||
| + | ! | ||
| + | voice class uri 100 sip | ||
| + | | ||
| + | ! | ||
| + | key config-key password-encrypt < | ||
| + | password encryption aes | ||
| + | ! | ||
| + | crypto pki trustpoint EmptyTP | ||
| + | | ||
| + | ! | ||
| + | sip-ua | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | ip http client source-interface %WX-CUBE-INTERFACE% | ||
| + | crypto pki trustpool import clean url https:// | ||
| + | ! | ||
| + | voice service voip | ||
| + | ip address trusted list | ||
| + | ipv4 0.0.0.0 0.0.0.0 | ||
| + | mode border-element | ||
| + | ! SAVE & RELOAD AFTER THIS COMMAND | ||
| + | media statistics | ||
| + | media bulk-stats | ||
| + | | ||
| + | no supplementary-service sip refer | ||
| + | stun | ||
| + | stun flowdata agent-id 1 boot-count 4 | ||
| + | stun flowdata shared-secret 0 Password123$ | ||
| + | sip | ||
| + | asymmetric payload full | ||
| + | early-offer forced | ||
| + | ! | ||
| + | voice class srtp-crypto 100 | ||
| + | | ||
| + | ! | ||
| + | voice class codec 100 | ||
| + | codec preference 1 g711alaw | ||
| + | codec preference 2 g711ulaw | ||
| + | ! | ||
| + | voice class stun-usage 100 | ||
| + | stun usage firewall-traversal flowdata | ||
| + | stun usage ice lite | ||
| + | ! | ||
| + | voice class uri 100 sip | ||
| + | | ||
| + | ! | ||
| + | voice class sip-profiles 100 | ||
| + | rule 10 request ANY sip-header SIP-Req-URI modify " | ||
| + | rule 20 request ANY sip-header To modify "< | ||
| + | rule 30 request ANY sip-header From modify "< | ||
| + | rule 40 request ANY sip-header Contact modify "< | ||
| + | rule 50 response ANY sip-header To modify "< | ||
| + | rule 60 response ANY sip-header From modify "< | ||
| + | rule 70 response ANY sip-header Contact modify "< | ||
| + | rule 80 request ANY sip-header From modify ">" | ||
| + | rule 90 request ANY sip-header P-Asserted-Identity modify " | ||
| + | ! | ||
| + | voice class tenant 100 | ||
| + | registrar dns: | ||
| + | credentials number %WX-LINE-USER% username %WX-CALL-USER% password 0 %WX-CALL-PW% realm BroadWorks | ||
| + | authentication username %WX-CALL-USER% password 0 %WX-CALL-PW% realm BroadWorks | ||
| + | authentication username %WX-CALL-USER% password 0 %WX-CALL-PW% realm %WX-REGISTER-DOMAIN% | ||
| + | no remote-party-id | ||
| + | sip-server dns: | ||
| + | connection-reuse | ||
| + | srtp-crypto 100 | ||
| + | session transport tcp tls | ||
| + | no session refresh | ||
| + | url sips | ||
| + | error-passthru | ||
| + | rel1xx disable | ||
| + | asserted-id pai | ||
| + | bind control source-interface %WX-CUBE-INTERFACE% | ||
| + | bind media source-interface %WX-CUBE-INTERFACE% | ||
| + | no pass-thru content custom-sdp | ||
| + | sip-profiles 100 | ||
| + | outbound-proxy dns: | ||
| + | privacy-policy passthru | ||
| + | |||
| + | dial-peer voice 100 voip | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | no voice-class sip localhost | ||
| + | | ||
| + | srtp | ||
| + | no vad | ||
| + | |||
| + | </ | ||
| + | |||
| + | Once above config has been added - Check with : | ||
| + | < | ||
| + | show sip-ua register status | ||
| + | </ | ||
| + | to confirm if the SIP trunk has registered. | ||
| + | You can also refresh the trunk in control hub and confirm if the trunk is now " | ||
| + | |||
| + | The below config configures the "SIP PSTN Side" | ||
| + | * %PSTN-IP-ADDR% | ||
| + | * %PSTN-INTERFACE% | ||
| + | < | ||
| + | ! | ||
| + | voice class uri 200 sip | ||
| + | host ipv4: | ||
| + | ! | ||
| + | ! | ||
| + | dial-peer voice 200 voip | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | no vad | ||
| + | ! | ||
| + | voice class dpg 100 | ||
| + | | ||
| + | | ||
| + | voice class dpg 200 | ||
| + | | ||
| + | | ||
| + | ! | ||
| + | dial-peer voice 100 | ||
| + | | ||
| + | dial-peer voice 200 | ||
| + | | ||
| + | ! | ||
| + | </ | ||