Shammi,
The configuration I previously proposed was based on your only needing to use one trunk (the LINE Port) on the remote OBi in India. Now that you want to use more than one trunk (the LINE Port and SP2) on the remote OBi in India, I think the best approach is to implement
Single-Stage Dialing Through Any OBi Trunk. In your case, it's only a matter of making the following changes to the remote OBi in India:
Voice Services -> OBiTALK Service -> InboundCallRoute:
{(Mcot)>(Mpli):pli},{(Mcot)>(<*1:>(Msp1)),(Mcot)>(<**1:>(Msp1)):sp1},{(Mcot)>(<*2:>(Msp2)),
(Mcot)>(<**2:>(Msp2)):sp2},{(Mcot)>(<*8:>(Mli)),(Mcot)>(<**8:>(Mli)):li},{(Mcot)>(<*9:>(Mpp)),
(Mcot)>(<**9:>(Mpp)):pp},{(Mcot):aa},{ph}
Note: Replace pli above (2 places) with the trunk name (sp1,sp2,li,pp,tg1) that you wish to be the PrimaryLine when dialing from Canada.
User Settings -> User Defined Digit Maps -> User Defined Digit MapX:
Label : cot
DigitMap : (200123456)
To have incoming calls to SP2 of the remote OBi in India ring the PHONE Port of the OBi in Canada (only):
Voice Services -> SP2 Service -> X_InboundCallRoute : {pp(ob200123456)}
where 200123456 is the OBiTALK number of the OBi-1 (Canada).
To place calls from the OBi in Canada using the remote OBi in India:
2*18005551212 -> Remote OBi in India using the trunk designated as the PrimaryLine above
2 **1 18005551212 -> Remote OBi in India SP1 Service
2 **2 18005551212 -> Remote OBi in India SP2 Service
2 **8 18005551212 -> Remote OBi in India LINE Port
2 **9 200123456 -> Remote OBi in India OBiTALK Service