Beronet sip gateway registration

Hi to all,

the beronet do not register on freepbx.

Please can anyone tell me what is wrong?

regards

Beronet config

Freepbx:
[beronet2]
host=dynamic
context=from-trunk
type=friend
secret=beronet2
canreinvite=no
disallow=all
allow=alaw

here the log of beronet:

21/04/08-09:11:01:944975|LV0-ISGW : :Fulltrace started
21/04/08-09:11:30:869771|LV2-SIP : SIP TX: send 557 bytes to udp/[192.168.2.50]:5060 at 07:11:30.868344:
>>>>>>>>
REGISTER sip:192.168.2.50;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.2.249;rport;branch=z9hG4bK4m1vgZjQg137g
Max-Forwards: 70
From: <sip:[email protected]>;tag=3UpH3NBFmeZcN
To: <sip:[email protected]>
Call-ID: 7c1106b4-12dc-123a-eda3-c53f9ff7f32a
CSeq: 34379153 REGISTER
Contact: <sip:[email protected]:5060>
Expires: 300
User-Agent: Berofix VOIP Gateway (20.05.01)
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, INFO, REGISTER
Supported: timer, replaces, path
Content-Length: 0

>>>>>>>>
21/04/08-09:11:30:872111|LV2-SIP : SIP RX: recv 355 bytes from udp/[192.168.2.50]:5060 at 07:11:30.870504:
<<<<<<<<
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 192.168.2.249;rport=5060;received=192.168.2.249;branch=z9hG4bK4m1vgZjQg137g
Call-ID: 7c1106b4-12dc-123a-eda3-c53f9ff7f32a
From: <sip:[email protected]>;tag=3UpH3NBFmeZcN
To: <sip:[email protected]>;tag=z9hG4bK4m1vgZjQg137g
CSeq: 34379153 REGISTER
Server: FPBX-15.0.16.20(16.6.2)
Content-Length: 0

<<<<<<<<
21/04/08-09:11:57:821044|LV0-ISGW : :Fulltrace stopped

In the trunk configuration for [beronet2], add
username=beronet2

Hello, unfortunatelly also adding username the registration fails.

Recent FreePBX have chan_sip listening on port 5160, but the gateway is registering to port 5060? Is anything logged by Asterisk on registration attempts?

1 Like

When I attept to force registration of beronet into freepbx i get this at asterisk cli:
[2021-04-09 14:11:04] WARNING[10445]: res_pjsip_registrar.c:1082 registrar_on_rx_request: Endpoint ‘anonymous’ has no configured AORs

and into beronet sip trace i have: 403:forbidden

Sure, either set up the Beronet to register to 192.168.2.50:5160, or change FreePBX to use a pjsip trunk.

1 Like

Hello my friend, thanks for the solution. 5160port solved the issue

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.