sip client shows error: not found.

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
zhu
Posts: 8
Joined: Sat Aug 20, 2022 1:50 am

sip client shows error: not found.

Post by zhu »

1. Brekeke Product Name and Version:
Brekeke SIP Server,3.10.6.5/517-12

2. Java version:
1.8.0_301

3. OS type and the version:
Windows 10
4. UA (phone), gateway or other hardware/software involved:
microsip and hard phone
5. Your problem:
when I register the sip phone to sip server and sip client shows error: not found.
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

Did you get "not found" error just after the SIP phone sent a SIP-REGISTER request?

Are you using any DialPlan rules at your Brekeke SIP Server?
Are you using SIP authentication at your Brekeke SIP Server for SIP-REGISTER? (it is "on" in the default.)
zhu
Posts: 8
Joined: Sat Aug 20, 2022 1:50 am

Post by zhu »

hello:
Since the client has to register to Brekeke, I created three sip accounts and use the account to register to Brekeke.
Did you get "not found" error just after the SIP phone sent a SIP-REGISTER request? // yes

Are you using any DialPlan rules at your Brekeke SIP Server? // no yet
Are you using SIP authentication at your Brekeke SIP Server for SIP-REGISTER? (it is "on" in the default.) // yes.
zhu
Posts: 8
Joined: Sat Aug 20, 2022 1:50 am

Post by zhu »

I use mircosip to register to Brekeke, but server has not feedback.
svlistener: Dispatcher.1: send response=404: session is not created (outbound call)
at 08/28/22 14:52:06.820
==============================================
REGISTER sip:172.27.0.123 SIP/2.0
Via: SIP/2.0/UDP 172.27.1.3:59325;rport=59325;branch=z9hG4bKPjd23910b38a7741ce8184c6b7ba318702
Max-Forwards: 70
From: "102" <sip:102@172.27.0.123>;tag=5cb51101cdc24480a2496cb5278a7470
To: "102" <sip:102@172.27.0.123>
Call-ID: 969f784ee5db4840b658340fd1b2b336
CSeq: 27229 REGISTER
User-Agent: MicroSIP/3.21.2
Contact: "102" <sip:102@172.27.1.3:59325;ob>
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Content-Length: 0
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

Is the SIP Server running on 172.27.0.123?
Can you see 172.27.0.123 at [interface] field in [Status]->[SIP Server Status] page?
zhu
Posts: 8
Joined: Sat Aug 20, 2022 1:50 am

Post by zhu »

Yes, the SIP server IP is 172.27.0.123, the log I got is from Sip debug info. I do not know why SIP server does not send the response to back softphone.
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

Can you see 172.27.0.123 at [interface] field in [Status]->[SIP Server Status] page?

Did you edit the DialPlan file "dialplan.tbl" directly?
zhu
Posts: 8
Joined: Sat Aug 20, 2022 1:50 am

Post by zhu »

hello:
Can you see 172.27.0.123 at [interface] field in [Status]->[SIP Server Status] page?
// yes, I can see the IP from status page.
Did you edit the DialPlan file "dialplan.tbl" directly?
// i exported and open it like this below:
##
# DialPlan Table File
# File: C:/Program Files/Brekeke/sip/webapps/sip/WEB-INF/work/sv/etc/dialplan.tbl
# Date: Thu Aug 25 08:48:26.264 CST 2022
# Ver: 3.10.6.5/517-12
##
"inbound call", To="sip:([0-9]{7\,25})@";, To="sip:$1@172.27.0.100", "call from dinstar analog gateway"
"outbound call", , , "call forward to dinstar analog gateways"
"{no authorization}", $request="^REGISTER";$localhost="true";user-agent="^Brekeke";, $action=register;$auth=false;&net.registrar.upper.allow=false, ""
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

The rule "outbound call" has the issue because it doesn't have any Matching pattern conditions. (it means this rule catches REGISTER request too..)

Generally, you don't need any DialPlan rules for outbound calls.

So can you remove the "outbound call" rule from the DialPlan page, and push [Apply Rules] button?
zhu
Posts: 8
Joined: Sat Aug 20, 2022 1:50 am

Post by zhu »

hello:
I removed the "outbound call" rule from the DialPlan page. the softphone with the IP 172.27.0.123 can be registered, other phones can not regiester and always show request time out.

the 172.27.0.123 is SIP server IP self. I think somewhere in setting blocked other IPs in SIP server. Is that possible?
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

Can you send a ping to 172.27.0.123 from other phones network environments?

Did you set "172.27.0.123" as the SIP Registrar's IP address at other phones?

Can you see SIP-REGISTER sent from other phones at SIP Server's [Dial Plan]->[History] page?

Can you see other phones IP address at [Block List]-> [Blocked IP Address] page? If so, remove them from the list.
zhu
Posts: 8
Joined: Sat Aug 20, 2022 1:50 am

Post by zhu »

Can you send a ping to 172.27.0.123 from other phones network environments?
// yes, it is my working PC.
Did you set "172.27.0.123" as the SIP Registrar's IP address at other phones?
// yes, samething
Can you see SIP-REGISTER sent from other phones at SIP Server's [Dial Plan]->[History] page?
// only the history from the SIP phone from 172.27.0.123. no other records.
Can you see other phones IP address at [Block List]-> [Blocked IP Address] page? If so, remove them from the list.
// there is empty, no IP blocked.
redroof
Posts: 97
Joined: Fri Nov 16, 2007 1:46 pm

Post by redroof »

> // only the history from the SIP phone from 172.27.0.123. no other records.

172.27.0.123 is the Server's IP address. Do you run a SIP phone app on the server's localhost?

According to your old post, SIP-REGISTER was sent from 172.27.1.3.
Can you still send a SIP-REGISTER from 172.27.1.3? If so, can you find its record at [Registered Clients] page and [Dial Plan]->[History] page?

Are there any firewall running on the SIP Server's Windows 10? If so, disable the firewall or open the port 5060.
zhu
Posts: 8
Joined: Sat Aug 20, 2022 1:50 am

Post by zhu »

172.27.0.123 is the Server's IP address. Do you run a SIP phone app on the server's localhost? // yes, only this soft phone can be registered.

According to your old post, SIP-REGISTER was sent from 172.27.1.3.
Can you still send a SIP-REGISTER from 172.27.1.3? If so, can you find its record at [Registered Clients] page and [Dial Plan]->[History] page?
// no, there is no any records from 172.27.1.3.
Are there any firewall running on the SIP Server's Windows 10? If so, disable the firewall or open the port 5060.
// I disable that already.

Can i install it to other server or linux server? it took me much time to debug that.
Niloc
Posts: 70
Joined: Tue Sep 19, 2017 9:49 pm
Location: NL

Post by Niloc »

> 172.27.0.123 is the Server's IP address. Do you run a SIP phone app on the server's localhost? // yes, only this soft phone can be registered.

It seems that your OS blocks SIP packets sent from non-localhost.
Usually this issue is caused by a firewall.

> Can i install it to other server or linux server? it took me much time to debug that.

Yes. Brekeke SIP Server can be installed into Linux too.
Even if you use Linux for SIP, you need to open SIP port (UDP/TCP 5060) at a firewall running on Linux.
Post Reply