UP Link between mobicent m3ua and Diglogic m3ua

472 views
Skip to first unread message

thangdh

unread,
May 7, 2012, 2:56:06 AM5/7/12
to mobicents-public
Hello everybody,
I'm newbie in Mobicent I set up Jboss server and mobicent ss7
service. Everything is ok like that:

15:20:14,553 INFO [M3UAManagement] Started M3UAManagement
15:20:14,579 INFO [SccpStackImpl-SccpStack] Starting ...
15:20:14,593 INFO [Router] SCCP Router configuration file path /home/
thangdh/mobicents-jainslee-2.6.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA/
server/default/data/SccpStack_sccprouter.xml
15:20:14,594 INFO [Router] Started SCCP Router
15:20:14,594 INFO [SccpResource] SCCP Resource configuration file
path /home/thangdh/mobicents-jainslee-2.6.0.FINAL-jboss-5.1.0.GA/
jboss-5.1.0.GA/server/default/data/SccpStack_sccpresource.xml
15:20:14,595 INFO [SccpResource] Started Sccp Resource
15:20:14,595 INFO [SccpStackImpl-SccpStack] Starting routing
engine...
15:20:14,595 INFO [SccpStackImpl-SccpStack] Starting management ...
15:20:14,595 INFO [SccpStackImpl-SccpStack] Starting MSU handler...
15:20:14,634 INFO [ShellExecutor] Starting SS7 management shell
environment
15:20:14,646 INFO [ShellExecutor] ShellExecutor listening at /
127.0.0.1:3435
15:20:14,695 INFO [SS7Service] [[[[[[[[[ Mobicents SS7 1.0.0.CR3
service started ]]]]]]]]]
15:20:14,752 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on
http-127.0.0.1-8080
15:20:14,776 INFO [AjpProtocol] Starting Coyote AJP/1.3 on
ajp-127.0.0.1-8009
15:20:14,801 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA
(build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 52s:986ms

now i wanna connect between mobicent and Diglogic through m3ua.

i used ss7-run.sh script to run shell client .
now i have mobicent command line interface
I used ss7 connect xxx.xxx.xxx.xxx to connect mobicent with
xxx.xxx.xxx.xxx ip address ( ip of Diglogic machine)
But i can''t connect ss7 to Diglogic machine (. The result is
returned : Connection refused ( i can't connect to localhost)

Anyone help me fix that error and show me how to up link m3ua.

Thanks and best regards

Amit Bhayani

unread,
May 7, 2012, 4:24:36 AM5/7/12
to mobicent...@googlegroups.com
1) Use Mobicents jSS7 1.0.0.FINAL http://www.mobicents.org/ss7/downloads.html
3) Mobicents CLI connects with Mobicents jSS7 only.

4) Dialogic can be tested with Mobicents in p2p mode (IPSP). So after you configure Dialogic (read dialogic document for this), Mobicents can be configured to work in IPSP mode. If Dialogic is acting as server, mobicents will act as client and vice-versa


Amit.

allowall

unread,
May 8, 2012, 3:36:44 AM5/8/12
to mobicents-public
Hi Amit,
Thanks for your replay
I followed your steps and in shell client CLI i connect ss7 with
localhost :3435
Then i config with :

sctp association create MTRAssoc CLIENT 192.168.36.72 2905
192.168.36.233 2905

m3ua as create MTRAS IPSP mode DE ipspType server rc 1 traffic-mode
loadshare

m3ua route add MTRAS 1 -1 -1

m3ua asp create MTRASP MTRAssoc

m3ua as add MTRAS MTRASP

m3ua asp start MTRASP

IP: 192.168.36.233 is Diglogic machine (server)
IP: 192.168.36.72 is mobicent machine(client)

but i could not also ss7 connect to Diglogic machine.

Below is server log i receive when create sctp association,as,asp:

12:43:34,492 INFO [STDOUT] received m3ua as create MTRAS IPSP mode DE
ipspType server rc 1 traffic-mode loadshare
12:43:57,951 INFO [STDOUT] received m3ua route add MTRAS 1 -1 -1
12:44:23,172 INFO [STDOUT] received m3ua asp create MTRASP MTRAssoc
12:44:43,711 INFO [STDOUT] received m3ua as add MTRAS MTRASP
12:44:57,226 INFO [STDOUT] received m3ua asp start MTRASP
12:44:57,227 INFO [AssociationImpl] Started Association=Association
[name=MTRAssoc, associationType=CLIENT, ipChannelType=SCTP,
hostAddress=192.168.36.233, hostPort=2905, peerAddress=192.168.36.72,
peerPort=2905, serverName=, extraHostAddress=[]]
12:45:27,334 ERROR [SelectorThread] Error while selecting the ready
keys
java.lang.UnsupportedOperationException: libsctp.so.1: cannot open
shared object file: No such file or directory
at sun.nio.ch.SctpNet.socket0(Native Method)
at sun.nio.ch.SctpNet.socket(SctpNet.java:83)
at sun.nio.ch.SctpChannelImpl.<init>(SctpChannelImpl.java:131)
at com.sun.nio.sctp.SctpChannel.open(SctpChannel.java:165)
at
org.mobicents.protocols.sctp.AssociationImpl.doInitiateConnectionSctp(AssociationImpl.java:
614)
at
org.mobicents.protocols.sctp.AssociationImpl.initiateConnection(AssociationImpl.java:
590)
at
org.mobicents.protocols.sctp.SelectorThread.run(SelectorThread.java:
116)
at java.lang.Thread.run(Thread.java:722)

