cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
990
Views
0
Helpful
2
Replies

Jabber SDK multiline

Hi,

I'm developping a web based softphone using Jabber SDK 11.8.3 and a CUCM (version 12.5 to support multi lines).

How can I select active line through SDK? I found selectLine method in Deskphone class but nothing in Softphone class.

If it is not possible through Jabber SDK is there another way?

 

Regards,

 

Beaudequin Bastian

2 Replies 2

npetrele
Cisco Employee
Cisco Employee

It should work for soft phones the same as for desk phones. As per the docs:

 

// For the sake of this example we'll assume that we have 3 available lines [1111, 1112, 1113]
         var telephonyLines = deskphone.lineDirectoryNumbers;

         // We'll select line 1112.
         var telephonyLineToSelect = telephonyLines[1]

         deskphone.selectLine(telephonyLineToSelect);

You should be able to use softphone.selectLine instead, since both softphone and deskphone extend TelephonyDevice but since only deskphone is documented, it may not be available for softphone.  I'll check with the Jabber developers. 

 

Based on the sample app, it looks like it does NOT work for softphones.  There's no option to select a line when you select the softphone, but there is an option if you select a deskphone.

 

To confirm, the Jabber SDK does not support multi-line in softphone mode