cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2655
Views
10
Helpful
3
Replies

CUBE Changing Diversion Header

ailhan001
Level 1
Level 1

Hello,

I want to change Diversion header from: 6090........ to: 02123766100

 

This is my rule:

voice class sip-profiles 100

request INVITE sip-header Diversion modify "<sip:6090........@>" "<sip:02123766100@>"

 

I also added this profile under dial peer:

dial-peer voice 11 voip
description to To_TT_Sehirici
destination-pattern 0..........
progress_ind setup enable 3
rtp payload-type cisco-codec-fax-ack 120
rtp payload-type nte 97
session protocol sipv2
session target ipv4:XXXXXXX
session transport udp
voice-class codec 1
voice-class sip profiles 100
voice-class sip options-keepalive up-interval 180 down-interval 60 retry 3
voice-class sip bind control source-interface GigabitEthernet0/0/0.200
voice-class sip bind media source-interface GigabitEthernet0/0/0.200
dtmf-relay rtp-nte
no vad
!

 

But diversion header doesnt change. I guess my rule is wrong. Can you help me to fix that?

1 Accepted Solution

Accepted Solutions

Try this.

voice class sip-profiles 100

request INVITE sip-header Diversion modify ”Diversion:(.*)(sip:)(6090........)(@.*>)” ”Diversion: \202123766100\4”

 



Response Signature


View solution in original post

3 Replies 3

Try this.

voice class sip-profiles 100

request INVITE sip-header Diversion modify ”Diversion:(.*)(sip:)(6090........)(@.*>)” ”Diversion: \202123766100\4”

 



Response Signature


Oruc Akpinar
Level 1
Level 1
Hello

Usually, sip profile configuration doesn't work. You can simply use translation-rule, translation-profile, and CSS/PT

voice translation-rule 1919
rule 1 /^\(2...\)/ /0212111\1/
!
voice translation-profile 1919
translate redirect-target 1919
translate redirect-called 1919
!
dial-peer voice 19 voip
description OUTBOUND DIALPEER ****
translation-profile outgoing 1919

after those configurations, you need to add called transformation with the new partition/CSS on CUCM. and after that, select this CSS as Call Forward All CSS. at the same time, you should select the same CSS on the CUBE TRUNK.
Has been forwarded calls should go through a new Route Pattern.

Create those;
- CFDALL-PT
- CFDALL-CSS
- CFDALL-RP > 0.0! > Calling Party Transform Mask > XXXXXXXXXXX (or you can use phone number mask option)
- Select this CSS on CUBE TRUNK and check the box Redirecting Diversion Header Delivery - Outbound
- Select this CSS on the Phone associated Line as Call Forward All option

The main reason behind this you need to separate Forwarded Calls and Regular Calls.

Regards.


@Oruc Akpinar wrote:
Hello

Usually, sip profile configuration doesn't work.

It’s a matter of correct definition of the sip profile. If it’s correctly setup it works.



Response Signature