$istalking function after CANCEL

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
epascual
Posts: 22
Joined: Thu Sep 03, 2015 2:31 am
Location: Spain

$istalking function after CANCEL

Post by epascual »

1. Brekeke Product Name and Version:
3.5.2.6

2. Java version:
1.7

3. OS type and the version:
Windows 7

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

5. Your problem:

I have a problem with $istalking function in Dial Plan.
It returns true after CANCEL during 60 seconds.
I need this function in order to set automaticaly a conference when the phone is talking.

This is my rule:
matching Patterns:
$request = ^INVITE
To = (.+)
$istalking($geturi(To)) = true

desploy patterns:
To = 0*%1
$continue=true

I call a phone and then I cancel.
After that, If I try to call the same phone the PBX returns busy, because $istalking is true and the PBX tries to set a conference. After 60 seconds I can make a call again.
Haddas
Posts: 170
Joined: Thu Jan 17, 2008 11:55 am

Post by Haddas »

Because you are using Brekeke PBX, use PAL WebSocket's API instead of DialPlan.
Post Reply