[OpenSIPS-Users] OpenSIPS on Amazon EC2

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jan 26 10:23:11 CET 2016


Maybe some blocking iptables rules on the INPUT chain ??

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 26.01.2016 11:18, Jason Bedward wrote:
>
> No shows 0
>
> On 26 Jan 2016 09:16, "Bogdan-Andrei Iancu" <bogdan at opensips.org 
> <mailto:bogdan at opensips.org>> wrote:
>
>     And do you see any data pending on the opensips listening socket
>     (via netstat in the Recv-Q column) ?
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>     On 26.01.2016 11:08, Jason Bedward wrote:
>>
>>     Yes as I said ngrep shows traffic but no action by opensips. Very
>>     annoying as I have had it working on Amazon in the past.
>>
>>     Netstat shows opensips listening on my local host address on port
>>     5060 UDP.
>>
>>     Opensips logs not showing any traffic.
>>
>>     I have exact same config on digital ocean and it works. But I
>>     want all servers in the same place. As for my config it's the
>>     same that's on the freeswitch site wiki.
>>
>>     Regards
>>
>>     On 26 Jan 2016 08:57, "Bogdan-Andrei Iancu" <bogdan at opensips.org
>>     <mailto:bogdan at opensips.org>> wrote:
>>
>>         Do you see the incoming traffic on the opensips machine
>>         (check with ngrep/tcpdump). Have you checked if OpenSIPS is
>>         listening on the right port (where the traffic is sent to)
>>         via "netstat -ulnp| greop opensips" ? Do you see any pending
>>         data on the socket ?
>>
>>         Regards,
>>
>>         Bogdan-Andrei Iancu
>>         OpenSIPS Founder and Developer
>>         http://www.opensips-solutions.com
>>
>>         On 26.01.2016 10:46, Jason Bedward wrote:
>>>
>>>         When traiffic comes in for example options, it does not
>>>         respond or seem to process. There are no logs in opensips
>>>         for this traffic coming through.
>>>
>>>         On 26 Jan 2016 07:57, "Bogdan-Andrei Iancu"
>>>         <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>>>
>>>             In this case can you elaborate on "opensips does not
>>>             process traffic" ? do you see waiting data on the
>>>             listening sockets ?
>>>
>>>             Regards,
>>>
>>>             Bogdan-Andrei Iancu
>>>             OpenSIPS Founder and Developer
>>>             http://www.opensips-solutions.com
>>>
>>>             On 26.01.2016 00:32, Jason Bedward wrote:
>>>>             I have the below already set.:
>>>>
>>>>             alias=42.48.159.140
>>>>             listen=udp:eth0:5060
>>>>             advertised_address=42.48.159.140
>>>>
>>>>
>>>>             On Mon, Jan 25, 2016 at 1:37 PM, Jason Bedward
>>>>             <mase2hot at gmail.com <mailto:mase2hot at gmail.com>> wrote:
>>>>
>>>>                  Hi
>>>>
>>>>                 I have opensips listening to all. If I type
>>>>                 Opensips it displays local and advertised ip
>>>>                 addresses.
>>>>
>>>>                 Not sure why it's not working as it should.
>>>>
>>>>                 Regards
>>>>
>>>>                 Hi Jason,
>>>>
>>>>                 If running in Amazon, what you have to do is:
>>>>                 1) set as listener into opensips the local/private
>>>>                 IP of the machine
>>>>                 2) set as "advertise_address" and as "alias" the
>>>>                 elastic IP/public you have.
>>>>
>>>>                 Regards,
>>>>
>>>>                 Bogdan-Andrei Iancu
>>>>                 OpenSIPS Founder and Developer
>>>>                 http://www.opensips-solutions.com
>>>>
>>>>                 On 23.01.2016 20:08, Jason Bedward wrote:
>>>>>                 Hi,
>>>>>
>>>>>                 I have previously had this working without issue.
>>>>>                 But for some reason now I can not get it to work.
>>>>>                 I have set advertised IP, and Opensips is showing
>>>>>                 that its waiting for traffic on that IP.
>>>>>
>>>>>                 But when traiffic comes in OpenSIPS does not
>>>>>                 process it. I have used ngrep to monitor. OpenSIPS
>>>>>                 itself seems to be working as I have a keep alive
>>>>>                 which was talking to a freeswitch server that was
>>>>>                 working.
>>>>>
>>>>>                 I have taken the same config and put it on Digital
>>>>>                 Ocean and it worked first time.
>>>>>
>>>>>                 Also I have tried version 1.71, 1.8, 2 all with
>>>>>                 same result. Anyone having success that could give
>>>>>                 advice?
>>>>>
>>>>>                 Thanks
>>>>>
>>>>>
>>>>>                 _______________________________________________
>>>>>                 Users mailing list
>>>>>                 Users at lists.opensips.org
>>>>>                 <mailto:Users at lists.opensips.org>
>>>>>                 http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160126/a5721b91/attachment-0001.htm>


More information about the Users mailing list