Exception again on ASP start and M3UA linkset setup

768 views
Skip to first unread message

faizan naqvi

unread,
Jul 4, 2011, 11:50:48 AM7/4/11
to mobicent...@googlegroups.com
Hi

I am trying to connect to STP and I can get SCTP connection on starting of ASP. After that when I try to create M3UA linkset on AS, I get an exception and after that I don't get any response on Shell Executor.
System is Debian Squeeze and JDK from Feb with SCTP.

Also note that there is an exception on start of AS

17:40:09,911 INFO  [STDOUT] received m3ua asp start ET-ASP4
17:40:09,929 INFO  [ClientM3UAManagement] Started ASP name=ET-ASP4 local-ip=192.168.25.230 local-pot=2917 rem-ip=192.168.26.11 rem-port=2905
17:40:09,930 INFO  [AspFactory] AspFactory=ET-ASP4 New association setup with 32 outbound streams, and 32 inbound streams.

17:40:09,933 ERROR [STDERR] Exception in thread "pool-15-thread-1"
17:40:09,933 ERROR [STDERR] java.lang.NoSuchMethodError: com.sun.nio.sctp.MessageInfo.
createOutgoing(Ljava/net/SocketAddress;I)Lcom/sun/nio/sctp/MessageInfo; ----- (I can't understand why would I get this exception while SCTP is really working well)
17:40:09,934 ERROR [STDERR]     at org.mobicents.protocols.ss7.m3ua.impl.sctp.SctpChannel.doWrite(SctpChannel.java:243)
17:40:09,934 ERROR [STDERR]     at org.mobicents.protocols.ss7.m3ua.impl.M3UASelectorImpl.selectNow(M3UASelectorImpl.java:104)
17:40:09,934 ERROR [STDERR]     at org.mobicents.protocols.ss7.m3ua.impl.as.ClientM3UAProcess.execute(ClientM3UAProcess.java:137)
17:40:09,934 ERROR [STDERR]     at org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl$MtpStreamHandler.run(SccpStackImpl.java:305)
17:40:09,934 ERROR [STDERR]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
17:40:09,934 ERROR [STDERR]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
17:40:09,934 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:717)
17:40:28,063 INFO  [STDOUT] received linkset create m3ua opc 1.004.0 apc 1.005.0 ni 2 as ET-AS4 linkset1
17:40:28,070 ERROR [STDERR] Exception in thread "Thread-17"
17:40:28,081 ERROR [STDERR] java.lang.NullPointerException
17:40:28,081 ERROR [STDERR]     at org.mobicents.ss7.ShellExecutor.run(ShellExecutor.java:174)
17:40:28,081 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:717)


And this is Shell Executor console log

mobicents>ss7 connect 127.0.0.1 3435

mobicents(127.0.0.1:3435)>m3ua asp start ET-ASP4
Successfully started ASP name=ET-ASP4
mobicents(127.0.0.1:3435)>linkset create m3ua opc 1.004.0 apc 1.005.0 ni 2 as ET-AS4 linkset1
No response from server
mobicents(127.0.0.1:3435)>




--
Regards
Faizan Naqvi (Tili)

faizan naqvi

unread,
Jul 4, 2011, 11:55:28 AM7/4/11
to mobicent...@googlegroups.com
Forgot to mention versions of mobicents sw components used

mobicents-jainslee-2.4.0.FINAL-jboss-5.1.0.GA
mobicents ss7-beta9

Amit Bhayani

unread,
Jul 4, 2011, 12:22:22 PM7/4/11
to mobicent...@googlegroups.com
Hi Faizan

Definitely the API difference. Which version of JDK 7 you are using?
The one that I have is build 1.7.0-ea-b134

The old versions have changed a lot.

faizan naqvi

unread,
Jul 4, 2011, 12:34:28 PM7/4/11
to mobicent...@googlegroups.com


The one found here.
http://download.java.net/jdk7/sctp/
http://download.java.net/jdk7/sctp/jdk-7-sctp_ea-bin-b10-linux-i586-24_feb_2009.sh

