RestComm / ussdgateway

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

SCTP not UP due a possible issue in M3UA #47

Closed rodrigoms2004 closed 7 years ago

rodrigoms2004 commented 7 years ago

Hi, I am trying to establish a SCTP communication between a Mobile Carrier and the USSD Gateway, everything seems to be correctly configurated in the SCTP and M3UA layers, but SCTP do no establishes and it finishes with a SHUTDOWN COMPLETE.

Below a dump of transmission. Does have anyone already face this problem?

18:21:29.223268 IP mobile_carrier_stp1.2905 > myUSSD_Gateway.2905: sctp (1) [INIT] [init tag: 7441816] [rwnd: 32768] [OS: 17] [MIS: 17] [init TSN: 7441816]

18:21:29.223333 IP mobile_carrier_stp1.2905 > myUSSD_Gateway.2905: sctp (1) [INIT] [init tag: 7441816] [rwnd: 32768] [OS: 17] [MIS: 17] [init TSN: 7441816]

18:21:29.223932 IP myUSSD_Gateway.2905 > mobile_carrier_stp1.2905: sctp (1) [INIT ACK] [init tag: 3894895593] [rwnd: 106496] [OS: 10] [MIS: 17] [init TSN: 4028432780]

18:21:29.353503 IP mobile_carrier_stp1.2905 > myUSSD_Gateway.2905: sctp (1) [COOKIE ECHO] 18:21:29.353572 IP mobile_carrier_stp1.2905 > myUSSD_Gateway.2905: sctp (1) [COOKIE ECHO]

18:21:29.354215 IP myUSSD_Gateway.2905 > mobile_carrier_stp1.2905: sctp (1) [COOKIE ACK] 18:21:29.354457 IP myUSSD_Gateway.2905 > mobile_carrier_stp1.2905: sctp (1) [SHUTDOWN]

18:21:29.483784 IP mobile_carrier_stp2.2905 > myUSSD_Gateway.2905: sctp (1) [HB REQ] 18:21:29.483889 IP mobile_carrier_stp2.2905 > myUSSD_Gateway.2905: sctp (1) [HB REQ]

18:21:29.483847 IP mobile_carrier_stp1.2905 > myUSSD_Gateway.2905: sctp (1) [SHUTDOWN ACK] 18:21:29.483906 IP mobile_carrier_stp1.2905 > myUSSD_Gateway.2905: sctp (1) [SHUTDOWN ACK]

18:21:29.484487 IP myUSSD_Gateway.2905 > mobile_carrier_stp2.2905: sctp (1) [HB ACK]

18:21:29.484526 IP myUSSD_Gateway.2905 > mobile_carrier_stp1.2905: sctp (1) [SHUTDOWN COMPLETE]

nhanth87 commented 7 years ago

Can you please attach pcap file and server.log

Br, TN

rodrigoms2004 commented 7 years ago

server.log, I just saw it

2017-01-10 13:54:44,162 WARN [org.mobicents.protocols.sctp.SelectorThread] (Thread-17) Received connect request from non provisioned 10.201.112.139:2905 address. Closing Channel 2017-01-10 13:57:38,789 WARN [org.mobicents.protocols.sctp.SelectorThread] (Thread-17) Received connect request from non provisioned 10.201.112.139:2905 address. Closing Channel

I put this address 10.201.112.139 from mobile carrier as a Peer of an association. In the field Peer Address I put 10.201.112.11, 10.201.112.139.

rodrigoms2004 commented 7 years ago

Ops, its worked, I put each peer in an association, SCTP is Up!

file /opt/ussdgateway/ussdgateway-master/release/target/jboss-5.1.0.GA/server/default/data/SCTPManagement_sctp.xml

<?xml version="1.0" encoding="UTF-8" ?>

~

nhanth87 commented 7 years ago

Thanks @rodrigoms2004 Please use our forum https://groups.google.com/forum/#!forum/mobicents-public or stackoverflow for your next question :)

TN

rodrigoms2004 commented 7 years ago

Roger that, thanks!

rodrigoms2004 commented 7 years ago

Hi I cant able to put a question in forum, how do I get access to do it?

nhanth87 commented 7 years ago

Hi, Did you create account in our forum? If yes then you need to wait for approving, it will take 1 - 2 days