PDA

View Full Version : Closing a call started from Pbx extension using 3pcc



yellowgrid
08-10-2009, 12:26 PM
We want to be able to restrict outgoing calls based on configuration and called number. Is this possible using the 3pcc?

From a DialogArrived event, closing the call on a callID (CloseCall()) returns true but has no effect and the call continues regardless.

intigran
08-10-2009, 01:00 PM
Hello.

You can close calls which are created with CreateCall or handled by OnCallArrived event.
You can restrict outgoing calls by using routing rules with 3pCC check. Your 3pCC application should decline call indicated by OnCallOriginated event to restrict it.

Hope this will help.

Regards
Tigran

yellowgrid
08-11-2009, 10:55 AM
You can restrict outgoing calls by using routing rules with 3pCC check. Your 3pCC application should decline call indicated by OnCallOriginated event to restrict it.



Hi Tigran,

Thanks for this. I do not seem to have OnCallOriginated in any of my documentation or withing the control itself. I am running Quadro control 2.0.3.0.

Is there an alternate version with more functionality?

intigran
08-11-2009, 01:18 PM
Hello.

What is your Quadro's firmware version?

Thanks
Tigran

yellowgrid
08-11-2009, 02:43 PM
Hello.

What is your Quadro's firmware version?

Thanks
Tigran

Firmware Version: 5.0.16SLR/Release

intigran
08-12-2009, 01:56 AM
hi,

If it is possible please upgrade your firmware to 5.1.x,
For SW 5.0.x use ActiveX 2.0.5.0 version, SW 5.1.x use ActiveX 2.1.2.0 version, which are placed on Downloads section at http://www.epygi.com.

Thanks
Tigran

yellowgrid
08-22-2009, 05:20 AM
hi,

If it is possible please upgrade your firmware to 5.1.x,
For SW 5.0.x use ActiveX 2.0.5.0 version, SW 5.1.x use ActiveX 2.1.2.0 version, which are placed on Downloads section at http://www.epygi.com.

Thanks
Tigran

Hi Tigran,

I have done this at last.

I am now subscribing to the call routing (SubscribeToCR method) which is returning ok in a SubscriptionConfirmed event.

Problem is tha the CallOriginated event never fires. I have ensured that 3PCC is enabled in the relevant routing table lines.

Any ideas as to why this event does not fire?

Thanks

intigran
08-22-2009, 02:00 PM
Hi.

Please clarify what is your installed ActiveX version. Did you try to catch that event with CallControlTest application included in CallControl Pack?

Thanks
Tigran

yellowgrid
08-23-2009, 06:02 AM
Hi.

Please clarify what is your installed ActiveX version. Did you try to catch that event with CallControlTest application included in CallControl Pack?

Thanks
Tigran

Hi Tigran,

ActiveX conrtrol is 2.1.2.0

I have run the CallControlTest application and it works fine.

However, I am coding in vb.net (2008)

All the events fire correctly except for the CallOriginated event.

I have stripped down the code to a test version as shown below which still fails:

Public Class Form1

Private m_strCrSubscriptionId As String = ""

Private m_blnIsConnected As Boolean = False

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
m_blnIsConnected = AxCallcontrol1.Connect("xxx.xxx.xxx.xxx", 4849, 10, "admin", "xxxxxx")

lblOK.Visible = m_blnIsConnected
End Sub

Private Sub btnRegister_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRegister.Click
m_strCrSubscriptionId = AxCallcontrol1.SubscribeToCR
End Sub

Private Sub AxCallcontrol1_CallOriginated(ByVal sender As Object, ByVal e As AxCALLCONTROLLib._DCallcontrolEvents_CallOriginate dEvent) Handles AxCallcontrol1.CallOriginated
MsgBox("Originated")
End Sub

Private Sub AxCallcontrol1_SubscriptionConfirmed(ByVal sender As Object, ByVal e As AxCALLCONTROLLib._DCallcontrolEvents_SubscriptionC onfirmedEvent) Handles AxCallcontrol1.SubscriptionConfirmed
If e.subscrID = m_strCrSubscriptionId Then
btnRegister.BackColor = Color.Green
End If
End Sub
End Class

intigran
08-24-2009, 05:55 AM
Hi.

We found that there is problem in CallOriginated event while using vb.net 2008. The problem fixed and it will be included in the next release. The next release is expected to be published in the second half of next month.
If you need that very urgently I can e-mail it to you.

Thanks,
Tigran

yellowgrid
09-01-2009, 11:21 AM
Hi.

We found that there is problem in CallOriginated event while using vb.net 2008. The problem fixed and it will be included in the next release. The next release is expected to be published in the second half of next month.
If you need that very urgently I can e-mail it to you.

Thanks,
Tigran

Yes please, could you email me a copy.

Thank you

(See your inbox for the address)