I'm currently working on an implementation where the customer's AD is going to be the system-of-record and we want all the contact data to be brought in via AD. This is pretty much standard out-of-the-box functionality, with the exception of the user's extension. Currently they're keeping that data in the field 'IpPhone' in AD, so I created a mapping for IpPhone -> Work Phone 2, but the problem I'm running into is that it will populate the phone number box and not the extension.
I tried a number of different numbering formats (using (), /, ^, ext. XXXX, etc.) but none of those worked. So I looked in the API and it looks like extension is considered a property of the work_phone_2 entity. So, for example, if I "hard code" a users extension in their profile, I get output in the API that looks like this:
"phone_work_2": [
{
"rel": {
"errorCode": "INVALID_NUMBER"
},
"_id": "3DxOoYwJHyC2o2M3OBxSzB",
"labelKey": "phone_work_2",
"value": {
"number": "",
"extension": "7115",
"acceptsSMS": false,
"countryCode": "US"
}
}
]
However, if I allow AD to try to populate that value, I get:
"phone_work_2": [
{
"rel": {
"e164": null
},
"_id": "2FORMs3cGlkZ01GoG5phnV",
"labelKey": "phone_work_2",
"value": {
"number": "1186",
"extension": "",
"acceptsSMS": false,
"countryCode": "US"
Obviously the second example is never going to work. Here is the relevant portion of my configuration JSON:
{
"internal": "contactInfo.phone_work_2",
"external": "User.ipPhone",
"direction": "ex2in"
}
So my question is how (if at all) do I populate just the extension portion of phone_work_2? Has anyone ever done this? Can I simply change the internal line? (e.g. "internal": "contactInfo.phone_work_2.extension")
--C#
------------------------------
Chip Sharp
Maxis Networks
------------------------------