[OpenSIPS-Users] relaying opensips with another sip server

Ali Pey alipey at gmail.com
Tue May 29 19:41:19 CEST 2012


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120529/e308c13e/attachment.htm>


More information about the Users mailing list