I used the following instructions:
from ianobi:
http://www.obitalk.com/forum/index.php?topic=4847.msg31418#msg31418and RonR :
http://www.obitalk.com/forum/index.php?topic=2285.msg14652#msg14652Physical Interfaces -> PHONE Port -> PrimaryLine: PSTN Line
Voice Service -> Auto Attendant -> PrimaryLine: PSTN Line
Physical Interfaces -> LINE Port -> DigitMap :
(<**1>011xx.|xxxxxxxS4|[2-9]xxxxxxxxxS0|1xxxxxxxxxxS0|xx.)
System Management -> Auto Provisioning -> ITSP Provisioning -> Method : Disabled
System Management -> Auto Provisioning -> OBiTALK Provisioning -> Method : Disabled
Service Providers -> ITSP Profile A -> General -> DigitMap:
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.)
With no ** codes this will route seven digit calls, ten digit calls not starting with "1" and eleven digit calls starting with "1" to your PSTN line. It will also route calls starting with "011" to Google Voice on sp1.
Use **1 to force ten and eleven digit calls to GV should you wish.