Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Secondary Brekeke forwarding REGISTER than processing
Author Message
Happy
Brekeke Junior Member


Joined: 05 Dec 2017
Posts: 7
Location: SBC

PostPosted: Wed Dec 13, 2017 4:27 am    Post subject: Secondary Brekeke forwarding REGISTER than processing Reply with quote

1. Brekeke Product Name and Version:
BSS v3.7.7.8

2. Java version: v7 update 80

3. OS type and the version: WinXP

4. UA (phone), gateway or other hardware/software involved:
Our sip client software

5. Your problem:
I have two SBC's SRV records created in DNS server with two entries with different priorities.

1. SBC8 -> (High prio) BSS server with DNS name SBC8 (X.X.X.8 IP)
2. SBC3 -> (Low prio) BSS Server with SBC3 name (X.X.X.3 IP)


My sip client has capability to query DNS and based on the high priority entry name, it will send the REGISTER to that server.
If that server does not respond to the REGISTER, retransmits same and then on TimerA expiry it will shoot REGISTER to second entry server.

Request Line: REGISTER sip:sbc.incognito.com SIP/2.0

To test this scenario, First i registered my client with SBC8 and then disconnected the n/w cable, Now on keep alive REGISTER retransmissions failure, sip client is sending the REGISTER to SBC3.
But SBC3 BSS is shooting DNS query and on finding SBC8 and highest priority it is trying to forward the REGISTER to SBC8. And finally 408 timeout request is responded back.

Basically, SBC8 is disconnected, so i want client to get register with SBC3 which is not happening. If I connected SBC8 back in the n/w, able to see clearly that SBC3 i forwarding REGISTER to SBC8 and registration successfully at SBC8 with 2 bindings (one actual sip client, second SBC3, which i dont want)

How to disable the forwarding of REGISTER and enable the request processing to occurr at SBC3 itself.

Note : If i simply try to register using IP address of SBC3, registration is successful. But in case of configurating DNS name the forwarding behaviour is observed.

FYI,
Both BSS's are NOT configured in redundancy mode. Dont want it.
Both BSS server's REGISTER authentication disabled.
Both BSS boxes are disabled with windows firwall.

Log snippet found in SBC3 as follows:

DnsResolverJNDI: OK: domain=sbc8.incognito.com type=A addr=200.1.4.8,
DnsResolverJNDI: OK: domain=sbc3.incognito.com type=A addr=200.1.4.3,
DnsResolverJNDI: OK: domain=_sip._udp.sbc.incognito.com type=SRV addr=[SRV 12 11 5060 sbc3.incognito.com] (200.1.4.3), [SRV 10 11 5060 sbc8.incognito.com] (200.1.4.Cool,
register.4: target=local thru(200.1.4.Cool
register.4: thru: send to server: to=200.1.4.8(UDP) at 12/13/17 16:23:02.859

Please help ASAP
Back to top
View user's profile
Happy
Brekeke Junior Member


Joined: 05 Dec 2017
Posts: 7
Location: SBC

PostPosted: Wed Dec 13, 2017 4:39 am    Post subject: Reply with quote

Under [Configuration]->[System]->[DNS]
DNS SRV=Enabled
DNS AAAA=Enabled
DNS Failover=Enabled

I disabled DNS SRV and Failover, and now i am getting immediate [403 Forbidden] error response for REGISTER from SBC3
Back to top
View user's profile
Mcgee
Brekeke Member


Joined: 27 Mar 2008
Posts: 18

PostPosted: Wed Dec 13, 2017 11:48 am    Post subject: Reply with quote

There are several ways.

The easiest way is to disable "Thru Registration".
Go to [Configuration] -> [SIP] page and find [Thru Registration] there.
Set it Off and restart the SIP Server.
Back to top
View user's profile
Happy
Brekeke Junior Member


Joined: 05 Dec 2017
Posts: 7
Location: SBC

PostPosted: Sun Dec 17, 2017 9:46 pm    Post subject: Reply with quote

I had disabled the "Thru Registration". Now once or twice, it got registered, but again the same issue "403 Forbidden" response is received from Brekeke. Checked whether if "Thru Registration" got auto enabled , Confirmed that it is still disabled.
Back to top
View user's profile
Mcgee
Brekeke Member


Joined: 27 Mar 2008
Posts: 18

PostPosted: Mon Dec 18, 2017 11:11 am    Post subject: Reply with quote

Are you sure that the SBC3 is still forwarding REGISTER to SBC8?
Check it with Wireshark or logs.

I suppose there is an Auth issue because "403" is returned.
Enable "Registrar" and "Authentication" at [Diagnostics]->[Debug Logs] and look at the log.
Back to top
View user's profile
Happy
Brekeke Junior Member


Joined: 05 Dec 2017
Posts: 7
Location: SBC

PostPosted: Wed Dec 27, 2017 4:59 am    Post subject: Reply with quote

Yes, because the moment i bring up SBC8 back in the network, the REGISTER is being forwarded from SBC3 to SBC8. And there are 2 bindings being mentioned in the 200 OK response. One that of client ip and second is that of SBC3.

When i enabled it showed me 408 timeout this time, same in wireshark also.
I have reset the password to make sure no auth problem. Still the same.
Back to top
View user's profile
Mcgee
Brekeke Member


Joined: 27 Mar 2008
Posts: 18

PostPosted: Wed Dec 27, 2017 12:22 pm    Post subject: Reply with quote

Are you sure you disabled "Thru Registration"? Have you restarted the SIP Server after you disabled "Thru Registration"?

Also check whether "Upper Registration" is defined or not. It should be disabled too.
Back to top
View user's profile
Happy
Brekeke Junior Member


Joined: 05 Dec 2017
Posts: 7
Location: SBC

PostPosted: Mon Jan 01, 2018 3:27 am    Post subject: Reply with quote

The "Thru Registration is disabled", Restarted the SIP Server after disabling it. Also "Upper Registration" is disabled. I double checked these.

Does the different versions of BSS will matter?
One is v3.1.6.7 and Other one is v3.7.7.8.
Back to top
View user's profile
Mcgee
Brekeke Member


Joined: 27 Mar 2008
Posts: 18

PostPosted: Tue Jan 02, 2018 2:19 pm    Post subject: Reply with quote

Can you capture REGISTER packet forwarded from SBC3 to SBC8 with Wireshark?

Do you have any DialPlan rule which expects REGISTER? If so, can you paste the DialPlan rule here?

If you feel DialPlan is difficult, ask Brekeke's support team (support@brekeke.com) to review your settings.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1