cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5984
Views
15
Helpful
19
Replies

SIP profile for Incoming Dial-peer

jeesemon.91
Level 1
Level 1

Hi Guys,

i want to copy the "To" field from incoming sip message from service provider and send to cucm in "To" field. as of now the red highlighted number is send in "To"field to CUCM. but i want to send the blue highlighted number in "To"Field to CUCM, can anyone help on this?

 

Received:
INVITE sip:62283000@10.0.92.178:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.92.14:5060;branch=z9hG4bK10f2482b327b5ee7698btaN0
To: "283009"<sip:283009@10.0.92.14>
From: "04467487500"<sip:4467487500@10.0.92.14>;tag=aa2cf06-Dvtb10ff92a2a7
Call-ID: 41ba10ff92a3-0167-0191@10.162.207.6
CSeq: 4541 INVITE
Max-Forwards: 8
Contact: <sip:4467487500@10.0.92.14>
Supported: 100rel
User-Agent: ZTE Softswitch/1.0.0
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,INFO,REFER,NOTIFY,SUBSCRIBE,PRACK,UPDATE
Content-Type: application/sdp
Content-Length: 176

 

 

19 Replies 19

Hi suarabh,

 

tried the configuration but no luck it getting loop

Hi Jeese

Just wanted to understand , do you want this behaviour only for this number or for all calls.
If for all calls then you can use header-passthrough feature of cube.

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube_sip/configuration/xe-3s/cube-sip-xe-3s-book/voi-conf-pass-thro.html

hi suarabh and nipun

 

thanks for your time its worked,

one more help, is there any way to match the "To"field with destination-pattern , as of now it matches with INVITE header.

"To" header is SIP is never used for call routing. Request URI is used. What you see is correct. This is how SIP works and not something that Cisco implements exclusively.

Hi jeese

As Nipun mentioned correctly "To" header is never used for cube routing, but as a workaround you can apply sip profile on inbound traffic and copy "To" header to "Request-URI" and then do the routing.
This might help " https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube_fund/configuration/xe-3s/cube-fund-xe-3s-book/voi-sip-param-mod.html"

Rate if helpful