03-03-2014 11:48 AM - edited 03-16-2019 09:59 PM
I am trying to send caller id info from CUCM to ITSP SIP trunk.
I have a CUBE between ITSP and CUCM
In the SIP messages my caller id info is showing in the FROM and P-ASSERTED fileds
However this ITSP requires me to use the DIVERSION field.
When i do my Debugs ccsip i dont even see the DIVERSION field.
How can we populate this field to be the same then my FROM or P-ASSERTED field ?
I do not want a static DIVERSION field
The DIVERSION would have to be dynamic like the FROM or P-ASSERTED fields
Thank you for any insight
Below part of my debug and my only SIP profile and my only dial peer to ITSP
**************************************************
!
voice class sip-profiles 416
request INVITE sip-header P-Asserted-Identity modify ">" ";user=phone>"
request INVITE sip-header Diversion modify "@.*>" "@siptrunking.bell.ca;user=phone>"
request INVITE sip-header From modify ">" ";user=phone>"
request INVITE sip-header SIP-Req-URI modify "172.99.99.99" "siptrunking.bell.ca"
request INVITE sip-header Contact modify "@" ";tgrp=tor_01_416XXXXXXX;trunk-context=siptrunking.bell.ca@"
!
**********************************************************
!
dial-peer voice 120 voip
description outgoing leg to SIP trk using trunk 416
translation-profile outgoing remove9
destination-pattern .T
session protocol sipv2
session target ipv4:172.X.X.X
voice-class codec 1
voice-class sip profiles 416
dtmf-relay rtp-nte
ip qos dscp cs5 signaling
no vad
!
**************************************************************
*Mar 3 19:12:00.817: //129882/FF4D14000000/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:41655512346@siptrunking.bell.ca:6179 SIP/2.0
Via: SIP/2.0/UDP 172.99.99.99:6179;branch=z9hG4bK10DC150A
From: "Jon Do" <sip:4161112222@cube.enterprise.com;user=phone>;tag=63111EB4-2317
To: <sip:4163334444@172.33.22.11>
Date: Mon, 03 Mar 2014 19:12:00 GMT
Call-ID: 187770F2-A23E1113-8300A51A-DECF6548@cube.enterprise.com
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 4285549972-0000065536-0009000027-0141118188
User-Agent: Cisco-SIPGateway/IOS-15.2.4.M4
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 102 INVITE
Timestamp: 1393553920
Contact: <sip:5142225555;tgrp=tor_01_4165145232;trunk-context=siptrunking.bell.ca@172.88.99.99:6179>
Expires: 60
Allow-Events: telephone-event
Authorization: Digest username="xxxxx...
Max-Forwards: 68
Session-Expires: 1800
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 250
03-03-2014 09:28 PM
Have you enabled "Redirecting Diversion Header Delivery - Outbound" on the sip trunk?
03-04-2014 06:54 AM
Yeah i did but it on Outbound, its one of the first thing i checked.
I was thinking theres maybe some other place, some other setting to enable Diversion field
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