cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
211
Views
0
Helpful
2
Replies

Call-forward on CME without hairpinning for certain "transferred numbers"

Difan Zhao
Level 5
Level 5

Hi experts,

So our setup is that we have CMEs at a remote locations managing 7962 SCCP phones for our customers. We have a CUCM in the core used as a SME to handle calls between the CMEs or to/from the outside PSTN. Between SME and CME are the SIP trunks.

In the CME, all phones use extension # 1xx. Only the 101 and 102 also have 10-digit DID and are allowed to call outside. 

CME or the remote locations are usually on HIGH-latency satellite links (700 ms round-trip delays). Normal call would still be ok. However when call is forwarded to an outside/PSTN number, it becomes annoying. (e.g., PSTN calls the CME DID and then got forwarded back to the customer cell phone)

Then we found setting on the CME (supplementary-service sip moved-temporarily) to allow the call go directly without hairpinned at the CME. However that broke call-forward to internal #. For example if the outside calls the phone (with DID 5873420001 which is also ext 101), and the phone forwards the call to 103, the CME would still send the "SIP 302 moved-temporarily" message with "103" in the contact header and the SME will have no idea where to forward the call...

So my question is, is there a way to do this "sip moved-temporarily" only when the calls are forwarded to 10-digit DIDs but not 3-digit ext. numbers?

Thanks!

Difan

2 Replies 2

As far as I know when CME is forwarding to internal numbers it doesn't expose this to caller. It send 302 message only when the forward-to number is external.

 

Can you please share debug ccsip messges with and without supplementary service

Thanks Mohammed. The requested output are attached. I call-forward-all to ext 105. Here is the SIP 302 message when the supplementary service is enabled.

 

Jul  2 20:11:24.329: //8489/81FD03800000/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/TCP 10.135.3.11:5060;branch=z9hG4bK136b87a2d7773f9
From: "4036922878" <sip:14036922878@10.135.3.11>;tag=20615911~d3d6020a-261d-49e2-bd60-b1119541da88-18928725
To: <sip:+18555614502@10.128.9.68>;tag=F372698-B65
Date: Thu, 02 Jul 2015 20:11:24 GMT
Call-ID: 81fd0380-59519aec-135e604-b03870a@10.135.3.11
CSeq: 101 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-15.2.4.GC3
Diversion: <sip:+18555614502@10.128.9.68>;reason=unconditional;counter=1
Contact: <sip:105@10.128.9.68>
Content-Length: 0