Do you think about this error?
i really want to receive your replay because i stopped with up link
m3ua for a long time
Thanks and best regards,




On May 7, 3:24 pm, Amit Bhayani <amit.bhay...@gmail.com> wrote:
> 1) Use Mobicents jSS7 1.0.0.FINALhttp://www.mobicents.org/ss7/downloads.html
> 2) Read the documentation on CLIhttp://www.mobicents.org/ss7/docs/ss7/1.0.0.FINAL/en-US/pdf/Mobicents...

Amit Bhayani

unread,
May 8, 2012, 4:04:53 AM5/8/12
to mobicent...@googlegroups.com
You don't have lksctp module installed in your linux OS.

Dinh Hung Thang

unread,
May 8, 2012, 4:22:01 AM5/8/12
to mobicent...@googlegroups.com
Hi Amit,
Thanks for your replay

i installed lksctp on Fedora 10.
I started Jboss server and SS7 service again.
Another error appeared after that and i don't know how to solve it: 

ERROR [SelectorThread] Error while selecting the ready keys
java.net.SocketException: Permission denied
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:344)
at sun.nio.ch.Net.bind(Net.java:336)
at sun.nio.ch.SctpChannelImpl.bind(SctpChannelImpl.java:183)
at org.mobicents.protocols.sctp.AssociationImpl.doInitiateConnectionSctp(AssociationImpl.java:618)

at org.mobicents.protocols.sctp.AssociationImpl.initiateConnection(AssociationImpl.java:590)
at org.mobicents.protocols.sctp.SelectorThread.run(SelectorThread.java:116)
at java.lang.Thread.run(Thread.java:722)

i think there 's something wrong in my connection. i turned off firewall but it's not ok.

Could you assistant me to fix this error or hint me something?

Thank you very much,

Amit Bhayani

unread,
May 8, 2012, 4:34:21 AM5/8/12
to mobicent...@googlegroups.com
This doesn't look like jSS7 issue.

Are you able to create a simple sctp socket and bind to IP:Port? Looks like you don't have permission in OS for this. Tried with super user ?

Amit.

Dinh Hung Thang

unread,
May 8, 2012, 10:54:10 PM5/8/12
to mobicent...@googlegroups.com
Hi Amit,
Great to receive your replay
I try with super user but it's not ok.
But when i disable SELinux this error is pass but another error appears:

java.net.BindException: Cannot assign requested address

at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:344)
at sun.nio.ch.Net.bind(Net.java:336)
at sun.nio.ch.SctpChannelImpl.bind(SctpChannelImpl.java:183)
at org.mobicents.protocols.sctp.AssociationImpl.doInitiateConnectionSctp(AssociationImpl.java:618)
at org.mobicents.protocols.sctp.AssociationImpl.initiateConnection(AssociationImpl.java:590)
at org.mobicents.protocols.sctp.SelectorThread.run(SelectorThread.java:116)
at java.lang.Thread.run(Thread.java:722)

I think mobicent is ok but there 's some problem with my JDK version. 
This is my config:
+ Fedora 10
+ Mobicent jainslee FINAL, mobicent ss7 - FINAL
+ JDK 1. 7.0_03

Do  you think about this error and my config?

Thanks and best regards,

Amit Bhayani

unread,
May 9, 2012, 3:54:52 AM5/9/12
to mobicent...@googlegroups.com
From your last post

IP: 192.168.36.233 is Diglogic machine (server)
IP: 192.168.36.72 is mobicent machine(client)


sctp association create MTRAssoc CLIENT 192.168.36.72 2905 192.168.36.233 2905


Please read the manual again. The command for client side association is 
sctp association create <assoc-name> <CLIENT | SERVER> <server-name> <peer-ip> <peer-port> <host-ip> <host-port> <socket-type>


for you peer == dialogic and host == mobicents

Dinh Hung Thang

unread,
May 11, 2012, 5:00:31 AM5/11/12
to mobicent...@googlegroups.com
Hello Amit,
Sorry for late response
I read the SS7 manual and  set up SS7 service on Cent OS 6 again
The result is satisfactory. Link m3ua is up and i'm trying to send USSD message from Diglogic machine to Mobicent machine
 i set up Diglogic on Win xp. Due to the wiki , i don't know where is "[INFO] message Mobicent JAINSLEE Server console" to receive USSD message and respone it.

After Association up , i execute this command 
ussdtest -d6 -g43010008 -a43020008 -i987654321 -s"1" -U*88#
from Diglogic machine but i receive "fail to send message"
What happened with my steps?
Thanks very much,
Reply all
Reply to author
Forward
0 new messages