Forums Read-only archive

pbx wiht voip messagenet.it

7 posts · Brekeke PBX Forum

miami71it Original post
1. Brekeke Product Name and Version:
last

2. Java version:
last

3. OS type and the version:
win 10 pro

4. UA (phone), gateway or other hardware/software involved:
audiocode MP114

5. Your problem:

Hi, I have a Brekeke PBX switchboard on a Windows PC installed on a VMware machine. I currently use an analog line connected to an MP114 audio code. Everything works fine. However, I need to configure a VOIP line from the Messagenet.it provider. I created a new ARS with my VoIP line data. It's registered in the Register Client. To test, I'd like extension 123 to ring directly when I call the number, so without any IVR, etc. I created a PATTERN in the Matching patterns section, I put this sip:(.+)@ in TO, and in Deploy patterns, also in TO, I put sip:123@localhost. Obviously, if I call my VoIP number, the Messagenet voicemail answers, as if it weren't registered. The error is definitely on patterns in. In the dial plan, there are configurations that work on the MP114 gateway. Do I need to do something there too?
Can anyone give me some advice?
Thank you very much.
Brett
Hi

Try tweaking the Patterns – IN in your ARS route — I think that's where the issue is.
Your current matching pattern sip:(.+)@ is a bit too broad. Since Messagenet puts your DID number in the TO header of the INVITE, you'll want to match on that specifically:

Matching TO: sip:XXXXXXXXXX@ ← your actual Messagenet number
Deploy TO: 123

If that still doesn't work, look for the "Apply to Request URI instead of To" checkbox in the ARS route settings and try enabling it. Some ITSPs put the number in the Request-URI rather than the TO header, which could explain why it's not matching.
And no need to touch your MP114 dial plan — the Messagenet route runs independently, so leave that alone.

Best regards,
miami71it
Thanks for the reply, so I changed it like this:

I cinfugrated it as you suggested:

Patterns - IN
Matching patterns
TO = sip:myphonevoipnumber@
From = empty

Deploy patterns
TO = sip:(131)@
From = empty

Apply to request URL (checked)

everything else default

On the registered client, I find my extension 131 registered
and I also find
sip.messagenet.it:5060 sip:sip.messagenet.it:5060@127.0.0.1:5052
(127.0.0.1:5052)
Expires: 3600 Priority: 1000
User Agent: Brekeke PBX
Transport: UDP
Time Update: Tue Mar 31 15:48:43 CEST 2026
Brett
Hi,

Please check this instruction.
https://docs.brekeke.com/pbx/setup-for-connecting-itsp

In addition, if you want to forward a call to the user extension "131", please set "131" at the Deploy patterns TO. you don't need to write "sip:xxx@"

Thank you
miami71it
Following this document, it seems that VoIP access via the brekeke SIP server is correct? But where do I enter these data? My brekeke SIP server is already configured for analog lines used through an MP114 audiocode gateway. Do I need to add the VoIP line there as well? Do you have a document explaining how? Because configuring it only as described here still doesn't work. If I call, the number goes to voicemail.

Thanks
Brett
Hi,

VoIP line settings should not be included in the bundled SIP server's dial plan; routing is managed solely via the PBX ARS.
Do not modify the default dial plan of the bundled SIP server. It is required for proper routing between the PBX core process and the SIP server.

Best regards,
miami71it
Nothing to do if I set up messagnet.net on brekeke, in the registered clients it's ok but if I call the number it appears to be the answering machine, as if it were not online