The other JDK 7s taken from Oracle/Sun gave me even more issues with SCTP as mentioned in my earlier emails a few weeks ago.
jdk-7-ea-bin-b143-linux-i586-20_may_2011
jdk-7-ea-bin-b144-linux-i586-26_may_2011

Are there different versions of JDK 7 with SCTP and no SCTP support?

Amit Bhayani

unread,
Jul 4, 2011, 12:49:58 PM7/4/11
to mobicent...@googlegroups.com
Hmm that one says 2009 release

Please download from Opej JDK http://jdk7.java.net/download.html

faizan naqvi

unread,
Jul 4, 2011, 5:33:22 PM7/4/11
to mobicent...@googlegroups.com
Hi Amit

This is really confusing? Is there so much difference between JDK7 versions?
Can you send me the link to b134 JDK7. It is not in previous snapshots list anymore and I couldn't guess it.

I tried b143,b144,b147 and b146.

java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b146)
Java HotSpot(TM) Server VM (build 21.0-b16, mixed mode)

but I still get error
23:28:41,492 INFO  [STDOUT] received m3ua asp start ET-ASP4
23:28:41,502 ERROR [STDERR] Exception in thread "Thread-17"
23:28:41,503 ERROR [STDERR] java.lang.NoClassDefFoundError: com/sun/nio/sctp/SctpStandardSocketOption
23:28:41,503 ERROR [STDERR]     at org.mobicents.protocols.ss7.m3ua.impl.sctp.SctpChannel.<init>(SctpChannel.java:73)
23:28:41,503 ERROR [STDERR]     at org.mobicents.protocols.ss7.m3ua.impl.sctp.SctpChannel.open(SctpChannel.java:106)


With b147 I got error even at initializing
23:17:40,546 INFO  [SccpStackImpl] Starting routing engine...
23:17:40,546 INFO  [SccpStackImpl] Starting management ...
23:17:40,547 INFO  [SccpStackImpl] Starting MSU handler...
23:17:40,574 ERROR [STDERR] Exception in thread "pool-15-thread-1"
23:17:40,593 ERROR [STDERR] java.lang.NoSuchMethodError: com.sun.nio.sctp.MessageInfo.createOutgoing(Ljava/net/SocketAddress;I)Lcom/sun/nio/sctp/MessageInfo;
23:17:40,593 ERROR [STDERR]     at org.mobicents.protocols.ss7.m3ua.impl.sctp.SctpChannel.doWrite(SctpChannel.java:243)
23:17:40,593 ERROR [STDERR]     at org.mobicents.protocols.ss7.m3ua.impl.M3UASelectorImpl.selectNow(M3UASelectorImpl.java:104)
23:17:40,593 ERROR [STDERR]     at org.mobicents.protocols.ss7.m3ua.impl.as.ClientM3UAProcess.execute(ClientM3UAProcess.java:137)

Amit Bhayani

unread,
Jul 5, 2011, 9:56:45 PM7/5/11
to mobicent...@googlegroups.com
>>I tried b143,b144,b147 and b146.

Even these should work, but there is change SctpStandardSocketOption is renamed to SctpStandardSocketOptions. This is already committed in trunk. Please checkout latest m3ua code from trunk and try to build it on your local system.

On Tue, Jul 5, 2011 at 3:03 AM, faizan naqvi <faizan...@gmail.com> wrote:
Hi Amit

This is really confusing? Is there so much difference between JDK7 versions?
Can you send me the link to b134 JDK7. It is not in previous snapshots list anymore and I couldn't guess it.

I tried b143,b144,b147 and b146.
These versions should work. 

Junaid Saeed Uppal

unread,
Aug 4, 2011, 7:15:49 AM8/4/11
to mobicent...@googlegroups.com
Hi,

I am using Beta9 for SS7 , and am facing the exact same problem. The Java version is


Java(TM) SE Runtime Environment (build 1.7.0-b147)

Can anyone help me please?

Regards,
Junaid

Amit Bhayani

unread,
Aug 4, 2011, 7:35:20 AM8/4/11
to mobicent...@googlegroups.com
Please use Beta10. That's the latest.

