Jump to content

Archive: How to manipulate the displayed name and number in SwyxIt!/SwyxPhone


Tom Wellige
 Share


Go to solution Solved by Tom Wellige,

Recommended Posts

  • Solution

The following forum topic is restored from the Swyx Forum Archive (2007-2014)

 

Quote

2007-05-26 22:36:58, Tom Wellige

 

There might me circumstances where you need to manipulate the name and / or the number that is displayed on a SwyxIt! / SwyxPhone when connecting a call.
For example you identified a caller as vip caller and want to write a VIP string into the displayed. Or you have recorded a customer or ticket id (or something like this) via dtmf. 

 

You can paste this information into the display and take it from there using the Client SDK to paste it into client sided applications.

 

There are two GSE build in properties available:

 

The first one sets or returns the displayed name/string, the second one the displayed number.

 

So, let's say you simply want to add a VIP to the displayed name (in front of it), the code would look like this:


IpPbx.CallerName = "VIP - " & IpPbx.CallerName

 

Alternatively you can also use the following two properties available on the Server Script API:

 

Note: you need to call any of these before you connect the call using any of the Connect To blocks.

 

Regards, Tom.
 

 

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.