Thanks for your tips.
I tried two dial-plans below on my spa1001 line1. but I couldn't get either working (I like your idea using line1 instead of line2 for 18xxx calls. so I tried hard but sipgate account showed that line1 never went to sipbroker or ipkall directly. it went to sipgate via GV)
1.
(*xx|18xx.<:@sipbroker.com>)|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)
2.
(*xx|18xx.<:@voiper.ipkall.com>)|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)
I couldn't get the line2 working either. either 5061 or 4060 couldn't make outbound 18xx calls.
Yes, inbound calls on line2 work. *600 (echo test) and *500 (check voice mails) both are working find.
I have read your link of pap2 setting so many times that I almost could recite it.
Update:
I decided to move on. I have a spare ats 6011s and decided to set it for voxalot.
my spa1001 runs sipgate and betamax.