I have started jain-slee with the option -b 10.0.0.9 so he must use this IP but the problem is that sometimes he use the default IP (eth0) of the server 10.0.0.5 to send message ( new transaction in TCP ) see NOTIFY.
I'm using the last version of Jain-slee 2.6.0 FINAL.
Any Idea ?
Regards
Laurent
T 2012/03/07 10:23:32.299412 10.0.0.6:36491 -> 10.0.0.9:5060 [AP]
To: <sip:test...@95.128.80.8>;tag=0e1310d981aa7d4b122a0b28dd2bdf63-42e1.
Via: SIP/2.0/TCP 95.128.80.84:5060;branch=z9hG4bK-343533-bc62cfde503b0c1f20fd76938d56faf3;rp o rt=5045
Server: kamailio (3.2.1 (x86_64/linux)).
Content-Length: 0.
De : Laurent Schweizer [mailto:laurent.schwei...@peoplefone.com] Envoyé : mercredi 7 mars 2012 11:05 À : mobicents-public@googlegroups.com Objet : [mobicents-public] Jain-slee with multiple IP
Hello,
I have started jain-slee with the option –b 10.0.0.9 so he must use this IP but the problem is that sometimes he use the default IP (eth0) of the server 10.0.0.5 to send message ( new transaction in TCP ) see NOTIFY.
I’m using the last version of Jain-slee 2.6.0 FINAL.
Any Idea ?
Regards
Laurent
T 2012/03/07 10:23:32.299412 10.0.0.6:36491 -> 10.0.0.9:5060 [AP]
no idea if by default the SIP stack support multiple IP but when the SIP stack use the main IP to send the TCP SIP message,
when he get an answer on this socket he process them correctly.
Regards
Laurent
De : Tom Uijldert [mailto:tom.uijld...@gmail.com] Envoyé : mardi 27 mars 2012 13:51 À : mobicents-public@googlegroups.com Objet : RE: [mobicents-public] Jain-slee with multiple IP
Hi,
Maybe off-topic but related?:
What’s the situation on support of multiple addresses for the sip11-ra?
I get the impression that jsip can handle it and that both Ivelin and Jean have had a look at it but there’s no sign of it in the code...
Or do I need to start a 2nd RA?
TIA,
Tom.
From: mobicents-public@googlegroups.com [mailto:mobicents-public@googlegroups.com] On Behalf Of Laurent Schweizer
Hello all,
Regarding this problem I see that it’s with TCP only.
To do more test I have created a simple SBB that only send 2 NOTIFY (first one with UDP, second one with TCP) when the SBB is started.
Jain Slee is started with the option “–b 95.128.80.84” .
As you can see bellow with UDP the NOTIFY is sent with this IP 95.128.80.84, so all is OK.
For the second one, VIA and CONTACT header are correctly created but the IP used to send the packet is not the correct one, it’s the default eth0 IP.
I’m doing test with JAIN-SLEE 2.6.0 FINAL on linux centos with java :
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
JAIN SIP can handle multiple IPs. It requires you to configure a listening point per IP Address/port. From http://docs.jboss.org/mobicents/jain-slee/2.5.0.FINAL/resources/sip11... it appears one SIP RA is tied to one listening point so to have multiple IPs one would need to deploy one SIP RA per couple IP Address, port.
Jean
On Tue, Mar 27, 2012 at 4:54 PM, Laurent Schweizer <
> Regarding this problem I see that it’s with TCP only.****
> ** **
> To do more test I have created a simple SBB that only send 2 NOTIFY > (first one with UDP, second one with TCP) when the SBB is started. ****
> Jain Slee is started with the option “–b 95.128.80.84” .****
> As you can see bellow with UDP the NOTIFY is sent with this IP > 95.128.80.84, so all is OK.****
> For the second one, VIA and CONTACT header are correctly created but the > IP used to send the packet is not the correct one, it’s the default eth0 IP. > ****
> ** **
> I’m doing test with JAIN-SLEE 2.6.0 FINAL on linux centos with java :****
> java version "1.6.0_30"****
> Java(TM) SE Runtime Environment (build 1.6.0_30-b12)****
> Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)****
Is there a how-to on how to deploy multiple RA's of same type?
From: mobicents-public@googlegroups.com [mailto:mobicents-public@googlegroups.com] On Behalf Of Jean Deruelle Sent: woensdag 28 maart 2012 11:51 To: mobicents-public@googlegroups.com Subject: Re: [mobicents-public] Jain-slee with multiple IP
JAIN SIP can handle multiple IPs. It requires you to configure a listening point per IP Address/port.
Also note that since Mobicents JSLEE 2.6.0 deploy-config.xml may be outside a DU (unfortunately I didn't find an on-line link to the updated container's user guide).
"Tom Uijldert" <tom.uijld...@gmail.com> wrote: > Thanks Jean, I thought as much.
> Is there a how-to on how to deploy multiple RA's of same type?
> From: mobicents-public@googlegroups.com > [mailto:mobicents-public@googlegroups.com] On Behalf Of Jean Deruelle > Sent: woensdag 28 maart 2012 11:51 > To: mobicents-public@googlegroups.com > Subject: Re: [mobicents-public] Jain-slee with multiple IP
> JAIN SIP can handle multiple IPs. It requires you to configure a > listening point per IP Address/port.
I already try to set statically in the config of the RA the IP javax.sip.IP_ADDRESS:java.lang.String=95.128.80.84
for UDP all is ok , but not for TCP.
Laurent
start LOG: 15:26:28,367 INFO [DeploymentMBeanImpl] Installed EventTypeID[name=javax.sip.message.Request.NOTIFY,vendor=net.java.slee,vers ion=1.2] 15:26:28,367 INFO [DeploymentMBeanImpl] Installed EventTypeID[name=javax.sip.Dialog.INVITE,vendor=net.java.slee,version=1.2] 15:26:28,382 INFO [DeploymentMBeanImpl] Installed ResourceAdaptorTypeID[name=JAIN SIP,vendor=javax.sip,version=1.2] 15:26:28,384 INFO [DeploymentMBeanImpl] Installed ResourceAdaptorID[name=JainSipResourceAdaptor,vendor=net.java.slee.sip,vers ion=1.2] 15:26:28,384 INFO [DeploymentMBeanImpl] Installed DeployableUnitID[url=file:/usr/jboss-5.1.0.GA/server/default/deploy/sip11-r a-DU-2.6.0.FINAL.jar/] 15:26:28,718 INFO [SipResourceAdaptor] RA entity named SipRA bound to port 5060 15:26:28,718 INFO [ResourceManagement] Created Resource Adaptor Entity SipRA for ResourceAdaptorID[name=JainSipResourceAdaptor,vendor=net.java.slee.sip,vers ion=1.2] Config Properties: [(javax.sip.IP_ADDRESS:java.lang.String=95.128.80.84),(javax.sip.TRANSPORT: java.lang.String=UDP,TCP),(org.mobicents.ha.javax.sip.BALANCERS:java.lang.S tring=),(org.mobicents.ha.javax.sip.LoadBalancerElector:java.lang.String=or g.mobicents.ha.javax.sip.RoundRobinLoadBalancerElector),(javax.sip.PORT:jav a.lang.Integer=5060),(org.mobicents.ha.javax.sip.LoadBalancerHeartBeatingSe rviceClassName:java.lang.String=org.mobicents.ha.javax.sip.LoadBalancerHear tBeatingServiceImpl)] 15:26:28,969 INFO [ResourceManagement] Activated RA Entity SipRA 15:26:29,219 INFO [ResourceManagement] Bound link between RA Entity SipRA and Name SipRA
LOG, UDP is ok but TCP is not sent with the configured IP in the STACK
T 95.128.80.8:5060 -> 95.128.80.36:42082 [AP] SIP/2.0 404 Not Found..Call-ID: 8d206904951a25d55b8b0806c89ce...@95.128.80.84 310d981aa7d4b122a0b28dd2bdf63-d07a..Via: SIP/2.0/TCP 95.128.80.84:5060;branch (x86_64/linux))..Content-Length: 0....
-----Message d'origine----- De : Vilius Panevėžys [mailto:vil...@elitnet.lt] Envoyé : mercredi 28 mars 2012 13:22 À : mobicents-public@googlegroups.com Objet : Re: [mobicents-public] Jain-slee with multiple IP
Also note that since Mobicents JSLEE 2.6.0 deploy-config.xml may be outside a DU (unfortunately I didn't find an on-line link to the updated container's user guide).
"Tom Uijldert" <tom.uijld...@gmail.com> wrote: > Thanks Jean, I thought as much.
> Is there a how-to on how to deploy multiple RA's of same type?
> From: mobicents-public@googlegroups.com > [mailto:mobicents-public@googlegroups.com] On Behalf Of Jean Deruelle > Sent: woensdag 28 maart 2012 11:51 > To: mobicents-public@googlegroups.com > Subject: Re: [mobicents-public] Jain-slee with multiple IP
> JAIN SIP can handle multiple IPs. It requires you to configure a > listening point per IP Address/port.
> Also note that since Mobicents JSLEE 2.6.0 deploy-config.xml may be > outside a DU (unfortunately I didn't find an on-line link to the > updated container's user guide).
> -- > Vilius Panevėžys > Elitnet
> On Wed, 28 Mar 2012 12:27:56 +0200 > "Tom Uijldert" <tom.uijld...@gmail.com> wrote:
> > Thanks Jean, I thought as much.
> > Is there a how-to on how to deploy multiple RA's of same type?
> > From: mobicents-public@googlegroups.com > > [mailto:mobicents-public@googlegroups.com] On Behalf Of Jean Deruelle > > Sent: woensdag 28 maart 2012 11:51 > > To: mobicents-public@googlegroups.com > > Subject: Re: [mobicents-public] Jain-slee with multiple IP
> > JAIN SIP can handle multiple IPs. It requires you to configure a > > listening point per IP Address/port.
> > From > > http://docs.jboss.org/mobicents/jain- > slee/2.5.0.FINAL/resources/sip11/user-g > > uide/en-US/html_single/#ra_configuration it appears one SIP RA is > > tied to one listening point so to have multiple IPs one would need to > > deploy one SIP RA per couple IP Address, port.
> Thanks for all the tips, got it working now: 2 sip-ra's bound to 2 NIC's. > Works like a charm.
> Any interest in a "how-to"?
> Cheers, > Tom.
> > -----Original Message----- > > From: mobicents-public@googlegroups.com [mailto:mobicents- > > public@googlegroups.com] On Behalf Of Vilius Panevežys
> > Hi, > > you need to configure multiple entities of the RA. IMO easiest way is > > to use deploy-config: > > http://docs.jboss.org/mobicents/jain-slee/2.5.0.FINAL/container/user- > > guide/en-US/html/management.html#management_persistent_deployer_deploy- > > config_extension
> > Also note that since Mobicents JSLEE 2.6.0 deploy-config.xml may be > > outside a DU (unfortunately I didn't find an on-line link to the > > updated container's user guide).
> > -- > > Vilius Panevėžys > > Elitnet
> > On Wed, 28 Mar 2012 12:27:56 +0200 > > "Tom Uijldert" <tom.uijld...@gmail.com> wrote:
> > > Thanks Jean, I thought as much.
> > > Is there a how-to on how to deploy multiple RA's of same type?
> > > From: mobicents-public@googlegroups.com > > > [mailto:mobicents-public@googlegroups.com] On Behalf Of Jean Deruelle > > > Sent: woensdag 28 maart 2012 11:51 > > > To: mobicents-public@googlegroups.com > > > Subject: Re: [mobicents-public] Jain-slee with multiple IP
> > > JAIN SIP can handle multiple IPs. It requires you to configure a > > > listening point per IP Address/port.
> > > From > > > http://docs.jboss.org/mobicents/jain- > > slee/2.5.0.FINAL/resources/sip11/user-g > > > uide/en-US/html_single/#ra_configuration it appears one SIP RA is > > > tied to one listening point so to have multiple IPs one would need to > > > deploy one SIP RA per couple IP Address, port.
Btw., I believe I ranted about this before but online access to any Mobicents info is very fragmented and unstructured.
I’m deeply impressed with any newbie that can make heads or tails out of what’s online...
There’s residual(?) stuff on java.net, more after move to google projects, the actual mobicents.org website, JBoss/RedHat entries and now more in google jain-slee, not to mention various blogs that also contain invaluable information...
Just saying...
/rant
Cheers,
Tom.
From: mobicents-public@googlegroups.com [mailto:mobicents-public@googlegroups.com] On Behalf Of Jean Deruelle
I have two suggestions in case you or anyone else would be willing to improve the post: 1. The How-To could easily be generalised to make it clear the instructions work for any RA and that SIP RA is only used as an example. I think that would help newcomers.
2. To configure multiple RA entities, a single RA DU is sufficient. You can define multiple RA entities in the deploy-config.xml without even touching resource-adaptor-jar.xml. That would simplify the process.
> Btw., I believe I ranted about this before but online access to any > Mobicents info is very fragmented and unstructured.
> I’m deeply impressed with any newbie that can make heads or tails out > of what’s online...
> There’s residual(?) stuff on java.net, more after move to google > projects, the actual mobicents.org website, JBoss/RedHat entries and > now more in google jain-slee, not to mention various blogs that also > contain invaluable information...
> Just saying...
> /rant
> Cheers,
> Tom.
> From: mobicents-public@googlegroups.com > [mailto:mobicents-public@googlegroups.com] On Behalf Of Jean Deruelle
> Yes always :-), feel free to add a wiki page here
> On Wed, Mar 28, 2012 at 5:01 PM, Tom Uijldert > <tom.uijld...@gmail.com> wrote:
> Hi,
> Thanks for all the tips, got it working now: 2 sip-ra's bound to 2 > NIC's. Works like a charm.
> Any interest in a "how-to"?
> Cheers, > Tom.
> > -----Original Message----- > > From: mobicents-public@googlegroups.com [mailto:mobicents- > > public@googlegroups.com] On Behalf Of Vilius Panevežys
> > Hi, > > you need to configure multiple entities of the RA. IMO easiest way > > is to use deploy-config: > > http://docs.jboss.org/mobicents/jain-slee/2.5.0.FINAL/container/user- > > guide/en-US/html/management.html#management_persistent_deployer_deploy- > > config_extension > [snip]
> 2. To configure multiple RA entities, a single RA DU is sufficient. > You can define multiple RA entities in the deploy-config.xml without > even touching resource-adaptor-jar.xml. That would simplify the > process.
?? If I use the same "resource-adaptor-name" (by not touching the ...jar.xml), the SLEE starts to complain.
Resource Adaptor name, vendor, version are used to define which of the deployed RAs is used used to create a RA entity. It is normal to reference the tuple multiple times.
Maybe I didn't understand the problem. I'm attaching a sample deploy-config.xml that shows how I would try to do it, to make it easier to discuss.
"Tom Uijldert" <tom.uijld...@gmail.com> wrote: > > 2. To configure multiple RA entities, a single RA DU is sufficient. > > You can define multiple RA entities in the deploy-config.xml without > > even touching resource-adaptor-jar.xml. That would simplify the > > process.
> ?? If I use the same "resource-adaptor-name" (by not touching > the ...jar.xml), the SLEE starts to complain.
> -----Original Message----- > From: mobicents-public@googlegroups.com [mailto:mobicents- > public@googlegroups.com] On Behalf Of Vilius Panevežys
> Resource Adaptor name, vendor, version are used to define which of the > deployed RAs is used used to create a RA entity. It is normal to > reference the tuple multiple times.
> Maybe I didn't understand the problem. I'm attaching a sample deploy- > config.xml that shows how I would try to do it, to make it easier to > discuss.
> > > 2. To configure multiple RA entities, a single RA DU is sufficient. > > > You can define multiple RA entities in the deploy-config.xml > without > > > even touching resource-adaptor-jar.xml. That would simplify the > > > process.
> > ?? If I use the same "resource-adaptor-name" (by not touching > > the ...jar.xml), the SLEE starts to complain.
On Mon, Apr 2, 2012 at 8:54 AM, Tom Uijldert <tom.uijld...@gmail.com> wrote: > You're right, works fine. > Must've drawn the wrong conclusion in my tests, probably setting the > IP-address in resource-adaptor-jar.xml was the problem.
> Thanks, modified wiki accordingly.
> Cheers, > Tom.
> > -----Original Message----- > > From: mobicents-public@googlegroups.com [mailto:mobicents- > > public@googlegroups.com] On Behalf Of Vilius Panevežys
> > Resource Adaptor name, vendor, version are used to define which of the > > deployed RAs is used used to create a RA entity. It is normal to > > reference the tuple multiple times.
> > Maybe I didn't understand the problem. I'm attaching a sample deploy- > > config.xml that shows how I would try to do it, to make it easier to > > discuss.
> > > > 2. To configure multiple RA entities, a single RA DU is sufficient. > > > > You can define multiple RA entities in the deploy-config.xml > > without > > > > even touching resource-adaptor-jar.xml. That would simplify the > > > > process.
> > > ?? If I use the same "resource-adaptor-name" (by not touching > > > the ...jar.xml), the SLEE starts to complain.
Tom: the only thing needed to create a second RA entity is to edit the deploy-config.xml (the one in the mobicents-slee directory or the one inside the SIP RA du jar) and add:
No need for a second DU jar with hacked xml descriptors. If it doesn't work please open an issue.
Ivelin: The JAIN SLEE User Guide describes well the deploy-config.xml function and format, no need to include an example for a concrete deploy case and RA. It's useful as an article/tutorial, as done by Tom (but content in this case points to an not needed and quite complex workaround).
> On Mon, Apr 2, 2012 at 8:54 AM, Tom Uijldert <tom.uijld...@gmail.com>wrote:
>> You're right, works fine. >> Must've drawn the wrong conclusion in my tests, probably setting the >> IP-address in resource-adaptor-jar.xml was the problem.
>> Thanks, modified wiki accordingly.
>> Cheers, >> Tom.
>> > -----Original Message----- >> > From: mobicents-public@googlegroups.com [mailto:mobicents- >> > public@googlegroups.com] On Behalf Of Vilius Panevežys
>> > Resource Adaptor name, vendor, version are used to define which of the >> > deployed RAs is used used to create a RA entity. It is normal to >> > reference the tuple multiple times.
>> > Maybe I didn't understand the problem. I'm attaching a sample deploy- >> > config.xml that shows how I would try to do it, to make it easier to >> > discuss.
>> > > > 2. To configure multiple RA entities, a single RA DU is sufficient. >> > > > You can define multiple RA entities in the deploy-config.xml >> > without >> > > > even touching resource-adaptor-jar.xml. That would simplify the >> > > > process.
>> > > ?? If I use the same "resource-adaptor-name" (by not touching >> > > the ...jar.xml), the SLEE starts to complain.
Issue? Or is there still something wrong in the recipe?
TIA,
Tom.
Stackdump:
javax.slee.UnrecognizedActivityException
at org.mobicents.slee.resource.AbstractActivityContextInterfaceFactory.getACI( AbstractActivityContextInterfaceFactory.java:108)
at net.java.slee.resource.sip.SipActivityContextInterfaceFactoryImpl.getActivi tyContextInterface(SipActivityContextInterfaceFactoryImpl.java)
at net.sysmx.msml.MsmlSbb.channelSetUp(MsmlSbb.java:88)
at net.sysmx.msml.MsmlSbb.msmlCreateConference(MsmlSbb.java:63)
at net.sysmx.msml.MediaControlSbb.createConferenceAndCallId(MediaControlSbb.ja va:222)
at net.sysmx.msml.MediaControlSbb.onCreateConference(MediaControlSbb.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5 7)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.invokeEventHandler(SbbEn tityImpl.java:497)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.rou teQueuedEvent(EventRoutingTaskImpl.java:378)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.run (EventRoutingTaskImpl.java:126)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1 110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 603)
at java.lang.Thread.run(Thread.java:636)
From: mobicents-public@googlegroups.com [mailto:mobicents-public@googlegroups.com] On Behalf Of Eduardo Martins Sent: maandag 2 april 2012 18:06 To: mobicents-public@googlegroups.com Subject: Re: [mobicents-public] Jain-slee with multiple IP
Tom: the only thing needed to create a second RA entity is to edit the deploy-config.xml (the one in the mobicents-slee directory or the one inside the SIP RA du jar) and add:
No need for a second DU jar with hacked xml descriptors. If it doesn't work please open an issue.
Ivelin: The JAIN SLEE User Guide describes well the deploy-config.xml function and format, no need to include an example for a concrete deploy case and RA. It's useful as an article/tutorial, as done by Tom (but content in this case points to an not needed and quite complex workaround).
> -----Original Message----- > From: mobicents-public@googlegroups.com [mailto:mobicents- > public@googlegroups.com] On Behalf Of Vilius Panevežys
> Resource Adaptor name, vendor, version are used to define which of the > deployed RAs is used used to create a RA entity. It is normal to > reference the tuple multiple times.
> Maybe I didn't understand the problem. I'm attaching a sample deploy- > config.xml that shows how I would try to do it, to make it easier to > discuss.
> > > 2. To configure multiple RA entities, a single RA DU is sufficient. > > > You can define multiple RA entities in the deploy-config.xml > without > > > even touching resource-adaptor-jar.xml. That would simplify the > > > process.
> > ?? If I use the same "resource-adaptor-name" (by not touching > > the ...jar.xml), the SLEE starts to complain.
On Tue, Apr 3, 2012 at 1:08 PM, Tom Uijldert <tom.uijld...@gmail.com> wrote: > Seems I was too hasty yesterday on declaring that Villius’ suggestion (and > yours below) works.****
> ** **
> I now consistently get an UnrecognizedActivityException on retrieving an > aci from the dialog in the factory.****
> Tom: the only thing needed to create a second RA entity is to edit the > deploy-config.xml (the one in the mobicents-slee directory or the one > inside the SIP RA du jar) and add:****
> No need for a second DU jar with hacked xml descriptors. If it doesn't > work please open an issue.****
> ** **
> Ivelin: The JAIN SLEE User Guide describes well the deploy-config.xml > function and format, no need to include an example for a concrete deploy > case and RA. It's useful as an article/tutorial, as done by Tom (but > content in this case points to an not needed and quite complex workaround). > ****
> On Mon, Apr 2, 2012 at 8:54 AM, Tom Uijldert <tom.uijld...@gmail.com> > wrote:****
> You're right, works fine. > Must've drawn the wrong conclusion in my tests, probably setting the > IP-address in resource-adaptor-jar.xml was the problem.
> Thanks, modified wiki accordingly.****
> Cheers, > Tom.
> > -----Original Message----- > > From: mobicents-public@googlegroups.com [mailto:mobicents- > > public@googlegroups.com] On Behalf Of Vilius Panevežys > >****
> > Resource Adaptor name, vendor, version are used to define which of the > > deployed RAs is used used to create a RA entity. It is normal to > > reference the tuple multiple times.
> > Maybe I didn't understand the problem. I'm attaching a sample deploy- > > config.xml that shows how I would try to do it, to make it easier to > > discuss.
> > > > 2. To configure multiple RA entities, a single RA DU is sufficient. > > > > You can define multiple RA entities in the deploy-config.xml > > without > > > > even touching resource-adaptor-jar.xml. That would simplify the > > > > process.
> > > ?? If I use the same "resource-adaptor-name" (by not touching > > > the ...jar.xml), the SLEE starts to complain.
Issue? Or is there still something wrong in the recipe?
TIA,
Tom.
Stackdump:
javax.slee.UnrecognizedActivityException
at org.mobicents.slee.resource.AbstractActivityContextInterfaceFactory.getACI( AbstractActivityContextInterfaceFactory.java:108)
at net.java.slee.resource.sip.SipActivityContextInterfaceFactoryImpl.getActivi tyContextInterface(SipActivityContextInterfaceFactoryImpl.java)
at net.sysmx.msml.MsmlSbb.channelSetUp(MsmlSbb.java:88)
at net.sysmx.msml.MsmlSbb.msmlCreateConference(MsmlSbb.java:63)
at net.sysmx.msml.MediaControlSbb.createConferenceAndCallId(MediaControlSbb.ja va:222)
at net.sysmx.msml.MediaControlSbb.onCreateConference(MediaControlSbb.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5 7)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.invokeEventHandler(SbbEn tityImpl.java:497)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.rou teQueuedEvent(EventRoutingTaskImpl.java:378)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.run (EventRoutingTaskImpl.java:126)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1 110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 603)
at java.lang.Thread.run(Thread.java:636)
From: mobicents-public@googlegroups.com [mailto:mobicents-public@googlegroups.com] On Behalf Of Eduardo Martins Sent: maandag 2 april 2012 18:06
To: mobicents-public@googlegroups.com Subject: Re: [mobicents-public] Jain-slee with multiple IP
Tom: the only thing needed to create a second RA entity is to edit the deploy-config.xml (the one in the mobicents-slee directory or the one inside the SIP RA du jar) and add:
No need for a second DU jar with hacked xml descriptors. If it doesn't work please open an issue.
Ivelin: The JAIN SLEE User Guide describes well the deploy-config.xml function and format, no need to include an example for a concrete deploy case and RA. It's useful as an article/tutorial, as done by Tom (but content in this case points to an not needed and quite complex workaround).
> -----Original Message----- > From: mobicents-public@googlegroups.com [mailto:mobicents- > public@googlegroups.com] On Behalf Of Vilius Panevežys
> Resource Adaptor name, vendor, version are used to define which of the > deployed RAs is used used to create a RA entity. It is normal to > reference the tuple multiple times.
> Maybe I didn't understand the problem. I'm attaching a sample deploy- > config.xml that shows how I would try to do it, to make it easier to > discuss.
> > > 2. To configure multiple RA entities, a single RA DU is sufficient. > > > You can define multiple RA entities in the deploy-config.xml > without > > > even touching resource-adaptor-jar.xml. That would simplify the > > > process.
> > ?? If I use the same "resource-adaptor-name" (by not touching > > the ...jar.xml), the SLEE starts to complain.
> Tom: the only thing needed to create a second RA entity is to edit the > deploy-config.xml (the one in the mobicents-slee directory or the one > inside the SIP RA du jar) and add:****
> No need for a second DU jar with hacked xml descriptors. If it doesn't > work please open an issue.****
> ****
> Ivelin: The JAIN SLEE User Guide describes well the deploy-config.xml > function and format, no need to include an example for a concrete deploy > case and RA. It's useful as an article/tutorial, as done by Tom (but > content in this case points to an not needed and quite complex workaround). > ****
> On Mon, Apr 2, 2012 at 8:54 AM, Tom Uijldert <tom.uijld...@gmail.com> > wrote:****
> You're right, works fine. > Must've drawn the wrong conclusion in my tests, probably setting the > IP-address in resource-adaptor-jar.xml was the problem.
> Thanks, modified wiki accordingly.****
> Cheers, > Tom.
> > -----Original Message----- > > From: mobicents-public@googlegroups.com [mailto:mobicents- > > public@googlegroups.com] On Behalf Of Vilius Panevežys > >****
> > Resource Adaptor name, vendor, version are used to define which of the > > deployed RAs is used used to create a RA entity. It is normal to > > reference the tuple multiple times.
> > Maybe I didn't understand the problem. I'm attaching a sample deploy- > > config.xml that shows how I would try to do it, to make it easier to > > discuss.
> > > > 2. To configure multiple RA entities, a single RA DU is sufficient. > > > > You can define multiple RA entities in the deploy-config.xml > > without > > > > even touching resource-adaptor-jar.xml. That would simplify the > > > > process.
> > > ?? If I use the same "resource-adaptor-name" (by not touching > > > the ...jar.xml), the SLEE starts to complain. > > >****
From: mobicents-public@googlegroups.com [mailto:mobicents-public@googlegroups.com] On Behalf Of Eduardo Martins Sent: dinsdag 3 april 2012 16:53 To: mobicents-public@googlegroups.com Subject: Re: [mobicents-public] Jain-slee with multiple IP
Issue? Or is there still something wrong in the recipe?
TIA,
Tom.
Stackdump:
javax.slee.UnrecognizedActivityException
at org.mobicents.slee.resource.AbstractActivityContextInterfaceFactory.getACI( AbstractActivityContextInterfaceFactory.java:108)
at net.java.slee.resource.sip.SipActivityContextInterfaceFactoryImpl.getActivi tyContextInterface(SipActivityContextInterfaceFactoryImpl.java)
at net.sysmx.msml.MsmlSbb.channelSetUp(MsmlSbb.java:88)
at net.sysmx.msml.MsmlSbb.msmlCreateConference(MsmlSbb.java:63)
at net.sysmx.msml.MediaControlSbb.createConferenceAndCallId(MediaControlSbb.ja va:222)
at net.sysmx.msml.MediaControlSbb.onCreateConference(MediaControlSbb.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5 7)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.invokeEventHandler(SbbEn tityImpl.java:497)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.rou teQueuedEvent(EventRoutingTaskImpl.java:378)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.run (EventRoutingTaskImpl.java:126)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1 110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 603)
at java.lang.Thread.run(Thread.java:636)
From: mobicents-public@googlegroups.com [mailto:mobicents-public@googlegroups.com] On Behalf Of Eduardo Martins Sent: maandag 2 april 2012 18:06
To: mobicents-public@googlegroups.com Subject: Re: [mobicents-public] Jain-slee with multiple IP
Tom: the only thing needed to create a second RA entity is to edit the deploy-config.xml (the one in the mobicents-slee directory or the one inside the SIP RA du jar) and add:
No need for a second DU jar with hacked xml descriptors. If it doesn't work please open an issue.
Ivelin: The JAIN SLEE User Guide describes well the deploy-config.xml function and format, no need to include an example for a concrete deploy case and RA. It's useful as an article/tutorial, as done by Tom (but content in this case points to an not needed and quite complex workaround).
> -----Original Message----- > From: mobicents-public@googlegroups.com [mailto:mobicents- > public@googlegroups.com] On Behalf Of Vilius Panevežys
> Resource Adaptor name, vendor, version are used to define which of the > deployed RAs is used used to create a RA entity. It is normal to > reference the tuple multiple times.
> Maybe I didn't understand the problem. I'm attaching a sample deploy- > config.xml that shows how I would try to do it, to make it easier to > discuss.
> > > 2. To configure multiple RA entities, a single RA DU is sufficient. > > > You can define multiple RA entities in the deploy-config.xml > without > > > even touching resource-adaptor-jar.xml. That would simplify the > > > process.
> > ?? If I use the same "resource-adaptor-name" (by not touching > > the ...jar.xml), the SLEE starts to complain.
>> Tom: the only thing needed to create a second RA entity is to edit the >> deploy-config.xml (the one in the mobicents-slee directory or the one >> inside the SIP RA du jar) and add:****
>> No need for a second DU jar with hacked xml descriptors. If it doesn't >> work please open an issue.****
>> ****
>> Ivelin: The JAIN SLEE User Guide describes well the deploy-config.xml >> function and format, no need to include an example for a concrete deploy >> case and RA. It's useful as an article/tutorial, as done by Tom (but >> content in this case points to an not needed and quite complex workaround).
>> ****
>> On Mon, Apr 2, 2012 at 8:54 AM, Tom Uijldert <tom.uijld...@gmail.com> >> wrote:****
>> You're right, works fine.
>> Must've drawn the wrong conclusion in my tests, probably setting the >> IP-address in resource-adaptor-jar.xml was the problem.
>> Thanks, modified wiki accordingly.****
>> Cheers,
>> Tom.
>> > -----Original Message-----
>> > From: mobicents-public@googlegroups.com [mailto:mobicents-
>> > public@googlegroups.com] On Behalf Of Vilius Panevežys
>> >****
>> > Resource Adaptor name, vendor, version are used to define which of the
>> > deployed RAs is used used to create a RA entity. It is normal to
>> > reference the tuple multiple times.
>> > Maybe I didn't understand the problem. I'm attaching a sample deploy-
>> > config.xml that shows how I would try to do it, to make it easier to
>> > discuss.
>> > > > 2. To configure multiple RA entities, a single RA DU is sufficient.
>> > > > You can define multiple RA entities in the deploy-config.xml
>> > without
>> > > > even touching resource-adaptor-jar.xml. That would simplify the
>> > > > process.
>> > > ?? If I use the same "resource-adaptor-name" (by not touching
>> > > the ...jar.xml), the SLEE starts to complain.
>> > >****
>> ****
>> ****
>> ** **
On Tuesday, April 3, 2012 4:52:56 PM UTC+2, Eduardo Martins wrote:
>>> Tom: the only thing needed to create a second RA entity is to edit the >>> deploy-config.xml (the one in the mobicents-slee directory or the one >>> inside the SIP RA du jar) and add:****
>>> No need for a second DU jar with hacked xml descriptors. If it doesn't >>> work please open an issue.****
>>> ****
>>> Ivelin: The JAIN SLEE User Guide describes well the deploy-config.xml >>> function and format, no need to include an example for a concrete deploy >>> case and RA. It's useful as an article/tutorial, as done by Tom (but >>> content in this case points to an not needed and quite complex workaround).
>>> ****
>>> On Mon, Apr 2, 2012 at 8:54 AM, Tom Uijldert <tom.uijld...@gmail.com> >>> wrote:****
>>> You're right, works fine.
>>> Must've drawn the wrong conclusion in my tests, probably setting the >>> IP-address in resource-adaptor-jar.xml was the problem.
>>> Thanks, modified wiki accordingly.****
>>> Cheers,
>>> Tom.
>>> > -----Original Message-----
>>> > From: mobicents-public@googlegroups.com [mailto:mobicents-
>>> > public@googlegroups.com] On Behalf Of Vilius Panevežys
>>> >****
>>> > Resource Adaptor name, vendor, version are used to define which of the
>>> > deployed RAs is used used to create a RA entity. It is normal to
>>> > reference the tuple multiple times.
>>> > Maybe I didn't understand the problem. I'm attaching a sample deploy-
>>> > config.xml that shows how I would try to do it, to make it easier to
>>> > discuss.
>>> > > > 2. To configure multiple RA entities, a single RA DU is sufficient.
>>> > > > You can define multiple RA entities in the deploy-config.xml
>>> > without
>>> > > > even touching resource-adaptor-jar.xml. That would simplify the
>>> > > > process.
>>> > > ?? If I use the same "resource-adaptor-name" (by not touching
>>> > > the ...jar.xml), the SLEE starts to complain.
>>> > >****
>>> ****
>>> ****
>>> ** **
> On Tuesday, April 3, 2012 4:52:56 PM UTC+2, Eduardo Martins wrote: