Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Cancelling other invites based on ACK
Author Message
nathanl@ascci.ab.ca
Brekeke Member


Joined: 05 Oct 2020
Posts: 19
Location: Canada

PostPosted: Tue Nov 23, 2021 10:31 am    Post subject: Cancelling other invites based on ACK Reply with quote

1. Brekeke Product Name and Version:SIP Server 3.10.6.5

2. Java version:8

3. OS type and the version:Windows Server 2016

4. UA (phone), gateway or other hardware/software involved:Grandstream PBX

5. Your problem:

Hi All,

I am wondering if it would be possible to set up a rule where I could cancel all other SIP invites based on the Acknowledgement of 1 of them.

So...From our "Sending Device" we are sending out to 4-5 different SIP extensions on our PBX, through Brekeke. Which has a rule that just strips *s out of a FROM=URI using the patterns below.

Matching Patterns
$request = ^Invite
$Registered = ^False
To = sip:(.+)@
From = Sip:(.+)\*(.+)\*(.+)@IPADDRESS
Deploy Patterns
To = %1@IPADDRESS
From = %3@IPADDRESS

So from our Sending address we will INVITE 4-5 extensions. However with the current setup from our sending hardware, it will only ACK the INVITE based on what SIP extension answers the call. Therefore the other INVITES continue to stay active and those extensions will ring until answered. (Or internally cancelled through the sending hardware)

Would it be possible to create a rule where if 1 SIP extension Acknowledges the call (Or accepts the INVITE) cancel the remaining invites for that specific call?

We would also need this rule to match based on the SIP header AND FROM=URI not just the From=URI itself. As multiple calls can come from the same address (It just uses different information)
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 286
Location: Japan

PostPosted: Wed Nov 24, 2021 12:43 pm    Post subject: Reply with quote

There are two options.

Option-1: Use Brekeke PBX instead of Brekeke SIP Server. Brekeke PBX's group dialing feature can cancel other INVITEs without any settings.

Option-2: Ask Brekeke to develop a custom plugin which monitors ACK and sends CANCEL to other INVITEs.
Back to top
View user's profile
nathanl@ascci.ab.ca
Brekeke Member


Joined: 05 Oct 2020
Posts: 19
Location: Canada

PostPosted: Mon Nov 29, 2021 9:30 am    Post subject: Reply with quote

We can't really use Brekeke PBX, because of the way that the facility needs to work through it's own PBX.

I am more than happy to go through Brekeke's technical support, and pay them to develop a plugin or rule that would do this for us. However I'm hoping that we can determine if this is even possible before paying them (By the hour) to try and do something that may not even be possible.

This has happened to us once already where we paid for a service that ultimately didn't do us any good...
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 286
Location: Japan

PostPosted: Mon Nov 29, 2021 12:26 pm    Post subject: Reply with quote

Have you contacted Grandstream to get some advice?
Back to top
View user's profile
nathanl@ascci.ab.ca
Brekeke Member


Joined: 05 Oct 2020
Posts: 19
Location: Canada

PostPosted: Mon Nov 29, 2021 1:28 pm    Post subject: Reply with quote

I have not contacted Grandstream, as it is not really a Grandstream issue

The issue is our sending device, which the manufacturer refuses to change the way they are doing things. It would take a "re-engineering" of their hardware.

We were looking for perhaps a way around this through Brekeke, so that we could get our customers happy without waiting on them.
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 286
Location: Japan

PostPosted: Mon Nov 29, 2021 3:26 pm    Post subject: Reply with quote

Using Brekeke PBX will be a cost efficient way to avoid the issue.

But you can ask sales@brekeke.com to estimate the plugin development cost if you use Brekeke SIP Server.
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 286
Location: Japan

PostPosted: Tue Nov 30, 2021 3:07 pm    Post subject: Reply with quote

> The issue is our sending device, which the manufacturer refuses to change the way they are doing things.

What kind of device is it? Does it have a feature to send multiple calls concurrently from the same caller ID?
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