Amit.

Junaid Saeed Uppal

unread,
Aug 4, 2011, 8:06:21 AM8/4/11
to mobicent...@googlegroups.com
Hi Amit,

Thanks a lot for the prompt reply , as instructed , I deployed BETA 10 , and tried using it. I can successfully start the ss7 ASP now , but it shuts down right after the initial cookie / ack.

I have attached the trace here as well. Also the config from the switch side is below

 SOURCE ADDRESS 1 . . . . . : 172.21.40.12 
SOURCE ADDRESS 2 . . . . . : 
SOURCE PORT . . . . . . . : 2905
PRIMARY DEST. ADDRESS . . : 192.168.30.88/16 
SECONDARY DEST. ADDRESS . : 
DESTINATION PORT . . . . . : 2905
DATA STREAM COUNT . . . . : 16

SPECIFICATION VERSION . . : 1.0 (RFC) 
TRAFFIC MODE . . . . . . . : OVER-RIDE 
ASP MESSAGES . . . . . . . : YES 
REGISTRATION REQUEST . . . : NO 
SSNM MESSAGES BROADCAST . : NO 
NETWORK APPEARANCE . . . . : 12
ASP MESSAGES IN IPSP . . . : YES 
ROUTING CONTEXT . . . . . : 1 
FIRST DATA STREAM NUMBER . : 1 

TACK ......................: 2 SECONDS 
M3UA HB.INTERVAL...........: 15 SECONDS 
trace-mobi.pcap

Amit Bhayani

unread,
Aug 5, 2011, 1:13:15 AM8/5/11
to mobicent...@googlegroups.com
Hi Junaid,

Trying to understand your environment. 192.68.30.88 is Mobicents Server and 172.21.40.12 is some SGW? Which gateway is this?
Shutdown is coming from this GW, can you check logs of this gw why it shutdowns SCTP connection?

Junaid Saeed Uppal

unread,
Aug 5, 2011, 5:01:35 AM8/5/11
to mobicent...@googlegroups.com
Hi Amit,

172.21.40.12 is a Nokia Siemens Network Release 4 Switch connected to our GSM network. I saw this in the trace that the R4 is sending shutdown , that's probably because of mismatch in configuration , hence i asked about the Instream and Outstream data count. From what i can see right now , I do not see anything else mismatched except the In/Out stream count.

Is there any way I can change the HB intervals and traffic modes ? 

Can I define two destination IPs for one ASP -> SG link ? 

Let me run an internal trace on the R4 switch and I'll get back to you.

If I can get this working , I'll easily be able to test it with NSN R4 , R99 and Huawei SoftX3000 switch with NSN NT-HLR as we have them available in the lab and I am also documenting everything on the way , so i should have a pretty nice contribution ready for the wiki once done.

Regards,
Junaid

Amit Bhayani

unread,
Aug 5, 2011, 5:32:20 AM8/5/11
to mobicent...@googlegroups.com
One of the community user has already tested it with NSN switch. I verified with trace from working NSN and I see exactly same cookie state, so this should work irrespective of inbound/outbound stream count. When you say heartbeat do you mean M3UA BEAT or SCTP HEARTBEAT? The pcap trace that you attached doesn't show me NSN sending SCTP heartbeat, rather it immediately shuts down the SCTP after connection established. I believe this is not protocol error but may be some logic on gw that tries to authenticate the IP:Port of far end and if failed it shuts down the connection.

Thanks for noting down the steps, it will definitely help other users.

Cheers
Amit.

Junaid Saeed Uppal

unread,
Aug 5, 2011, 5:42:28 AM8/5/11
to mobicent...@googlegroups.com
Hi Amit,

Do you have any traces / configurations available from that user specifically from the switch side ? I can replicate that on our testbed.

Regards,
Junaid

Junaid Saeed Uppal

unread,
Aug 6, 2011, 5:04:46 AM8/6/11
to mobicent...@googlegroups.com
Hi Amit,

Looking at the trace from the R4 side , The reason of the shutdown being sent is that the ASP is not sending any ASPUP message to the switch and it times out doing so , so , a couple of questions 

