I have been able to configure/integrate Kamailio OPEN IMS with FHoSS using
the Debian Image provided by the Franz Edler. I created a Debian Image on
Virtual Box with NO eth0 interface and an eth1 interface of 10.0.0.9 and a
Virtual Box HOST ONLY interface/adapter with an of 10.0.0.10. I was able to
make Soft Phone calls using Voiper and Xlite soft phone software.
I am NOW using Franz Edler's log file for creating the Debian Image as my
instruction manual to create the same type of image from "scratch" . I DO
NOT want to have the same ip as Franz(10.0.0.9) and my new Virtual Box
Instance will have to 2/two interfaces eth0 and eth1. My 'interfaces' file
is shown below.
=========================================================
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
#iface eth0 inet dhcp
iface eth0 inet static
#address 10.0.0.9
address 10.0.2.9
netmask 255.255.255.0
broadcast 10.0.0.255
gateway 10.0.2.2
#gateway 10.0.0.1
### The second Network Interface/Adapter 2
allow-hotplug eth1
iface eth1 inet static
address 192.168.56.23
netmask 255.255.255.0
======================================================
I believe I have successfully configured the DNS server on this Virtual Box
instance. My dig responses are shown below:
---------------- response for server.net1.test below
---------------------------------
; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> server.net1.test
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27331
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;server.net1.test. IN A
;; ANSWER SECTION:
server.net1.test. 86400 IN A 10.0.2.9
;; AUTHORITY SECTION:
net1.test. 86400 IN NS server.net1.test.
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 11 03:19:06 CDT 2016
;; MSG SIZE rcvd: 75
---------------- response for server2.net2.test below
---------------------------------
; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> server.net2.test
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54528
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;server.net2.test. IN A
;; ANSWER SECTION:
server.net2.test. 86400 IN A 10.0.0.7
;; AUTHORITY SECTION:
net2.test. 86400 IN NS server.net2.test.
;; Query time: 4 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 11 03:19:34 CDT 2016
;; MSG SIZE rcvd: 75
------------------------------------------------------------
---------------- response for pcscf.net1.test below
---------------------------------
; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> pcscf.net1.test
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63094
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;pcscf.net1.test. IN A
;; ANSWER SECTION:
pcscf.net1.test. 86400 IN CNAME server.net1.test.
server.net1.test. 86400 IN A 10.0.2.9
;; AUTHORITY SECTION:
net1.test. 86400 IN NS server.net1.test.
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 11 03:26:02 CDT 2016
;; MSG SIZE rcvd: 95
------------------------------------------------------------
---------------- response for icscf.net1.test below
---------------------------------
; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> icscf.net1.test
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10394
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;icscf.net1.test. IN A
;; ANSWER SECTION:
icscf.net1.test. 86400 IN CNAME server.net1.test.
server.net1.test. 86400 IN A 10.0.2.9
;; AUTHORITY SECTION:
net1.test. 86400 IN NS server.net1.test.
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 11 03:27:23 CDT 2016
;; MSG SIZE rcvd: 95
------------------------------------------------------------
---------------- response for scscf.net1.test below
---------------------------------
; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> scscf.net1.test
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52500
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;scscf.net1.test. IN A
;; ANSWER SECTION:
scscf.net1.test. 86400 IN CNAME server.net1.test.
server.net1.test. 86400 IN A 10.0.2.9
;; AUTHORITY SECTION:
net1.test. 86400 IN NS server.net1.test.
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 11 03:28:57 CDT 2016
;; MSG SIZE rcvd: 95
------------------------------------------------------------
---------------- response for hss.net2.test below
---------------------------------
; <<>> DiG 9.9.5-9+deb8u6-Debian <<>> hss.net1.test
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61098
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;hss.net1.test. IN A
;; ANSWER SECTION:
hss.net1.test. 86400 IN CNAME server.net1.test.
server.net1.test. 86400 IN A 10.0.2.9
;; AUTHORITY SECTION:
net1.test. 86400 IN NS server.net1.test.
;; Query time: 6 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 11 03:30:31 CDT 2016
;; MSG SIZE rcvd: 93
**********************************************
I am using the configuration files for CSCF P, I and S but I am NOT able to
make soft phone calls. I get time out errors. Here are the messages for
P-CSCF:
Listening on
udp: 192.168.56.23 [192.168.56.23]:4060
udp: server.net1.test [10.0.2.9]:4060
Aliases:
*: pcscf.net1.test:*
0(5915) INFO: <script>: [REGISTER] from [sip:bob@net1.test] to
[sip:bob@net1.test]
0(5915) ERROR: <script>: REGISTER (sip:bob@net1.test (192.168.56.1:64139)
to sip:bob@net1.test, 80103NTc1MDNlNTNjNzUyYjlhZjM4MmM1NzRlYWZlNWIxZmE)
/////////////////////////////////////////////////////////////////////////////////
Messages for I-CSCF:
Listening on
udp: 192.168.56.23 [192.168.56.23]:5060
udp: server.net1.test [10.0.2.9]:5060
Aliases:
*: icscf.net1.test:*
10(5931) WARNING: cdp [receiver.c:864]: peer_connect(): peer_connect():
Trying to connect to 10.0.2.9 port 3868
10(5931) WARNING: cdp [receiver.c:911]: peer_connect(): peer_connect():
Error opening connection to to 10.0.2.9 port 3868 >Connection refused
9(5930) INFO: cdp [tcp_accept.c:178]: accept_connection():
accept_connection(): new tcp connection accepted!
7(5928) INFO: cdp [receiver.c:183]: add_serviced_peer():
add_serviced_peer(): Adding serviced_peer_t to receiver for peer []
7(5928) INFO: cdp [receiver.c:243]: drop_serviced_peer():
drop_serviced_peer(): Dropping serviced_peer_t from receiver for peer
[hss.net1.test]
/////////////////////////////////////////////////////////////////////////////////
Messages for S-CSCF:
Listening on
udp: 192.168.56.23 [192.168.56.23]:6060
udp: server.net1.test [10.0.2.9]:6060
Aliases:
*: scscf.net1.test:*
10(5944) WARNING: cdp [receiver.c:864]: peer_connect(): peer_connect():
Trying to connect to 10.0.2.9 port 3868
10(5944) WARNING: cdp [receiver.c:911]: peer_connect(): peer_connect():
Error opening connection to to 10.0.2.9 port 3868 >Connection refused
9(5943) INFO: cdp [tcp_accept.c:178]: accept_connection():
accept_connection(): new tcp connection accepted!
7(5941) INFO: cdp [receiver.c:183]: add_serviced_peer():
add_serviced_peer(): Adding serviced_peer_t to receiver for peer []
7(5941) INFO: cdp [receiver.c:243]: drop_serviced_peer():
drop_serviced_peer(): Dropping serviced_peer_t from receiver for peer
[hss.net1.test]
/////////////////////////////////////////////////////////////////////////////////
What am I doing wrong that my soft phone calls don't REGISTER successfully?
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/Configuring-Integrating-Kamailio-Op…
Sent from the Users mailing list archive at
Nabble.com.