I have two pbx’s configured for inter-company dialing by extensions with a PJSIP trunk. When company A dials company B via extension, it works fine and vise versa. However if a user at company B has their phone forwarded to their cell phone and company A calls, they get a “Your call cannot be completed as dialed”. I am thinking this has something to do with the inter-company sip trunk not being allowed to use the outbound route. Am I on the right track or should I look at something else?
How are they forwarding the call ? Physical “Forward” button on the phone ? Or something else ?
Posting some logs might help others diagnose further - you can try the pastebin.freepbx.org service (with anonymized logs please.)
I think there is something wrong in your outboud routes.
The destination is not matched somewhere.
Usually, with a such config, the trunks should be set with from-internal and not from trunk at first.