1. How can i set the proper counters?
2. Is there any extra step that I have to do to get the ASPUP message to be sent?
3. I see an exception as mentioned by Tili in this message at the start. How can I resolve it.

I have tried compiling the latest trunk [ which fails on TCAP ] - and also the BETA10 from source, which compiled fine. Is there anything that I am missing here? Do i need the USSD application configured to have the association come up?

I am using b147 for JDK 7.

Regards,
Junaid

Amit Bhayani

unread,
Aug 6, 2011, 6:23:58 AM8/6/11
to mobicent...@googlegroups.com
Ok lets start from beginning and try to understand what you did. 
First of all you need to have details like IP:Port of gateway, the Routing Context that has been configured at this GW. Also if SGW has setting for which IP:Port can connect to it, then your local AS needs to bind to same IP:Port. Look at command "m3ua asp create ip <ip> port <port> remip <rem-ip> remport <rem-port> <asp-name> " to understand this. rem-ip and rem-port is ur SGW ip:port.

Follow the section 5.5.2 of SS7 BETA10 docs and configure your AS correctly.

Once the config is right and moment you do "m3ua asp start <name>" it should send ASPUP and try to connect.   

before you start asp, fire wireshark and send trace.

Junaid Saeed Uppal

unread,
Aug 6, 2011, 6:58:15 AM8/6/11
to mobicent...@googlegroups.com
Hi Amit,

I deleted the config files and started again

1. This is my scenario

Mobicents

IP Address : 192.168.30.88
Port           : 2905
RC             : 1
PC             : 6535

SGW - NSN R4

IP Address : 172.21.40.12
Port           : 2905
RC             : 1
PC             : 5300

The interface being used is correct , as i took the trace on that specific interface and you can see the mobicents IP showing up as 192.168.30.88 in the trace as well.

2. Here's what i ran

=========================================================================

Mobicents SS7: release.version=1.0.0.BETA10
This is free software, with components licensed under the GNU General Public License
version 2 and other licenses. For further details visit http://mobicents.org
=========================================================================

mobicents(localhost:3435)>m3ua as create rc 1 USSDNA1SIGTRAN
Successfully created AS name=USSDNA1SIGTRAN
mobicents(localhost:3435)>m3ua asp create ip 192.168.30.88 port 2905 remip 172.21.40.12 remport 2905 ASP1
Successfully created ASP name=ASP1
mobicents(localhost:3435)>m3ua as add USSDNA1SIGTRAN ASP1
Successfully added ASP name=ASP1 to AS name=USSDNA1SIGTRAN
mobicents(localhost:3435)>m3ua route add 6535 USSDNA1SIGTRAN
AS=USSDNA1SIGTRAN successfully added as route for DPC=6535
mobicents(localhost:3435)>m3ua asp start ASP1
Successfully started ASP name=ASP1
mobicents(localhost:3435)>

3. Here's What the jboss window threw out

15:27:05,577 INFO  [STDOUT] received m3ua as create rc 1 USSDNA1SIGTRAN
15:27:15,163 INFO  [STDOUT] received m3ua asp create ip 192.168.30.88 port 2905 remip 172.21.40.12 remport 2905 ASP1
15:27:21,926 INFO  [STDOUT] received m3ua as add USSDNA1SIGTRAN ASP1
15:27:28,987 INFO  [STDOUT] received m3ua route add 6535 USSDNA1SIGTRAN
15:27:47,018 INFO  [STDOUT] [2011:08:218 15:08:18:debug] ResourceChangeScanner attempt to scan 2 resources
15:27:47,018 INFO  [STDOUT] [2011:08:218 15:08:18:debug] ResourceChangeScanner scanning directory=[UrlResource path='file:/opt/mobicents/jboss-5.1.0.GA/server/default/deploy/mobicents-ussd-gateway/rules/']
15:27:47,019 INFO  [STDOUT] [2011:08:218 15:08:19:debug] ResourceChangeScanner thread is waiting for 60
15:27:58,256 INFO  [STDOUT] received m3ua asp start ASP1
15:27:58,278 INFO  [ClientM3UAManagement] Started ASP name=ASP1 local-ip=192.168.30.88 local-pot=2905 rem-ip=172.21.40.12 rem-port=2905
15:27:58,286 INFO  [AspFactory] AspFactory=ASP1 New association setup with 32 outbound streams, and 17 inbound streams.

