[OpenSIPS-Users] relaying opensips with another sip server
azza miled
azza.miled at gmail.com
Wed May 30 09:57:50 CEST 2012
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120530/d971da34/attachment-0001.htm>
More information about the Users
mailing list