Adding Entity Value to Alias Database

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
JRayfield
Posts: 147
Joined: Mon Dec 03, 2012 5:50 pm
Location: Springfield, MO

Adding Entity Value to Alias Database

Post by JRayfield »

1. Brekeke Product Name and Version:
SIP Server
2. Java version:
11.0.16
3. OS type and the version:
Windows Server 20212
4. UA (phone), gateway or other hardware/software involved:
3CX
5. Your problem:

In my Dial Plan, I have the following lines in the Matching Patterns:

To = sip:(.+)@
$alias.lookup("%1") = (.+)/(.+)

For each line in the Alias Database, I have something like this:

1xxxxxxxxxx,User/true

The '/true' (or in some cases, /false) is the setting for "$rtp=" in the Deploy Patterns.

This allows me to either enable or disable audio routing through my server for each user.

I now want to include another line in the Deploy Patterns: $transport = TCP (or $transport = UDP) for each user.

So I used this Matching Pattern:

To = sip:(.+)@
$alias.lookup("%1") = (.+)/(.+)/(.+)

I adjusted the buffer numbers to take into account the new (/.+) in the $alias.lookup line.

In my alias database, I changed each record to look like this:

1xxxxxxxxxx,User/true/udp
or
1xxxxxxxxxx,User/true/tcp

When I attempted to upload the new alias database information, I received errors (it did not upload any records).

What am I doing wrong?
John Rayfield, Jr. CETma
Rayfield Communications
Springfield, MO
www.rayfield.net
JRayfield
Posts: 147
Joined: Mon Dec 03, 2012 5:50 pm
Location: Springfield, MO

Post by JRayfield »

I think I figured out what the problem was. I was deleting the Group value in the new file.

John
John Rayfield, Jr. CETma
Rayfield Communications
Springfield, MO
www.rayfield.net
Ericcc
Posts: 24
Joined: Mon Apr 21, 2014 9:46 am
Location: NY, USA

Post by Ericcc »

Yes. you are right. You need the Group field.
Post Reply