When you dial to SIP/xxx/yyyy you are bypassing all of the PBX generated dialplan. Try dialing to channel:
Local/1${numToCall}@from-internal
When you dial to SIP/xxx/yyyy you are bypassing all of the PBX generated dialplan. Try dialing to channel:
Local/1${numToCall}@from-internal