cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

CUCM call forward to PSTN issue - Diversion field contains always line number not external phone number

385
Views
0
Helpful
3
Comments

Question

Call Flow :

PSTN (066222222) calls CUCM (055711711) -> internal line number 711711.
line 711711 has a CallFwdAll configured to PSTN (047411111)
line 711711 has an External Phone Number Mask configured 055711711

Behaviour :

On the Cisco Cube to the CUCM
Sent:
INVITE sip:055711711@172.16.36.12 SIP/2.0
Via: SIP/2.0/UDP 172.16.36.11:5060;branch=z9hG4bK1101F013D2
From: <sip:066222222@172.16.36.11>;tag=F2211D5E-1699
To: <sip:055711711@172.16.36.12>
P-Asserted-Identity: <sip:066222222@172.16.36.11>


From the CUCM to the Cisco Cube
Received:
INVITE sip:0474111111@172.16.36.11:5060 SIP/2.0
From: <sip:066222222@172.16.36.12>;tag=572691~5b05ad4d-fea7-417e-b8a9-04dd596f3b5b-41332605
To: <sip:0474111111@172.16.36.11>
Diversion: "test" <sip:711711@172.16.36.12>;reason=unconditional;privacy=off;screen=yes
P-Asserted-Identity: <sip:066222222@172.16.36.12>

 

 

We see that the CUCM sends the  internal phone number in  the  diversion Header.

-> Diversion: "test" <sip:711711@172.16.36.12>;reason=unconditional;privacy=off;screen=yes

 

What we would like to  have is  the  following :

-> Diversion: "test" <sip:055711711@172.16.36.12>;reason=unconditional;privacy=off;screen=yes

 

where the 055711711 is the content of the External Phone number mask

 

Working on the  cube and modifing the  711711 into  055711711 whith  SIP manipulation is complicated  due to the DN complexity  for the customers.

 

Some discussion talk about  configuring a redirect partition and CSS and apply a transformation calling pattern,  then use this CSS in the 

Redirecting Diversion Header Delivery - Outbound

 

Redirecting Party Transformation CSS

 

but ... it doesn't seem to  work and SDL trace doesn't tell me why ..

 

Thanks for your hints/help

 

Regards

 

Frederic

 

Comments
Beginner

You need to apply the redirecting CSS on the SIP trunk - this CSS contains a partition and this partition should be assigned to a calling party transformation mask 711XXX and in the transformation add prefix 055.

 

OR

on the incoming dial peer from CallManager apply the below translation:

 

voice translation-rule 9999999
rule 1 /^\(711...\)/ /055\1/

 

voice translation-profile INC-CUCM-CFWD
translate redirect-called 1

 

This will match on the diversion header and change all number starting with 711XXX to 055711XXX

 

HTH

Ismail Moaufy

Enthusiast

Hi Ismail,

 

Are you ensure that point   should be translate redirect-called  9999999 not translate redirect-called  1 right ?

 

voice translation-rule 9999999
rule 1 /^\(711...\)/ /055\1/

 

voice translation-profile INC-CUCM-CFWD
translate redirect-called  9999999

 

 

 

Thanks

Beginner

yes you are correct 

Content for Community-Ad