SLA in Asterisk

Hi all,

I built SLA funciton in my Asterisk server, the configuration is that:

#####################
SLA.conf
#####################
[line1]
type=trunk
device=Local/disa@line1Outbound
autocontext=line1
ringtimeout=30
barge=yes
hold=private

[line2]
type=trunk
device=Local/disa@line2Outbound
autocontext=line2
ringtimeout=30
barge=yes
hold=private

station
type=station
autocontext=sla_stations
trunk=line1
trunk=line2

station1
device=SIP/8003

station2
device=SIP/8004

#####################
extensions.conf
#####################
[from-trunk]
include => from-pstn
exten => 10000,1,SLATrunk(line1)
exten => 10001,1,SLATrunk(line2)

[line1Outbound]
exten => disa,1,Disa(no-password|line1Outbound)
exten => _3XXX,1,Dial(SIP/${EXTEN}@SLA) [color=#FF4000]; I want to set when I dial a number with 4 digits and the first digit is 3, it will dial out from this trunk[/color]
include => from-internal

[line2Outbound]
exten => disa,1,Disa(no-password|line2Outbound)
exten => _3XXX,1,Dial(SIP/${EXTEN}@SLA)
include => from-internal
###################################

And the following are the problem I met:

[color=#FF0000]1. I can’t dial out with my expectation;
2. How can I dial to the SLA number 10000 or 10001 from internal extension, for example 8001?[/color]

Thanks for all reply!