Secondary Brekeke forwarding REGISTER than processing

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
Happy
Posts: 7
Joined: Tue Dec 05, 2017 9:05 pm
Location: SBC

Secondary Brekeke forwarding REGISTER than processing

Post by Happy »

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.8),
register.4: target=local thru(200.1.4.8)
register.4: thru: send to server: to=200.1.4.8(UDP) at 12/13/17 16:23:02.859

Please help ASAP
Happy
Posts: 7
Joined: Tue Dec 05, 2017 9:05 pm
Location: SBC

Post by Happy »

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
Mcgee
Posts: 18
Joined: Thu Mar 27, 2008 12:21 pm

Post by Mcgee »

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.
Happy
Posts: 7
Joined: Tue Dec 05, 2017 9:05 pm
Location: SBC

Post by Happy »

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.
Mcgee
Posts: 18
Joined: Thu Mar 27, 2008 12:21 pm

Post by Mcgee »

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.
Happy
Posts: 7
Joined: Tue Dec 05, 2017 9:05 pm
Location: SBC

Post by Happy »

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.
Mcgee
Posts: 18
Joined: Thu Mar 27, 2008 12:21 pm

Post by Mcgee »

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.
Happy
Posts: 7
Joined: Tue Dec 05, 2017 9:05 pm
Location: SBC

Post by Happy »

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.
Mcgee
Posts: 18
Joined: Thu Mar 27, 2008 12:21 pm

Post by Mcgee »

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.
Post Reply