[OpenSIPS-Users] relaying opensips with another sip server

Aft nix aftnix at gmail.com
Wed May 30 12:55:48 CEST 2012


On Wed, May 30, 2012 at 1:57 PM, azza miled <azza.miled at gmail.com> wrote:
> the two servers are running in separate physical machines. They are
> connected via an ethernet network. the ngrep command I'am using is "ngrep -p
> -q -W byline host IP_address_of_the_other_server". I don't have any port
> mirroring setup. the problem that I don't get that well. The mechanism of
> the port mirroring must be installed in the other server, right???
>
>
> 2012/5/29 Ali Pey <alipey at gmail.com>
>>
>> Are they running on two separate physical servers? or are you running the
>> opensips server on the same machine?
>> If they are on separate servers, what's your network connectivity? do you
>> have proper port mirroring setup? without port mirroring, you will not be
>> able to see any traffic unless you find a hub instead of a switch - most
>> hubs are actually switches and they send the traffic the one port only.
>> You need to first fix you network setup and examine it with ngrep or
>> tcpdump and then run opensips on that port. What's the ngrep command you are
>> running?
>>
>> Regards,
>> Ali
>>
>>
>> On Tue, May 29, 2012 at 11:51 AM, azza miled <azza.miled at gmail.com> wrote:
>>>
>>> First of all,thanks for the response. I made my opensips listen to the
>>> same port of the other server
>>>
>>> listen=udp:my_IP_Addres:7003
>>> listen=tcp:my_IP_Addres:7003
>>>
>>> I restarted OpenSIPS after that, and I used ngrep to detect traffic. But
>>> my server still does not detect any traffic coming from the other server.
>>>
>>> 2012/5/29 Ali Pey <alipey at gmail.com>
>>>>
>>>> if you uncomment the port, it will listen to the default port which is
>>>> 5060. You can never have opensips to listen to all ports. You always need to
>>>> listen to a port number. You can bind it to multiple ip addresses though.
>>>>
>>>> You need to know what port the other sip server is using and configure
>>>> the same port. Are you doing port mirroring? Use tcpdump command see if the
>>>> traffic is coming to the server.
>>>>
>>>> Regards,
>>>> Ali
>>>>
>>>> On Tue, May 29, 2012 at 10:57 AM, azza miled <azza.miled at gmail.com>
>>>> wrote:
>>>>>
>>>>> I want to make my OpenSIPS server listen to another sip server's flow.
>>>>> I uncomment the port=5060 in the opensips.cfg so, the server can listen to
>>>>> all ports but this didn't work and I don't receive any trafic from the other
>>>>> server.  In fact I have the IP adress and the port of the other server. How
>>>>> this can be useful??Can any one help, please??
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opensips.org
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

Hi,

Have you looked through "homer"?

http://www.sipcapture.org/

If you want your SER to monitor sip signaling (not proxying or load
balancing) then this project is more than useful.

Cheers.

-- 
-aft



More information about the Users mailing list