This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

What is this?

This code provides the information of the called number to PopUp when a call comes to the IP phone..

    - Display image/text caller information depending on phone model.

    - Auto-hide caller information when a call is dropped.

    - Answer a call.

    - Support 

Development environment.

CUCM 11.5
Cisco JTAPI
Cisco IP Phone Services Software Development Kit
Eclipse
Spring boot
Spring Tool Suite: (installation: https://www.codejava.net/ides/eclipse/install-spring-tool-suite-for-existing-eclipse-ide)
Lombok: (installation: https://projectlombok.org/setup/eclipse)

Update project.

Right Click on CallerPopup project,  Maven > Update Project.

Build project.

Right Click on CallerPopup project,  Run As > Maven test

Run project on eclipse.

Right Click on CallerPopup project,  Run As > Spring Boot App

Setting

you change the setting to use it.

CUCM Configuration

configuration

path : /source/src/main/resource/application.properties


server.port=<APP Lisen Port>
ipps.cucm.providerString=<CUCM IP1>,<CUCM IP2>;login=<CUCM APP ID>;passwd=<CUCM APP PWD>;appinfo=callerPopup
ipps.server.url=http://<ServerIP>:<ServerPort>
ipps.path.popup = /popup
ipps.path.images = /images
ipps.path.answer = /answer
logging.level.com.comtec.ipps = DEBUG

Example

run screenshot

Code Example

You correct file to com.comtec.ipps.cp.data.ExamplePhoneBookRepository

public class ExamplePhoneBookRepository implements PhoneBookRepository {
	...
    	}
	Map<String, UserImpl> users = new HashMap<>();

	public ExamplePhoneBookRepository() {
	    // Here you write.
	    users.put("1005", new UserImpl("1005", "Sin Jageum", "SHC1005.png"));
	}

	@Override
	public PhoneUser findUserByPhoneNumber(String phoneNumber) {
	    return users.get(phoneNumber);
	}
}

License

This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details.

View code on GitHub
  • Owner

  • Contributors

    +1Github contributor
  • Categories

  • Programming Languages

    Java
  • License

    Apache License 2.0

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.