I'm actually looking for more help on the asterisk side to not break the current hairpin for the 2 GV accounts.
I've currently got gv1 using vg1(<gv1 number>/$1) and gv3 using vg1(<gv3 number>/$1) to route it to Asterisk
and then the following context:
[custom-from-Obihai]
exten => _X!,1,Set(CALLERID(num)=${CUT(EXTEN,/,2)})
exten => _X!,n,Set(CALLERID(ani)=${CALLERID(num)})
exten => _X!,n,Goto(from-pstn-e164-us,${CUT(EXTEN,/,1)},1)
exten => h,1,Macro(hangupcall,)
the entry context when 702 calls in.
VG1 is defined as SP4(asterisk.ip.address) with 702's userid/pw, and SP4 has userid/pw ALSO set to 702/pw
and SP4 has the SIP proxy ALSO set to the asterisk IP address.
on the asterisk side, I have inbound routes for each GV#, that prefix the callerid with the initials of the user,
mine or my wifes, then a destination of ext 702.
there is an outbound route for 1NXXNXXXXXX that goes to 702, but I don't think I have it totally right on the OBI side to actually get out.
So more help would be useful.