Is it possible to configure Lync 2013 to only send a single 180/183 ringing back upstream after an INVITE to Lync triggers multiple INVITEs to Lync subscriber endpoints that each end up generating a 180/183 message.
In case of simultaneous ring, I want Lync to consume all these 180s to avoid unnecessary messaging back to the originator INVITE'ing Lync that is behind a SBC.
It seems to be acting as a forking proxy rather than b2bua.
You're right by saying Lync forks calls. If a user has multiple endpoints, Lync will fork the call to each endpoint and in return each endpoint will return the ringing response.
You can create an
MSPL
script to catch 180 responses. Since MSPL is stateless, it would require a backing application (aServerApplication
) that checks if a 180 response is already sent for the current call, and block subsequent ringing responses. Based on the assumption that for all requests theCallID
header will be identical, you can then decide which responses to send and which not.A simple MSPL would be something like:
Then in your server application you handle the
OnResponse
event, I imagine something like this:Then you can create some logic in the
ShouldSendRingingResponse
function to see whether to send the 180 response or not.Note that I did not test this, it's just a basic outline of how I would attempt to handle the situation.