Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
sip client shows error: not found.
Author Message
zhu
Brekeke Junior Member


Joined: 20 Aug 2022
Posts: 8

PostPosted: Tue Aug 23, 2022 7:47 pm    Post subject: sip client shows error: not found. Reply with quote

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.
Back to top
View user's profile
redroof
Brekeke Talented


Joined: 16 Nov 2007
Posts: 97

PostPosted: Wed Aug 24, 2022 9:31 am    Post subject: Reply with quote

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.)
Back to top
View user's profile
zhu
Brekeke Junior Member


Joined: 20 Aug 2022
Posts: 8

PostPosted: Sat Aug 27, 2022 9:05 pm    Post subject: Reply with quote

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.
Back to top
View user's profile
zhu
Brekeke Junior Member


Joined: 20 Aug 2022
Posts: 8

PostPosted: Sat Aug 27, 2022 11:56 pm    Post subject: Reply with quote

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
Back to top
View user's profile
redroof
Brekeke Talented


Joined: 16 Nov 2007
Posts: 97

PostPosted: Mon Aug 29, 2022 12:33 pm    Post subject: Reply with quote

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?
Back to top
View user's profile
zhu
Brekeke Junior Member


Joined: 20 Aug 2022
Posts: 8

PostPosted: Mon Aug 29, 2022 8:24 pm    Post subject: Reply with quote

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.
Back to top
View user's profile
redroof
Brekeke Talented


Joined: 16 Nov 2007
Posts: 97

PostPosted: Tue Aug 30, 2022 8:01 am    Post subject: Reply with quote

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?
Back to top
View user's profile
zhu
Brekeke Junior Member


Joined: 20 Aug 2022
Posts: 8

PostPosted: Wed Aug 31, 2022 1:20 am    Post subject: Reply with quote

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, ""
Back to top
View user's profile
redroof
Brekeke Talented


Joined: 16 Nov 2007
Posts: 97

PostPosted: Wed Aug 31, 2022 1:49 pm    Post subject: Reply with quote

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?
Back to top
View user's profile
zhu
Brekeke Junior Member


Joined: 20 Aug 2022
Posts: 8

PostPosted: Thu Sep 15, 2022 12:21 am    Post subject: Reply with quote

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?
Back to top
View user's profile
redroof
Brekeke Talented


Joined: 16 Nov 2007
Posts: 97

PostPosted: Thu Sep 15, 2022 11:15 am    Post subject: Reply with quote

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.
Back to top
View user's profile
zhu
Brekeke Junior Member


Joined: 20 Aug 2022
Posts: 8

PostPosted: Sat Sep 17, 2022 8:44 pm    Post subject: Reply with quote

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.
Back to top
View user's profile
redroof
Brekeke Talented


Joined: 16 Nov 2007
Posts: 97

PostPosted: Tue Sep 20, 2022 10:41 am    Post subject: Reply with quote

> // 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.
Back to top
View user's profile
zhu
Brekeke Junior Member


Joined: 20 Aug 2022
Posts: 8

PostPosted: Sat Sep 24, 2022 1:58 am    Post subject: Reply with quote

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.
Back to top
View user's profile
Niloc
Brekeke Talented


Joined: 19 Sep 2017
Posts: 70
Location: NL

PostPosted: Tue Sep 27, 2022 11:11 am    Post subject: Reply with quote

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