So the error is in the sip.conf file? Or am I just not reading something the right way.
;External Sip lines
;
;==========================================================================
; This is where we deal with Sipura 3000 and SIP trunks (if any).
; We generate 2 entries (peer and user) for Spa3K but only a peer
; entry for SIP devices.
;==========================================================================
;
[0740840650]
type=peer
host=sip.bbvoice.com.au
qualify=3000
canreinvite=no
username=username2
fromuser=username2
secret=secret
useragent=PAP2T
disallow=all
allow=g729
[0740840650]
insecure=port,invite
[peerwdp_out]
type=peer
host=sip.bbvoice.com.au
qualify=3000
canreinvite=no
username=username1
fromuser=username1
secret=secret
useragent=PAP2T
disallow=all
allow=g729
[61990180256]
insecure=port,invite
and from the extensions.conf
[mainmenu]
include => enter_extension
exten => 0740840650,1,agi(selintra,Inbound,${EXTEN},0740840650)
exten => 61740840650,1,agi(selintra,Inbound,${EXTEN},61740840650)
exten => 61990180256,1,agi(selintra,Inbound,${EXTEN},61990180256)
exten => DAHDI1-1,1,agi(selintra,Inbound,${EXTEN},DAHDI1-1)
exten => DAHDI2-1,1,agi(selintra,Inbound,${EXTEN},DAHDI2-1)
exten => atp,1,agi(selintra,Inbound,${EXTEN},atp)
TIA