Re: [SR-Users] Kamailio does'nt respond to packets from specific addresses

2017-03-15 Thread Daniel-Constantin Mierla
Hello,

maybe there is some IP routing mis-configuration in the server. What did
you use to see that the packets arrive on the sip server system? ngrep
or something similar?

Cheers,
Daniel


On 14/03/2017 22:06, עדי ויזגן wrote:
>
> Hi, yes Kamailio is listening to all addresses, even the destination
> address and still no response. It is weird because it only happens
> with 172.. addresses. What I did for now is I put a MikroTik router
> between the Kamailio server and the switch, and I configured it to do
> src-nat and change the source address from 172.. address to 192..
> address and now the Kamailio respond!
> So I fixed it but I don't like this solution.
> I would like to find out what causes the problem so I can really fix it.
>
>
> בתאריך יום ג׳, 14 במרץ 2017, 18:25, מאת Daniel-Constantin Mierla
> ‏>:
>
> Hello,
>
> is Kamailio listening on all the IP addresses you need to received
> the traffic? You can do:
>
> kamctl ps
>
> Also, check if you have any firewall rules blocking traffic from
> those IP addresses.
>
> Cheers,
> Daniel
>
>
> On 14/03/2017 11:34, עדי ויזגן wrote:
>> Hi everyone,
>> I have the following problem:
>> I have a Kamailio server that is connected to several Asterisk
>> servers for load balacing in a LAN network with the IP's of
>> 192.168.16.X.
>> I recently connected with another company that is supposed to
>> send me calls through the Kamailio server.
>> The problem is this:
>> I am connected to then with a cable from their network to mine.
>> My port has the address 10.9.18.198 and they come from the
>> address 172.18.177.18.
>> When I get packets from their address (172...) I can see them
>> getting to my Kamailio server, but the Kamailio does not respond.
>> It only happens when I get packets from 172 source address.
>> If I get from 192 or 10 adresses from my LAN network it works,
>> and if I get packets from real world IP's through my WAN it works.
>> Does anyone have any idea why the Kamailio does'nt respond to
>> packets from 172 adresses?
>> And how to fix this?
>> Thanks in advance!
>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org 
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> -- 
> Daniel-Constantin Mierla
> www.twitter.com/miconda  -- 
> www.linkedin.com/in/miconda 
> Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - 
> www.asipto.com 
> Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com 
> 
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> list
> sr-users@lists.sip-router.org 
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - 
www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio does'nt respond to packets from specific addresses

2017-03-14 Thread עדי ויזגן
Hi, yes Kamailio is listening to all addresses, even the destination
address and still no response. It is weird because it only happens with
172.. addresses. What I did for now is I put a MikroTik router between the
Kamailio server and the switch, and I configured it to do src-nat and
change the source address from 172.. address to 192.. address and now the
Kamailio respond!
So I fixed it but I don't like this solution.
I would like to find out what causes the problem so I can really fix it.

בתאריך יום ג׳, 14 במרץ 2017, 18:25, מאת Daniel-Constantin Mierla ‏<
mico...@gmail.com>:

> Hello,
>
> is Kamailio listening on all the IP addresses you need to received the
> traffic? You can do:
>
> kamctl ps
>
> Also, check if you have any firewall rules blocking traffic from those IP
> addresses.
>
> Cheers,
> Daniel
>
> On 14/03/2017 11:34, עדי ויזגן wrote:
>
> Hi everyone,
> I have the following problem:
> I have a Kamailio server that is connected to several Asterisk servers for
> load balacing in a LAN network with the IP's of 192.168.16.X.
> I recently connected with another company that is supposed to send me
> calls through the Kamailio server.
> The problem is this:
> I am connected to then with a cable from their network to mine. My port
> has the address 10.9.18.198 and they come from the address 172.18.177.18.
> When I get packets from their address (172...) I can see them getting to
> my Kamailio server, but the Kamailio does not respond.
> It only happens when I get packets from 172 source address.
> If I get from 192 or 10 adresses from my LAN network it works, and if I
> get packets from real world IP's through my WAN it works.
> Does anyone have any idea why the Kamailio does'nt respond to packets from
> 172 adresses?
> And how to fix this?
> Thanks in advance!
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing 
> listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - 
> www.asipto.com
> Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio does'nt respond to packets from specific addresses

2017-03-14 Thread Daniel-Constantin Mierla
Hello,

is Kamailio listening on all the IP addresses you need to received the
traffic? You can do:

kamctl ps

Also, check if you have any firewall rules blocking traffic from those
IP addresses.

Cheers,
Daniel


On 14/03/2017 11:34, עדי ויזגן wrote:
> Hi everyone,
> I have the following problem:
> I have a Kamailio server that is connected to several Asterisk servers
> for load balacing in a LAN network with the IP's of 192.168.16.X.
> I recently connected with another company that is supposed to send me
> calls through the Kamailio server.
> The problem is this:
> I am connected to then with a cable from their network to mine. My
> port has the address 10.9.18.198 and they come from the address
> 172.18.177.18.
> When I get packets from their address (172...) I can see them getting
> to my Kamailio server, but the Kamailio does not respond.
> It only happens when I get packets from 172 source address.
> If I get from 192 or 10 adresses from my LAN network it works, and if
> I get packets from real world IP's through my WAN it works.
> Does anyone have any idea why the Kamailio does'nt respond to packets
> from 172 adresses?
> And how to fix this?
> Thanks in advance!
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - 
www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio does'nt respond to packets from specific addresses

2017-03-14 Thread עדי ויזגן
Hi everyone,
I have the following problem:
I have a Kamailio server that is connected to several Asterisk servers for
load balacing in a LAN network with the IP's of 192.168.16.X.
I recently connected with another company that is supposed to send me calls
through the Kamailio server.
The problem is this:
I am connected to then with a cable from their network to mine. My port has
the address 10.9.18.198 and they come from the address 172.18.177.18.
When I get packets from their address (172...) I can see them getting to my
Kamailio server, but the Kamailio does not respond.
It only happens when I get packets from 172 source address.
If I get from 192 or 10 adresses from my LAN network it works, and if I get
packets from real world IP's through my WAN it works.
Does anyone have any idea why the Kamailio does'nt respond to packets from
172 adresses?
And how to fix this?
Thanks in advance!
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users