RestComm / ussdgateway

RestComm USSD Gateway
http://www.restcomm.com/
GNU Affero General Public License v3.0
90 stars 99 forks source link

Association Peer Exchange without reason #49

Open rodrigoms2004 opened 7 years ago

rodrigoms2004 commented 7 years ago

Hi

In my USSD Gateway I had a server in SCTP section with two associations

associations

asconecta2 > peer 10.201.112.11 > Port SCTP 2905 asconecta3 > peer 10.201.112.139 > Port SCTP 2905

But in server.log its change without reason, xml files and a pcap capture attached.

2017-01-20 15:50:33,926 INFO [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-172.21.25.10-8080 2017-01-20 15:50:33,945 INFO [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-172.21.25.10-8009 2017-01-20 15:50:33,951 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 26s:723ms 2017-01-20 15:53:57,544 INFO [org.mobicents.protocols.sctp.SelectorThread] (Thread-17) Connected Association [name=asconecta2, associationType=SERVER, ipChannelType=SCTP, hostAddress=, hostPort=0, peerAddress=10.201.112.11, peerPort=2905, serverName=conectaserver, extraHostAddress=[]] **2017-01-20 15:53:57,546 INFO [org.mobicents.protocols.sctp.AssociationHandler] (Thread-17) New association setup for Association=asconecta2 with 10 outbound streams, and 17 inbound streams.

2017-01-20 15:54:01,127 WARN [org.mobicents.protocols.sctp.AssociationHandler] (Thread-17) Peer Address changed to=/10.201.112.139:2905 for Association=asconecta2 2017-01-20 15:54:01,989 WARN [org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl-SccpStack] (pool-24-thread-1) Rx : MTP-RESUME: AffectedDpc=3606

ussd_20012017.pcap.zip xml_ussd.zip

**

vetss commented 7 years ago

Hello @rodrigoms2004

1) your staff refers more for SCTP or JSS7 projects (USSD GW reuses that stack). https://github.com/RestComm/sctp https://github.com/RestComm/jss7

2) as for your provided logs - I do not understand for what you complains. "Peer Address changed to=/10.201.112.139:2905 for Association" - A peer address can be changed in multi-homing case

rodrigoms2004 commented 7 years ago

Thank you very much! I will check with my ISP.

rodrigoms2004 commented 7 years ago

Hello!

I check with my ISP, and now my gateway is receiving GSM MAP packages, but there is no answer. The part of SCTP, M3UA, SCCP and TCAP is fine, but when I try the USSD code I received in mobile phone the error "rejected".

Is there some log, some tcpdump capture or some console command to check communication between JSS7 and USSD Gateway?

Best regards

vetss commented 7 years ago

Hello @rodrigoms2004

JSS7 network unfortunately has some configuring setting both in your and a peer part taht have to be properly configrued but difficult to check form a side. The common way that may be used is to capture traces and check if a proper mesasgeflow is present. You can share your traces with a network peer for checking. server.log log contains some error messages that may help you but sometimes no error there and no SS7 message exchange. There is also a publeic forum where you can ask for help - https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/restcomm