Dani40 Posted September 9, 2015 #1 Share Posted September 9, 2015 Hello. I have become a task To manipulate the "Name" entry in the Call Journal with extended customer information.I see the name is From the global or local Phonebook. Can I some how programmatically manipulate the "Name" entry for the Call Journal?I can imagine its only possible to manipulate the phonebook or some how to change the name parameter during a going call? Thank you in advance. Link to comment Share on other sites More sharing options...
Dani40 Posted September 16, 2015 Author #2 Share Posted September 16, 2015 I have seen there is this other similar Topic on this matter. So there is nothing I can do? http://www.swyxforum.com/index.php/topic/586-cnip-feature-via-telefonbuch/?hl=rufjournal Link to comment Share on other sites More sharing options...
Tom Wellige Posted September 16, 2015 #3 Share Posted September 16, 2015 You are able to manipulate an entry from within the before it is finally written in the call journal: PBXCall.PhoneCallListEntry Link to comment Share on other sites More sharing options...
Dani40 Posted September 17, 2015 Author #4 Share Posted September 17, 2015 ok that seems to be a solution.But I have not found anything like an example for the PBXCall.Cold you please give me a vbs script example.That I can do something like that PBXCall.PhoneCallListEntry.Name = PBXCall.PhoneCallListEntry.Name & "Test" for the beginning Link to comment Share on other sites More sharing options...
Tom Wellige Posted September 17, 2015 #5 Share Posted September 17, 2015 You have the code already :-) Just write it for example into an VBScript Code block: PBXCall.PhoneCallListEntry.Name = PBXCall.PhoneCallListEntry.Name & " - Test" Link to comment Share on other sites More sharing options...
Dani40 Posted September 18, 2015 Author #6 Share Posted September 18, 2015 Thank you for your answer Mr. Tom.I was not clear enough what I am missing.The object creation part is that of what I'm not Shure off. set PBXCall = WScript.CreateObject("PBXCall") PBXCall. something I presume? Link to comment Share on other sites More sharing options...
Dani40 Posted September 18, 2015 Author #7 Share Posted September 18, 2015 I'm Shure my problem is that I do not know from where exactly to start the VB script.Perhaps not separate like by the client scripts. Link to comment Share on other sites More sharing options...
Tom Wellige Posted September 18, 2015 #8 Share Posted September 18, 2015 Hallo Dani, you don't need to create the PBXCall object before you are able to use it. This has been done already by the GSE for you. The same goes for the PBXUser and PBXScript object. So all you need to do is to use the Insert Script Code block and paste the above line of code into it. Link to comment Share on other sites More sharing options...
Dani40 Posted September 21, 2015 Author #9 Share Posted September 21, 2015 Ok Thank you Mr. Tom, that is working. I already found this Article but I was not Shure if this is for server side or client side.So now I am Shure it is only for client side.https://www.swyx.com/products/support/knowledge-base/artikel-details/swyxknowledge/kb2218.html Link to comment Share on other sites More sharing options...
Tom Wellige Posted September 21, 2015 #10 Share Posted September 21, 2015 Hello Dani, call routing is server side, always. It is called by the server for any incoming call on a user (regardless if internal or external), and only the call routing then sooner or later connects the call to any of the user's devices by using the Connect To functionality. If you don't add your own call routing rules the default call routing will make sure that if a user is logged in the call will be connected to the user's devices. Link to comment Share on other sites More sharing options...
Dani40 Posted September 22, 2015 Author #11 Share Posted September 22, 2015 Hello Tom. My solution works fine with incoming call's.But not with outgoing call's.What am I missing here? Link to comment Share on other sites More sharing options...
Tom Wellige Posted September 22, 2015 #12 Share Posted September 22, 2015 Call routing is just for incoming calls. That's the reason. For outgoing calls you would have to use a client side application, that connects to the SwyxIt! via the Client SDK to grab call called number from there and then use the Config Data Store API or Powershell to manipulate the journal. But I can't give you direct pointers into it. This is the more tricky part actually... Link to comment Share on other sites More sharing options...
Dani40 Posted October 16, 2015 Author #13 Share Posted October 16, 2015 Now I do not want to manipulate only the CallJournal as it was first intended.The "CallingName" is what I want to change.I am about to try to do something with "Powershell" right now. Informative. The skin looks like this. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.