Looks good if HR faxes are routed to SP1 and Sales faxes are routed to SP2.
I thought all faxes were routed to only one SP.
If only HR faxes are routed to SP1 and Sales faxes are routed to SP2 then you don't have to check for CallerID.
SP1 X_InboundCallRoute: ph
SP2 X_InboundCallRoute: ph2
If HR faxes and Sales faxes are routed to SP1 then you have to check for CallerID.
SP1 X_InboundCallRoute: {2122223344:ph},{2122222345:ph2}
If HR faxes and voice calls are routed to SP1 and Sales faxes and voice calls are routed to SP2.
SP1 X_InboundCallRoute: {2122223344:ph},{ph3}
SP2 X_InboundCallRoute: {2122222345:ph2},{ph4}
Voice calls will be routed to ph3 and ph4.