cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1695
Views
15
Helpful
5
Replies

CMS and LDAP

j.huizinga
Level 6
Level 6

Hi,

I have an CMS server configured and have configured the Active Directory. Our issue is that in AD we have E164 numbers, but we want our space ID to be the last 3 digits of the E164 number. We could populate the iPhone field in AD, but this is a lot of work

Any idea?

 

Thanks

 

JH

2 Accepted Solutions

Accepted Solutions

Here's an example I copied from another forum post and then changed:

 

88$telephoneNumber|'/^\+(.{7})//'$

 

I think the way this works is it imports the telephoneNumber field from AD but ignores the first 7 characters and prefix's with '88' so the Space URI ends up being 88<extension>.

View solution in original post

5 Replies 5

Jaime Valencia
Cisco Employee
Cisco Employee

Here's an example I copied from another forum post and then changed:

 

88$telephoneNumber|'/^\+(.{7})//'$

 

I think the way this works is it imports the telephoneNumber field from AD but ignores the first 7 characters and prefix's with '88' so the Space URI ends up being 88<extension>.

Thanks, works perfectly!

Hi , last post was very helpfull , but if i want to delete domain part from email field , how can i get it?

i want that email field : example@domain.com  become only example

Regards

Hi , i already found it:

 

example@domain.com  become only example

Solution:   $mail|'/@domain.com//'$

 

Regards