15:27:58,287 INFO  [AspFactory] AspFactory=ASP1 Association SHUTDOWN
15:27:58,287 ERROR [LocalAspFactory] Transition=commdown. FSM.name=ASP1 old state=DOWN, current state=UP_SENT
org.mobicents.protocols.ss7.m3ua.impl.fsm.UnknownTransitionException: Transition=commdown. FSM.name=ASP1 old state=DOWN, current state=UP_SENT
at org.mobicents.protocols.ss7.m3ua.impl.fsm.State.signal(State.java:119)
at org.mobicents.protocols.ss7.m3ua.impl.fsm.FSM.signal(FSM.java:153)
at org.mobicents.protocols.ss7.m3ua.impl.as.LocalAspFactory.handleCommDown(LocalAspFactory.java:554)
at org.mobicents.protocols.ss7.m3ua.impl.as.LocalAspFactory.onCommStateChange(LocalAspFactory.java:616)
at org.mobicents.protocols.ss7.m3ua.impl.AspFactory$AssociationHandler.handleNotification(AspFactory.java:157)
at sun.nio.ch.SctpChannelImpl.invokeNotificationHandler(SctpChannelImpl.java:909)
at sun.nio.ch.SctpChannelImpl.receive(SctpChannelImpl.java:805)
at sun.nio.ch.SctpChannelImpl.receive(SctpChannelImpl.java:730)
at org.mobicents.protocols.ss7.m3ua.impl.sctp.SctpChannel.doRead(SctpChannel.java:187)
at org.mobicents.protocols.ss7.m3ua.impl.M3UASelectorImpl.selectNow(M3UASelectorImpl.java:88)
at org.mobicents.protocols.ss7.m3ua.impl.as.ClientM3UAProcess.execute(ClientM3UAProcess.java:137)
at org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl$MtpStreamHandler.run(SccpStackImpl.java:306)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
15:27:58,290 ERROR [STDERR] Exception in thread "pool-17-thread-1" 
15:27:58,290 ERROR [STDERR] com.sun.nio.sctp.InvalidStreamException
15:27:58,291 ERROR [STDERR] at sun.nio.ch.SctpChannelImpl.checkStreamNumber(SctpChannelImpl.java:932)
15:27:58,291 ERROR [STDERR] at sun.nio.ch.SctpChannelImpl.send(SctpChannelImpl.java:951)
15:27:58,291 ERROR [STDERR] at org.mobicents.protocols.ss7.m3ua.impl.sctp.SctpChannel.doWrite(SctpChannel.java:219)
15:27:58,291 ERROR [STDERR] at org.mobicents.protocols.ss7.m3ua.impl.M3UASelectorImpl.selectNow(M3UASelectorImpl.java:104)
15:27:58,291 ERROR [STDERR] at org.mobicents.protocols.ss7.m3ua.impl.as.ClientM3UAProcess.execute(ClientM3UAProcess.java:137)
15:27:58,291 ERROR [STDERR] at org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl$MtpStreamHandler.run(SccpStackImpl.java:306)
15:27:58,291 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
15:27:58,291 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
15:27:58,291 ERROR [STDERR] at java.lang.Thread.run(Thread.java:722)

4. The trace is attached.

I still do not see any ASPUP going out from mobicents.

Really appreciate your help.

Regards,
Junaid
trace-mobiss7.pcap

Amit Bhayani

unread,
Aug 6, 2011, 1:07:18 PM8/6/11
to mobicent...@googlegroups.com
The steps are correct.

