Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SIP Profile not altering From in ccapi

I have applied a SIP Profile in the CUBE to modify the From Field to change Restricted to a physical number.  Callmanager is still seeing the call coming into it as Restricted and blocking the call. 

 

Need help determining why the SIP Profile is not changing the From Header into Callmanager.

 

074046: Oct  4 09:48:52.324 CDT: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

INVITE sip:9523453341@65.113.136.170:5060 SIP/2.0

Via: SIP/2.0/UDP 67.14.121.152:5060;branch=z9hG4bK0bB0ce407d94d8f5ccc

From: "Unavailable" <sip:Restricted@67.14.121.152:5060;isup-oli=0>;tag=gK0b68c3da

To: <sip:9523453341@65.113.136.170:5060>

Call-ID: 571149464_29286831@67.14.121.152

CSeq: 29266 INVITE

Max-Forwards: 69

Allow: INVITE,ACK,CANCEL,BYE,INFO,NOTIFY,PRACK,UPDATE,OPTIONS

Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay,  multipart/mixed

Contact: "Unavailable" <sip:Restricted@67.14.121.152:5060>

P-Asserted-Identity: "Unavailable" <sip:Restricted@67.14.121.152:5060>

Supported: 100rel

Content-Length:  305

Content-Disposition: session; handling=required

Content-Type: application/sdp

 

 

074047: Oct  4 09:48:52.328 CDT: //-1/EB92EE67BDC3/CCAPI/cc_api_display_ie_subfields:

   cc_api_call_setup_ind_common:

   cisco-username=Restricted

   ----- ccCallInfo IE subfields -----

   cisco-ani=Restricted

   cisco-anitype=0

   cisco-aniplan=0

   cisco-anipi=0

   cisco-anisi=0

   dest=9523453341

   cisco-desttype=0

   cisco-destplan=0

   cisco-rdie=FFFFFFFF

   cisco-rdn=

   cisco-rdntype=0

   cisco-rdnplan=0

   cisco-rdnpi=-1

   cisco-rdnsi=-1

   cisco-redirectreason=-1   fwd_final_type =0

   final_redirectNumber =

   hunt_group_timeout =0

 

Thank you for any assistance.

 

Becky

4 REPLIES
New Member

SIP Profile not altering From in ccapi

Hi Becky,

Can you post your CUBE configuration and a call flow explanation please?

Regards,

Sergio

New Member

SIP Profile not altering From in ccapi

SIP from Carrier

CUBE to CM

We ended up creating a SIP profile that altered the From Header.

voice class sip-profiles 100

request INVITE sip-header From modify "Anonymous" "9525551212"

request INVITE sip-header From modify "Unavailable" "9525551212"

request INVITE sip-header From modify "Restricted" "9525551212"

request INVITE sip-header Remote-Party-ID modify "Anonymous" "9525551212"

request INVITE sip-header Remote-Party-ID modify "Unavailable" "9525551212"

request INVITE sip-header Remote-Party-ID modify "Restricted" "9525551212"

request INVITE sip-header P-Asserted-Identity modify "Anonymous" "9525551212"

request INVITE sip-header P-Asserted-Identity modify "Unavailable" "9525551212"

request INVITE sip-header P-Asserted-Identity modify "Restricted" "9525551212"

New Member

SIP Profile not altering From in ccapi

Hi Becky,

Try the following:

request INVITE sip-header From modify " "<9525551212>

Regards,

Sergio

VIP Super Bronze

SIP Profile not altering From in ccapi

Becky,

I doubt if you need all these!  First of all the "unavailable" is an optional  display parameter and you dont have to worry about it. Second from your tarce, you are only using PAI (P-asserted-identity), hence there is no need to have remote-party-id configured. You can certainly tidy up your config...

Please rate all useful posts

"opportunity is a haughty goddess who waste no time with those who are unprepared"

Please rate all useful posts "The essence of christianity is not the enthronement but the obliteration of self --William Barclay"
358
Views
0
Helpful
4
Replies
CreatePlease login to create content