Dialplans, contexts & confusion!?

Hi gang,

I have read and read and read but there is still one thing I am puzzled with and just have to ask.

I have a couple of SIP sets up and running without issue. Also have SIP trunking to a SIP SP up and running without issue.

SIP.conf looks like:

[10]
bunch of stuff
context=phones

[11]
bunch of stuff
context=phones

[SIPin]
bunch of stuff
context=fromSP

[SIPout]
bunch of stuff
context=toSP

and in extensions.conf

[phones]
has resolution for sets, inbound and outbound calls to the SIP SP and it all works just great
exten => 10,1,Dial(SIP/10)
exten => 11,1,Dial(SIP/11)
exten => 18005551212,1,Dial(SIP/SIPout/${EXTEN})
exten => myDID,1,Dial(SIP/10)

the problem is when I try to use separate contexts I am getting 404 errors

looks like:

[phones]
for the phone related resolution
exten => 10,1,Dial(SIP/10)
exten => 11,1,Dial(SIP/11)

[toSP]
for outbound calling
exten => 18005551212,1,Dial(SIP/SIPout/${EXTEN})

[fromSP]
for inbound calling
exten => myDID,1,Dial(SIP/10)

Am the struggle I have is for the SIP sets to be able to hit the other context for outbound/inbound calls!

I should clarify in my working configs, the SIPin and SIPout peers need the context=phones instead of context=fromSP and toSP