Reusage of Endpoints

42 views
Skip to first unread message

stepha...@kapsch.net

unread,
May 19, 2014, 10:49:19 AM5/19/14
to sipme-med...@googlegroups.com
Hi,

Im testing Mobicents MGCP-RA (2.7.0 Release) on SLEE and SIPME (4.0.1) under Load.

It works well until first Announcements are ended (DLCX from RA).
It seems that SIPME immediately reuses Endpoint Identifiers for new Announcements after DLCX was received. (which is probably ok)

However there is a problem on SLEE side caused by the RA using the Endpoint Identifier as unique name for identifying Activities.
Therefore under Load it can happen that the RA fails to create a new Activity (with a name based on Name of Endpoint received in RQNT Response) because the Activity already exists with this name (from an old announcement)
The SLEE needs some time to end the activity properly, and in my case it happens that SIPMe is reusing Endpoints very fast, before the Activity is ended and the new Activity (with same name) would be safe to be started.

The Exception on SLEE Side:
javax.slee.resource.ActivityAlreadyExistsException: RA:MGCPRA:MgcpEndpointActivityHandle(id=mobius/ivr/3...@172.16.74.23:2427)

Probably this should be fixed on RA side. However I would like to know if the reusal of Endpoints can be influenced somehow in SIPMe configuration. Is there some timeout which can be configured before Endpoints are reused ?

br,
Stephan Klein

oifa.yulian

unread,
May 22, 2014, 12:07:23 PM5/22/14
to sipme-med...@googlegroups.com
Hello
I guess the issues occures when you have only one free endpoint left.
Try to increase number of preloaded endpoints , this way free endpoints will be used in cycle.
Also as i see you dont end mgcp endpoint activity when you end your job which is causing an error,
When you know you ended with endpoint activity simply call endActivity and then detach it from sbb,
It can be done either when es response received on last DLCX called / response from it received,depending on your scenario,
Best regards
Yulian Oifa

Laurent Schweizer

unread,
Aug 12, 2014, 6:13:37 AM8/12/14
to sipme-med...@googlegroups.com
Hello,

I think that I have the default config file and he look like your example .

<mgcp>
<!-- Implemented packages -->
<packages>
<package name="A">
<signal name="ann" handler="ua.mobius.media.server.mgcp.pkg.ann.Play"/>
</package>

<package name="AU">
<signal name="pa" handler="ua.mobius.media.server.mgcp.pkg.au.Play"/>
<signal name="aupa" handler="ua.mobius.media.server.mgcp.pkg.au.Play"/>
<signal name="pc" handler="ua.mobius.media.server.mgcp.pkg.au.PlayCollect"/>
<signal name="aupc" handler="ua.mobius.media.server.mgcp.pkg.au.PlayCollect"/>
<signal name="pr" handler="ua.mobius.media.server.mgcp.pkg.au.PlayRecord"/>
<signal name="aupr" handler="ua.mobius.media.server.mgcp.pkg.au.PlayRecord"/>
<signal name="es" handler="ua.mobius.media.server.mgcp.pkg.au.EndSignal"/>
<signal name="aues" handler="ua.mobius.media.server.mgcp.pkg.au.EndSignal"/>
</package>

<package name="T">
<signal name="co1" handler="ua.mobius.media.server.mgcp.pkg.trunk.Continuity1"/>
<signal name="co2" handler="ua.mobius.media.server.mgcp.pkg.trunk.Continuity2"/>
<signal name="lp" handler="ua.mobius.media.server.mgcp.pkg.trunk.Loopback"/>
<signal name="ct" handler="ua.mobius.media.server.mgcp.pkg.trunk.ContinuityTransporder"/>
</package>

<package name="D">
<signal name="0" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf0"/>
<signal name="1" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf1"/>
<signal name="2" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf2"/>
<signal name="3" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf3"/>
<signal name="4" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf4"/>
<signal name="5" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf5"/>
<signal name="6" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf6"/>
<signal name="7" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf7"/>
<signal name="8" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf8"/>
<signal name="9" handler="ua.mobius.media.server.mgcp.pkg.dtmf.Dtmf9"/>
<signal name="A" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfA"/>
<signal name="B" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfB"/>
<signal name="C" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfC"/>
<signal name="D" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfD"/>
<signal name="#" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfHash"/>
<signal name="*" handler="ua.mobius.media.server.mgcp.pkg.dtmf.DtmfStar"/>
</package>

Laurent Schweizer

unread,
Aug 12, 2014, 6:15:23 AM8/12/14
to sipme-med...@googlegroups.com
Sorry i reply to the wrong message
Reply all
Reply to author
Forward
0 new messages