cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
781
Views
0
Helpful
3
Replies

problem about extension mobility invoked by interface

chao guo
Level 1
Level 1

Dear Team,

I met a problem that when I using the interface to set the extension mobility on ipphone, when I using the call manager(10.0.1-10000-22) is ok. when I change to using the call manager of 10.0.1-13010-1,It can not be set on ipphone by interface.

the source code I used like the following:

public static int login(String workstationURL,String deviceMac, String userid, String seq) {

  HttpClient client = new HttpClient();
 
  System.out.println("WorkStation URL"+workstationURL);

  StringBuffer url = new StringBuffer(workstationURL);
 
  url.append("?").append("device=").append(deviceMac.trim());

  url.append("&").append("userid=").append(userid.trim());

  url.append("&").append("seq=").append(seq.trim());

  System.out.println("url :"+url);
 
  GetMethod method = new GetMethod(url.toString());
 
  int i = 0;

  try {

   i = client.executeMethod(method);

  } catch (HttpException e) {
   e.printStackTrace();
  } catch (IOException e) {
   e.printStackTrace();
  }

   return i;
 
}

public static int logout(String workstationURL,String deviceMac) {

  HttpClient client = new HttpClient();

  StringBuffer url = new StringBuffer(workstationURL);

  url.append("?").append("device=").append(deviceMac.trim());
  url.append("&").append("&doLogout=").append(true);

  GetMethod method = new GetMethod(url.toString());
 
  int i = 0;

  try {

   i = client.executeMethod(method);

  } catch (HttpException e) {
   e.printStackTrace();
  } catch (IOException e) {
   e.printStackTrace();
  }
   return i;
}

Is there any changes between the two version of call manager ?

many thanks.

3 Replies 3

Geevarghese Cheria
Cisco Employee
Cisco Employee

Hi Chao,

   I was not able to find any bugs related to CUCM 10.0.1-13010-1 with extension mobility.  This is one bug which i found CSCup75683. Since it works for 10.0.1-10000-22 the issue could be some attributes may not be supported in the version 10.0.1-13010-1.

Request to refer the following url and see if it works to login (not programmatically) just to ensure all services are configured and up and running - Configuring Extension Mobility on CUCM 10.x | IP Telephony | Cisco Support Community | 5961 | 12210496 . Then try once again using interface to set the extension mobility .

Thanks and Regards,

Geevarghese

Hi gcheria,

Thanks a lot, I will try it follow your suggestion.

Hi gcheria,

I  try to configure the em on the cucm following the document you provided, the em can be used(not programmatically).then I using the interface to set the em, also failure.

the following is the request I push to the cucm:

http://10.124.18.23:8080/emapp/EMAppServlet?device=SEP000C29C01D3D&userid=vip1&seq=111111

Thanks.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: