Avaya Support Forums  

Go Back   Avaya Support Forums > Avaya Aura & Unified Communications

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-01-2012, 09:49 AM
ajshetty ajshetty is offline
Member
 
Join Date: Aug 2010
Posts: 5
ajshetty has 11 reputation points
Default can Session Manager replace contact header in SIP invite

My scenario: CM connected to Session Manager to Shortel
CM---- Session Manager---- Shortel

The CM sending call to Session Manager with contact header as Cmext@cmipaddress. The Session Manager can replace destination host URI and Source URI but sends the same contact header and doesn't replace it with its ip address or domain name.
The Shortel when it receives the Invite its looks at contact header and decides that the calling party is CM and not session manager. It cannot route the call since its trunk group has Session Manager IP address and not CM ip address. The other way with call from Shortel to Session manager to CM works fine with only session manager IP address.

We can make it work when we add two trunks on Shortel one with Cm IP address and one with Session Manager address.
Question: Can we modify contact header to Session manager IP address or domain name so that Shortel doesnot see CM address. This is required becuase if we have multiple CM behind Session Manager we cannot keep having so many trunks on one shortel system.
I know SBC can do it can Session Manager do this...?
Reply With Quote
  #2  
Old 02-10-2012, 12:46 AM
kminin kminin is offline
Whiz
 
Join Date: Aug 2010
Posts: 31
kminin has 10 reputation points
Default

SMGR
Home / Elements / Routing / Adaptations - Adaptation Details
odstd=Shortel osrcd=Shortel

Home / Elements / Routing / SIP Entities - SIP Entity Details -> Adaptations
Reply With Quote
  #3  
Old 02-10-2012, 11:11 AM
ajshetty ajshetty is offline
Member
 
Join Date: Aug 2010
Posts: 5
ajshetty has 11 reputation points
Default

odst and osrcd is for changing the headers of the invite either destination address or Source address it nevers touches contact address. The contact address is the address of the IP Phone or CM system system which is initiating the call via Session manager. Shoretel system cannot work with Avaya CM or Session Manager or SES server it requires SBC (B2BUA) to always rewrite the invite message with SBC IP address.
Reply With Quote
  #4  
Old 12-02-2016, 07:28 AM
domin69 domin69 is offline
Aspiring Member
 
Join Date: May 2015
Posts: 1
domin69 has 10 reputation points
Red face

Quote:
Originally Posted by ajshetty View Post
My scenario: CM connected to Session Manager to Shortel
CM---- Session Manager---- Shortel

The CM sending call to Session Manager with contact header as Cmext@cmipaddress. The Session Manager can replace destination host URI and Source URI but sends the same contact header and doesn't replace it with its ip address or domain name.
The Shortel when it receives the Invite its looks at contact header and decides that the calling party is CM and not session manager. It cannot route the call since its trunk group has Session Manager IP address and not CM ip address. The other way with call from Shortel to Session manager to CM works fine with only session manager IP address.

We can make it work when we add two trunks on Shortel one with Cm IP address and one with Session Manager address.
Question: Can we modify contact header to Session manager IP address or domain name so that Shortel doesnot see CM address. This is required becuase if we have multiple CM behind Session Manager we cannot keep having so many trunks on one shortel system.
I know SBC can do it can Session Manager do this...?


Hello ajshetty,
Were they able to solve the problem?
I have the same problem, but with an NEC sv8300 PBX.

Thx
Reply With Quote
  #5  
Old 09-03-2020, 05:18 AM
singh446 singh446 is offline
Aspiring Member
 
Join Date: Sep 2020
Posts: 2
singh446 has 10 reputation points
Default

ajshetty

Hi There,

By any chance you this configuration, im struggling to work with Shoretel, same way i see CM IP as well.
Reply With Quote
  #6  
Old 09-03-2020, 05:22 AM
singh446 singh446 is offline
Aspiring Member
 
Join Date: Sep 2020
Posts: 2
singh446 has 10 reputation points
Default