But SHUTDOWN is sent by GW in 2 ms after acknowledging the Cookie which is really strange. I have attached m3ua-impl-1.0.0-SNAPSHOT.jar to see if it really tries to send out the ASPUP packet. Please replace it in mobicents-jainslee-2.4.1.FINAL-jboss-5.1.0.GA.ussdSim/jboss-5.1.0.GA/server/default/deploy/mobicents-ss7-service/lib and try again.
m3ua-impl-1.0.0-SNAPSHOT.jar

Junaid Saeed Uppal

unread,
Aug 6, 2011, 1:50:19 PM8/6/11
to mobicent...@googlegroups.com
Hi Amit,

Please find the trace attached , still no ASPUP. Also the below is the log from the server. See the highlighted.

22:24:28,909 INFO  [M3UAManagement] M3UA configuration file path /opt/mobicents/jboss-5.1.0.GA/server/default/data/m3ua-client.xml
22:24:29,052 INFO  [ClientM3UAManagement] Started ASP name=ASP1 local-ip=192.168.30.88 local-pot=2905 rem-ip=172.21.40.12 rem-port=2905
22:24:29,057 INFO  [M3UAManagement] Started M3UAManagement
22:24:29,057 INFO  [ClientM3UAManagement] M3UA client route file path /opt/mobicents/jboss-5.1.0.GA/server/default/data/m3ua-clientroute.xml
22:24:29,091 INFO  [Router] SCCP Router configuration file path /opt/mobicents/jboss-5.1.0.GA/server/default/data/sccprouter.xml
22:24:29,092 INFO  [Router] Started LinksetManager
22:24:29,103 INFO  [SccpResource] SCCP Resource configuration file path /opt/mobicents/jboss-5.1.0.GA/server/default/data/sccpresource.xml
22:24:29,104 INFO  [SccpResource] Started Sccp Resource
22:24:29,181 INFO  [SccpStackImpl] Starting ...
22:24:29,181 INFO  [SccpStackImpl] Starting routing engine...
22:24:29,181 INFO  [SccpStackImpl] Starting management ...
22:24:29,181 INFO  [SccpStackImpl] Starting MSU handler...
22:24:29,189 INFO  [AspFactory] AspFactory=ASP1 New association setup with 32 outbound streams, and 17 inbound streams.

22:24:29,190 INFO  [AspFactory] AspFactory=ASP1 Association SHUTDOWN
22:24:29,191 ERROR [LocalAspFactory] Transition=aspdown. FSM.name=USSDNA1SIGTRAN old state=DOWN, current state=DOWN
org.mobicents.protocols.ss7.m3ua.impl.fsm.UnknownTransitionException: Transition=aspdown. FSM.name=USSDNA1SIGTRAN old state=DOWN, current state=DOWN
at org.mobicents.protocols.ss7.m3ua.impl.fsm.State.signal(State.java:119)
at org.mobicents.protocols.ss7.m3ua.impl.fsm.FSM.signal(FSM.java:153)
at org.mobicents.protocols.ss7.m3ua.impl.As.aspStateChange(As.java:255)
at org.mobicents.protocols.ss7.m3ua.impl.as.LocalAspFactory.handleCommDown(LocalAspFactory.java:555)
at org.mobicents.protocols.ss7.m3ua.impl.as.LocalAspFactory.onCommStateChange(LocalAspFactory.java:616)
at org.mobicents.protocols.ss7.m3ua.impl.AspFactory$AssociationHandler.handleNotification(AspFactory.java:157)
at sun.nio.ch.SctpChannelImpl.invokeNotificationHandler(SctpChannelImpl.java:909)
at sun.nio.ch.SctpChannelImpl.receive(SctpChannelImpl.java:805)
at sun.nio.ch.SctpChannelImpl.receive(SctpChannelImpl.java:730)
at org.mobicents.protocols.ss7.m3ua.impl.sctp.SctpChannel.doRead(SctpChannel.java:187)
at org.mobicents.protocols.ss7.m3ua.impl.M3UASelectorImpl.selectNow(M3UASelectorImpl.java:88)
at org.mobicents.protocols.ss7.m3ua.impl.as.ClientM3UAProcess.execute(ClientM3UAProcess.java:137)
at org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl$MtpStreamHandler.run(SccpStackImpl.java:306)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
22:24:29,192 INFO  [STDOUT] SctpChannel sending ASPUP Params()
22:24:29,267 INFO  [ShellExecutor] Starting SS7 management shell environment
22:24:29,274 INFO  [ShellExecutor] ShellExecutor listening at /0.0.0.0:3435
22:24:29,317 INFO  [SS7Service] [[[[[[[[[ Mobicents SS7 service started ]]]]]]]]]
22:24:29,530 ERROR [STDERR] Exception in thread "pool-17-thread-1" 
22:24:29,530 ERROR [STDERR] com.sun.nio.sctp.InvalidStreamException
22:24:29,531 ERROR [STDERR] at sun.nio.ch.SctpChannelImpl.checkStreamNumber(SctpChannelImpl.java:932)
22:24:29,531 ERROR [STDERR] at sun.nio.ch.SctpChannelImpl.send(SctpChannelImpl.java:951)
22:24:29,531 ERROR [STDERR] at org.mobicents.protocols.ss7.m3ua.impl.sctp.SctpChannel.doWrite(SctpChannel.java:219)
22:24:29,531 ERROR [STDERR] at org.mobicents.protocols.ss7.m3ua.impl.M3UASelectorImpl.selectNow(M3UASelectorImpl.java:104)
22:24:29,531 ERROR [STDERR] at org.mobicents.protocols.ss7.m3ua.impl.as.ClientM3UAProcess.execute(ClientM3UAProcess.java:137)
22:24:29,531 ERROR [STDERR] at org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl$MtpStreamHandler.run(SccpStackImpl.java:306)
22:24:29,531 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
22:24:29,531 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
22:24:29,532 ERROR [STDERR] at java.lang.Thread.run(Thread.java:722)

