...
- Set -> OWNER -> ${LOOKUPPHONEBOOK(${CALLERID(num)} , 'office,home,mobile', 'owner_id')} - looks up for owner ID
- Set -> INFUSIONSOFT -> ${LOOKUPPHONEBOOK(${OWNER}, 'source_id', 'extension')} - looks up for a contact owner according to the found ID (PBX user) in shared phonebooks (in this case we indicate that the source is Infusionsoft, but you can use your own source)phonebooks
- Jump to if -> "${INFUSIONSOFT}"!="" -> Procedure with a modified number ${INFUSIONSOFT} - if the previous execution is successful, routes a call to a contact owner
- Call group - the application is executed in case no contact owner is found
...