Quote:
Originally Posted by ajshetty View Post
My scenario: CM connected to Session Manager to Shortel
CM---- Session Manager---- Shortel

The CM sending call to Session Manager with contact header as Cmext@cmipaddress. The Session Manager can replace destination host URI and Source URI but sends the same contact header and doesn't replace it with its ip address or domain name.
The Shortel when it receives the Invite its looks at contact header and decides that the calling party is CM and not session manager. It cannot route the call since its trunk group has Session Manager IP address and not CM ip address. The other way with call from Shortel to Session manager to CM works fine with only session manager IP address.

We can make it work when we add two trunks on Shortel one with Cm IP address and one with Session Manager address.
Question: Can we modify contact header to Session manager IP address or domain name so that Shortel doesnot see CM address. This is required becuase if we have multiple CM behind Session Manager we cannot keep having so many trunks on one shortel system.
I know SBC can do it can Session Manager do this...?

Hi There,

By any chance you have this config, im struggling to get it working
Reply With Quote
  #7  
Old 10-13-2022, 01:29 PM
jwaber jwaber is offline
Member
 
Join Date: Jun 2014
Posts: 6
jwaber has 11 reputation points
Default

I do not have the fix for your problem, but I do know that the way you are trying to fix the problem is not correct.

The CONTACT header must always contain the address of the originator of this message. (In the request, the CONTACT header holds the address of the requestor; in a response it contains the address of the responder.) The CONTACT header tells each User-Agent (UA) the real address of the other UA. Both UAs will store the address found in the CONTACT header and use when constructing the Request-URI of all subsequent requests. In a simple world, that means that subsequent requests would travel directly from UA to UA.

To ensure that a SIP Proxy (like Aura Session Manager (ASM)) stays part of the SIP dialog, the proxy will insert a RECORD-ROUTE header into the Request as it goes by. The receiving UA is obligated to both keep a copy of all RECORD-ROUTE headers, and to copy the set of RECORD-ROUTE headers into the response back to the requesting UA so that it gets a copy of the headers.

Each Record-Route header contains the address of the proxy (e.g. ASM) that injected it into the request.

When generating subsequent requests, both UAs are obligated to convert the RECORD-ROUTE headers into ROUTE headers and inject them into their request.

When any SIP Proxy receives a SIP Request, the proxy will look for the presence of ROUTE headers. If they exist, the Proxy is obligated to ignore the address in the Request-URI header and route the request to the address found in the top-most ROUTE header. Once that ROUTE header has served its purpose, the recipient proxy (e.g. ASM) will delete its ROUTE header from the request and then look for the presence of any more ROUTE headers. (So, note that ROUTE headers get deleted from the request by the Proxy that injected the RECORD-ROUTE header.) ROUTE headers always take precedence over the Request-URI. When there are no longer any ROUTE headers in the request, the proxy will route the request to the address found in the Request-URI.

In summary, in the requests I suggest checking whether the ROUTE headers are being correctly included and addressed. (In the responses, you should be checking the VIA headers).

It is the ROUTE header that will correctly direct the request through ASM to CM. Do not mess with the CONTACT header!

Last edited by jwaber; 10-13-2022 at 01:33 PM.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:52 PM.

This Forum is provided solely for the use and convenience of Avaya customers and partners. Use of the Forum is subject to the Terms and Use and Privacy Statement found at www.avaya.com. No other use is permitted. The Forum including all content posted is “AS IS” and Avaya expressly disclaims all warranties and/or guarantees as to its accuracy, reliability, usefulness, quality or non-infringement of intellectual property. Avaya reserves the right to remove any content posted on the Forum at any time and for whatever reason.

Avaya will not be liable for any content posted on this Forum, including, without limitation, any errors or omissions or for any losses or damages of any kind incurred as a result of use or reliance on any content, regardless of its origin.

You expressly understand and agree that you assume all risks associated with use or reliance on this content.