Restcomm JSS7 showing unanticipated results for the commands found in the user manual

Restcomm JSS7 showing unanticipated results for the commands found in the user manual



I am trying to use Restcomm JSS7 CLI Shell tool, and I am facing a lot of trouble. I am following the Restcomm JSS7 user Manual. According to the section titled 4.4. Running the Shell'Shell',


4.4. Running the Shell'Shell'



The ss7-cli script supports the following options


Usage: SS7 [OPTIONS]
Valid Options
-v Display version number and exit
-h This help screen



But when I enter SS7 -v or SS7 -h in the shell tool, I
get errors like Unexpected command "SS7 -v" and Unexpected
command "SS7 -h"
respectively.


SS7 -v


SS7 -h


Unexpected command "SS7 -v"


Unexpected
command "SS7 -h"



Why is that? What am I doing wrong?



Again according to the manual:



4.4.2. Connect to Managed Instance



Shell needs to connect to managed instance. Command to connect has
following structure:


connect <IP> <PORT>



Example 1.


Connect to remote machine

mobicents>connect 10.65.208.215 3435

mobicents(10.65.208.215:3435)



Host IP and port are optional, if not specified, shell will try to connect to 127.0.0.1:3435



When I simply write connect, it successly connects, and I get
prompted to enter the username and password for authentication. But
when I enter my machine's IP address, say it's XXX.XXX.XXX.XXX, or
the IP address of another remote machine, like connect 192.XXX.XXX.XXX:3435


XXX.XXX.XXX.XXX


connect 192.XXX.XXX.XXX:3435



Note: I have also tried to change the port to 2905. Same result.


2905



I get the error viz. Connection refused, and no further information. So I want to ask two things:


Connection refused




1 Answer
1



This part



The ss7-cli script supports the following options


Usage: SS7 [OPTIONS]
Valid Options
-v Display version number and exit
-h This help screen



refers to command-line options for the ss7-cli script, eg:


./ss7-cli -v



Are you trying to connect to a machine remotely? It needs to connect to port 3435 and by default it binds address $jboss.bind.address which I think is just 127.0.0.1, so you won't be able to connect to a different IP than localhost unless you re-configure this.


3435


$jboss.bind.address


127.0.0.1



You can verify this with like netstat -an | grep 3435 to see what address is bound. Firewall configuration on the server itself might also be an issue.


netstat -an | grep 3435



Keep in mind changing the bind address might not be a good idea for security. It would be best to run ss7-cli on the server itself and connect to 127.0.0.1.


ss7-cli


127.0.0.1






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Crossroads (UK TV series)

ữḛḳṊẴ ẋ,Ẩṙ,ỹḛẪẠứụỿṞṦ,Ṉẍừ,ứ Ị,Ḵ,ṏ ṇỪḎḰṰọửḊ ṾḨḮữẑỶṑỗḮṣṉẃ Ữẩụ,ṓ,ḹẕḪḫỞṿḭ ỒṱṨẁṋṜ ḅẈ ṉ ứṀḱṑỒḵ,ḏ,ḊḖỹẊ Ẻḷổ,ṥ ẔḲẪụḣể Ṱ ḭỏựẶ Ồ Ṩ,ẂḿṡḾồ ỗṗṡịṞẤḵṽẃ ṸḒẄẘ,ủẞẵṦṟầṓế