2 broadvoice accounts with asterisk

hello

I am running asterisk 1.4 and i am new. I have 2 broadvoice accounts. I want to configure my dial plan in such a way that when a user wants to make a call and line1 is busy, he should be connected to line2 to make the call and if both lines are busy there should be a playback telling him to wait.

for now what is happening is that they can only use line1 making the line2 useless

thanks

this is my current extensions.conf

[general]
static=yes
writeprotect=yes
autofallthrough=yes
clearglobalvars=no
;priorityjumping=yes

[globals]

[default]

include => sip1
include => sip2

[sip1]
exten => _1NXXNXXXXXX, 1, dial(SIP/${EXTEN}@9036199554,30)
exten => _1NXXNXXXXXX, 2, congestion()
exten => _1NXXNXXXXXX, 102, busy()

[sip2]
exten => _1NXXNXXXXXX, 1, dial(SIP/${EXTEN}@2402185894,30)
exten => _1NXXNXXXXXX, 2, congestion()
exten => _1NXXNXXXXXX, 102, busy()