The InboundCallRoute rules generated by the OBiTALK configuration facility only handle making calls though the gateway's default (PrimaryLine) trunk.
If you're willing to change the OBi's InboundCallRoute, you can place calls through any trunk using the following syntax:
From another OBi or an OBiON app:
[<Speed Dial> + **n + number] through the OBi gateway defined in <Speed Dial> (using **n)
and
[<Speed Dial> + * + number] through the OBi gateway defined in <Speed Dial> (using PrimaryLine)
From an OBiON app:
[**n + number] through the OBi defined as the OBiON gateway (using **n)
and
[number] through the OBi defined as the OBiON gateway (using PrimaryLine)
Voice Services -> OBiTALK Service -> InboundCallRoute:
{(Mcot)>(Mpli):pli},{(Mcot)>(<*1:>(Msp1)):sp1},{(Mcot)>(<*2:>(Msp2)):sp2},{(Mcot)>(<*8:>(Mli)):li},
{(Mcot)>(<*9:>(Mpp)):pp},{(Mcot)>(<**1:>(Msp1)):sp1},{(Mcot)>(<**2:>(Msp2)):sp2},
{(Mcot)>(<**8:>(Mli)):li},{(Mcot)>(<**9:>(Mpp)):pp},{(Mcot):aa},{ph}
Note: Replace pli above (2 places) with your PrimaryLine trunk name (sp1,sp2,li,pp,tg1) as the OBi won't.
User Settings -> User Defined Digit Maps -> User Defined Digit Mapx:
Label : cot
DigitMap : (200aaaaaa|200bbbbbb|200cccccc|200dddddd|200eeeeee)
Note: These are trusted caller OBiTALK numbers.
Physical Interfaces -> PHONE Port -> DigitMap:
([1-9]x?*@@.|[1-9]|[1-9][0-9]|911|**0|***|#|**1(Msp1)|**2(Msp2)|**8(Mli)|**9(Mpp)|(Mpli))
Physical Interfaces -> PHONE Port -> OutboundCallRoute:
{([1-9]x?*@@.):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},
{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}