[Spce-user] New peers
John Murray
john.murray at skyracktelecom.com
Fri Jun 28 08:27:23 EDT 2013
Yes, I see the problem.
Command:
mysql provisioning -e "select * from xmlhosts"
Gives:
+----+-----------+------+-------+----------+--------------+
| id | ip | port | path | sip_port | description |
+----+-----------+------+-------+----------+--------------+
| 1 | 127.0.0.1 | 8000 | /RPC2 | 5062 | Kamailio |
| 2 | 127.0.0.1 | 8090 | / | NULL | Sems |
| 3 | 127.0.0.1 | 5062 | / | NULL | Kamailio-SR |
| 4 | 127.0.0.1 | 5060 | / | NULL | Loadbalancer |
+----+-----------+------+-------+----------+--------------+
Yet in:
/etc/ngcp-config/network.yml
I have:
hosts:
self:
dummy0:
ip: 10.2.1.1
netmask: 255.255.255.0
type:
- sip_int
- web_int
And:
netstat -tulnp | grep kamailio
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN
25820/kamailio
tcp 0 0 10.2.1.1:5060 0.0.0.0:* LISTEN
15577/kamailio
tcp 0 0 x.x.x.x:5060 0.0.0.0:* LISTEN
15577/kamailio
tcp 0 0 x.x.x.x:5061 0.0.0.0:* LISTEN
15577/kamailio
tcp 0 0 10.2.1.1:5062 0.0.0.0:* LISTEN
25825/kamailio
udp 0 0 10.2.1.1:5060 0.0.0.0:*
15546/kamailio
udp 0 0 x.x.x.x:5060 0.0.0.0:*
15546/kamailio
udp 0 0 10.2.1.1:5062 0.0.0.0:*
25806/kamailio
This is a lab box that was 2.5 initially and has been upgraded through to
2.8.
It is possible of course that we have done something wrong in this process.
:-(
I have now changed the ip addresses in xmlhosts to the address of the dummy0
interface and that now works.
Many thanks
John
-----Original Message-----
From: spce-user-bounces at lists.sipwise.com
[mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Andreas Granig
Sent: 28 June 2013 12:50
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] New peers
Hi John,
On 06/28/2013 12:51 PM, John Murray wrote:
> Jon,
>
> Thanks for looking into this.
>
> The output from those commands does not change when I add a new group,
gateway and rule.
> It also doesn't change when I delete an existing one.
Can you please provide us the output of the following command?
mysql provisioning -e "select * from xmlhosts"
Every time you add a new gateway, the ossbss sends an xmlrpc command to
kamailio-proxy, so maybe the host/port is wrong there.
Andreas
_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
http://lists.sipwise.com/listinfo/spce-user
More information about the Spce-user
mailing list