Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
$istalking function after CANCEL
Author Message
epascual
Brekeke Member


Joined: 03 Sep 2015
Posts: 22
Location: Spain

PostPosted: Tue Sep 22, 2015 3:21 am    Post subject: $istalking function after CANCEL Reply with quote

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.
Back to top
View user's profile
Haddas
Brekeke Guru


Joined: 17 Jan 2008
Posts: 170

PostPosted: Tue Sep 22, 2015 9:37 pm    Post subject: Reply with quote

Because you are using Brekeke PBX, use PAL WebSocket's API instead of DialPlan.
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