[OpenSIPS-Users] About L4 Swtich + 2 * opensips

Nick Chang nick.chang at kland.com.tw
Fri Jul 6 06:27:02 CEST 2012


Dear Ali Pey

 

Thanks for your support.

 

0922222222 register to SIP1 , 0933333333 register to SIP2.

But SIP1 and SIP2 used the same databases.

 

I saw this log, it display 404 not found.

 

Do you have any suggest??

 

Thanks

Nick

 

It’s my log 

----------------------------------------

-- 2012-07-06 12:22:08 - Sent to 10.1.3.130:5060 from 192.168.1.102:5060

INVITE sip:0933333333 at 10.1.3.130 SIP/2.0

Accept: application/sdp, message/sipfrag, multipart/mixed

Via: SIP/2.0/UDP 192.168.1.102;branch=z9hG4bKbba562b711f9280ad

Max-Forwards: 70

From: "0922222222" <sip:0922222222 at 10.1.3.130:5060>;tag=00c65d861b

To: <sip:0933333333 at 10.1.3.130>

Call-ID: 5dbbedb96b536204

CSeq: 1388828680 INVITE

Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, SUBSCRIBE

Allow-Events: refer

Contact: <sip:0922222222 at 192.168.1.102:5060>

Min-SE: 90

Session-Expires: 1800

Supported: replaces, timer

User-Agent: Media5-fone/2.14.1.194

Content-Disposition: session

Content-Type: application/sdp

Content-Length: 302

 

v=0

o=MxSIP 4545544898797536027 4545544898797536028 IN IP4 192.168.1.102

s=SIP Call

c=IN IP4 192.168.1.102

t=0 0

m=audio 10000 RTP/AVP 0 8 96 125

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:96 iLBC/8000

a=rtpmap:125 telephone-event/8000

a=fmtp:96 mode=30

a=fmtp:125 0-15

a=sendrecv

----------------------------------------

-- 2012-07-06 12:22:08 - Received from 10.1.3.130:5060 from 192.168.1.102:5060

SIP/2.0 404 Not Found

Via: SIP/2.0/UDP 192.168.1.102;received=10.1.3.168;rport=5060;branch=z9hG4bKbba562b711f9280ad

From: "0922222222" <sip:0922222222 at 10.1.3.130:5060>;tag=00c65d861b

To: <sip:0933333333 at 10.1.3.130>;tag=155c340f586c28d0300cf5a6ccf90d99-b6d1

Call-ID: 5dbbedb96b536204

CSeq: 1388828680 INVITE

Server: OpenSIPS (1.7.2-tls (x86_64/linux))

Content-Length: 0

 

 

 

----------------------------------------

-- 2012-07-06 12:22:08 - Sent to 10.1.3.130:5060 from 192.168.1.102:5060

ACK sip:0933333333 at 10.1.3.130 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.102;branch=z9hG4bKbba562b711f9280ad

Max-Forwards: 70

From: "0922222222" <sip:0922222222 at 10.1.3.130:5060>;tag=00c65d861b

To: <sip:0933333333 at 10.1.3.130>;tag=155c340f586c28d0300cf5a6ccf90d99-b6d1

Call-ID: 5dbbedb96b536204

CSeq: 1388828680 ACK

User-Agent: Media5-fone/2.14.1.194

Content-Length: 0

 

 

From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Ali Pey
Sent: Thursday, July 05, 2012 11:34 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] About L4 Swtich + 2 * opensips

 

What do you see in the logs? Is it that it can not find the other user or is it that it can not reach it? 

If you can't find the reason in the logs, then post them here.

 

Regards,

Ali Pey 

On Thu, Jul 5, 2012 at 11:05 AM, Nick <nick.chang at kland.com.tw> wrote:

Dear

 

My two opensips connected to the same location table in the same database

Thanks

Nick


Ali Pey <alipey at gmail.com> 於 2012/7/5 22:24 寫道:

Both opensips server should be connected to the same location table in the same Database.

 

Regards,

Ali Pey

 

On Thu, Jul 5, 2012 at 6:18 AM, Nick Chang <nick.chang at kland.com.tw> wrote:

Dear 

 

I have a ServerIronADX 1000. 

I have two OpenSIPS Server

 

Then I setup this L4 Switch for SIP’s load balance

 

When client1 login to SIP1 and client2 login to SIP2

Then client1 call to client2.

 

Client1 can’t call to client2. It’s failed.

 

How to setup OpenSIPS, Lets it found client1 and client2??

Thanks for your help.

 

It’s my config.

server real SIP1 10.1.3.131

port default disable

port sip

port sip udp-only

!

server real SIP2 10.1.3.132

port default disable

port sip

port sip udp-only

!

server virtual SIP-VIP 10.1.3.130

port sip

port sip udp-only

port sip reset-on-port-fail

bind sip SIP1 sip SIP2 sip

 

Thanks

Nick


_______________________________________________
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/20120706/62cf7741/attachment-0001.htm>


More information about the Users mailing list