Regards,
Junaid
new-lib.pcap

Junaid Saeed Uppal

unread,
Aug 6, 2011, 2:03:05 PM8/6/11
to mobicent...@googlegroups.com
In addition , I am also changing the SIGU ( Signaling Unit ) on the R4 switch side as well , just to see if that might be the issue. Will send an update once I am done.

Regards,
Junaid

Junaid Saeed Uppal

unread,
Aug 6, 2011, 2:26:56 PM8/6/11
to mobicent...@googlegroups.com
Hi Amit,

Wohooo!

After changing the SIGU on the R4 side , it works , I have the association up now.

Can you please help me with the next steps now? Really appreciate yours & Pericles Oliveira's  patience and support.

Regards,
Junaid
new-lib1.pcap

Amit Bhayani

unread,
Aug 6, 2011, 3:17:56 PM8/6/11
to mobicent...@googlegroups.com
Great!

Ok now I see the NSN is configured for double exchange. Mobicents supports only single exchange. 
Pericles too faced this and he over came by some media gateway mediator.

Happy Weekend


Amit.

Junaid Saeed Uppal

unread,
Aug 6, 2011, 3:19:43 PM8/6/11
to mobicent...@googlegroups.com
Hi Amit,

The change that was done was TRAFFIC-MODE on the R4 side , it was changed from OVER-RIDE to LOADSHARE.

How do I proceed further now, I see i have to create SCCP rules now ? Can you give me the next steps? I'll read the documentation and follow accordingly.

Regards,
Junaid

Junaid Saeed Uppal

unread,
Aug 6, 2011, 7:03:22 PM8/6/11
to mobicent...@googlegroups.com
Hi Amit,

I have fixed the problem with Double Exchange. Please see the attached trace and kindly confirm.

For documentation & record purposes , for NSN R4 , the parameter , ASP MESSAGES IN IPSP should be set to NO to enable single exchange.

Kindly advise as to the next step.

Regards,
Junaid
trace1.pcap

Amit Bhayani

unread,
Sep 6, 2011, 4:32:36 AM9/6/11
to mobicent...@googlegroups.com
Hi Junaid,

I just went through your trace. Looks like MSC/HLR never acknowledged the ASPAC command sent by Mobicents. Can you check at MSC/HLR side why didn't it revert?

Regards
Amit.
Reply all
Reply to author
Forward
0 new messages