bogdan, this is the output of tcpdump when I try to reload


tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 262144 bytes
17:31:18.710084 IP localhost.41580 > localhost.8888: Flags [S], seq 309153233, win 43690, options [mss 65495,sackOK,TS val 1078308369 ecr 0,nop,wscale 7], length 0 17:31:18.710099 IP localhost.8888 > localhost.41580: Flags [S.], seq 2917624240, ack 309153234, win 43690, options [mss 65495,sackOK,TS val 1078308369 ecr 1078308369,nop,wscale 7], length 0 17:31:18.710114 IP localhost.41580 > localhost.8888: Flags [.], ack 1, win 342, options [nop,nop,TS val 1078308369 ecr 1078308369], length 0 17:31:18.710172 IP localhost.41580 > localhost.8888: Flags [P.], seq 1:156, ack 1, win 342, options [nop,nop,TS val 1078308369 ecr 1078308369], length 155 17:31:18.710396 IP localhost.8888 > localhost.41580: Flags [P.], seq 1:135, ack 156, win 350, options [nop,nop,TS val 1078308369 ecr 1078308369], length 134 17:31:18.710408 IP localhost.41580 > localhost.8888: Flags [.], ack 135, win 350, options [nop,nop,TS val 1078308369 ecr 1078308369], length 0 17:31:18.710437 IP localhost.8888 > localhost.41580: Flags [P.], seq 135:181, ack 156, win 350, options [nop,nop,TS val 1078308369 ecr 1078308369], length 46 17:31:18.710443 IP localhost.41580 > localhost.8888: Flags [.], ack 181, win 350, options [nop,nop,TS val 1078308369 ecr 1078308369], length 0 17:31:18.710490 IP localhost.41580 > localhost.8888: Flags [F.], seq 156, ack 181, win 350, options [nop,nop,TS val 1078308369 ecr 1078308369], length 0 17:31:18.710520 IP localhost.8888 > localhost.41580: Flags [F.], seq 181, ack 157, win 350, options [nop,nop,TS val 1078308369 ecr 1078308369], length 0 17:31:18.710529 IP localhost.41580 > localhost.8888: Flags [.], ack 182, win 350, options [nop,nop,TS val 1078308369 ecr 1078308369], length 0


opensips.cfg that handles connectivity:

#### HTTPD module
loadmodule "httpd.so"
modparam("httpd", "port", 8888)
#### MI_HTTP module
loadmodule "json.so"
loadmodule "mi_http.so"


boxes.global.inc.php

// each server is a box

$box_id=0;

//  MI connector (via JSON backend):   json:host:port/json
$boxes[$box_id]['mi']['conn']="json:127.0.0.1:8888/json";


what do I overlook ?

On 22.08.19 11:34, Bogdan-Andrei Iancu wrote:
Hi Johan,

And if you do a "tcpdump -i any port 8888", do you see any activity when you try the reload? Is the CP trying to do the TCP connect to OpenSIPS ?

Regards,
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/
On 8/21/19 7:34 PM, johan wrote:

Hi Bogdan,

netstat -tulpn on opensipsbox:

....

tcp        0      0 0.0.0.0:8888 0.0.0.0:*               LISTEN      8881/opensips

...

opensips.cfg

#### HTTPD module
loadmodule "httpd.so"
modparam("httpd", "port", 8888)
#### MI_HTTP module
loadmodule "json.so"
loadmodule "mi_http.so"


boxes.global.inc.php

// each server is a box

$box_id=0;

//  MI connector (via JSON backend):   json:host:port/json
$boxes[$box_id]['mi']['conn']="json:127.0.0.1:8888/JSON";


Is there something that I overlook ?


On 21.08.19 17:59, Bogdan-Andrei Iancu wrote:
Hi,

I suspect your MI connector is not properly configured in CP - check if it matches the one offered by MI_HTTP in opensips (also opensips must run)

Regards,
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/
On 08/21/2019 06:34 PM, johan wrote:

Hi,


I installed opensips-cp 3.1.

Both uac_registrant and smpp work (thanks for that).

However, when I need to reload something there is no reply coming back (see below screenshot from dr_reload).

Is there something that I need to change in my opensips.cfg to make this working ?


Best regards,





_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to