problem with initial SIP trunk config

Hello,
I searched the forums and wiki and I think my issue is so newb and general that it cannot be found easily.
I have just installed the most current vicidialnow build. Everything installed fine and I ran a yum update, etc.
I have used asterisk 1.4 and Elastix 1.4, but I have never used asterisk 1.2.x so I am not familiar with how to configure my SIP trunk settings and/or inbound/outbound routes through the conf files directly. I followed directions in the astGUIclient scratch install walkthrough for setting up a SIP trunk and phone. I'm using x-lite, which connects fine to the extension I tested, but I can't make outgoing calls.
Here is what I put in my sip.conf with user and pass edited out:
[general]
port = 5060
bindaddr = 0.0.0.0
context = default
; register SIP account on remote machine if using SIP trunks
register => user:pass<at>packet8<dot>net
;
; setup account for SIP trunking:
[packet8]
host=packet<dot>net
insecure=very
username=user
secret=pass
type=peer
dtmfmode=rfc2833
allow=ulaw
allow=g729
====
These are the trunk settings that were provided to me, and I used them fine in Elastix. Is the "register =>" imperative? I'm not really sure what would go here specifi to my provider, packet8. Is this something they could possibly clarify? I get a registration error in the CLI:
Connected to Asterisk 1.2.27 currently running on vici (pid = 4200)
Verbosity is at least 5
-- Remote UNIX connection
Jan 24 10:01:15 NOTICE[4300]: chan_sip.c:5534 sip_reg_timeout: -- Registration for '*****@<at>packet8<dot>net' timed out, trying again (Attempt #78)
====
I don't get any other CLI errors when I try to dial, for instance.
Here are my extensions.conf settings:
[globals]
packet8=SIP/user:pass<at>packet8<dot>net ;
[packet 8]
exten => user,1,Dial(SIP/extension)
exten => _0[1-9].,1,Dial(SIP/packet8/${EXTEN})
exten => _00[1-9].,1,Dial(SIP/packet8/${EXTEN})
=======
I have no idea what I'm doing here really. I followed some examples I found in other places.
What am I missing here? Is there a place that inbound/outbound routes need to be configured? Is there any other documentation that I can look at regarding a SIP setup?
Thanks!
I searched the forums and wiki and I think my issue is so newb and general that it cannot be found easily.
I have just installed the most current vicidialnow build. Everything installed fine and I ran a yum update, etc.
I have used asterisk 1.4 and Elastix 1.4, but I have never used asterisk 1.2.x so I am not familiar with how to configure my SIP trunk settings and/or inbound/outbound routes through the conf files directly. I followed directions in the astGUIclient scratch install walkthrough for setting up a SIP trunk and phone. I'm using x-lite, which connects fine to the extension I tested, but I can't make outgoing calls.
Here is what I put in my sip.conf with user and pass edited out:
[general]
port = 5060
bindaddr = 0.0.0.0
context = default
; register SIP account on remote machine if using SIP trunks
register => user:pass<at>packet8<dot>net
;
; setup account for SIP trunking:
[packet8]
host=packet<dot>net
insecure=very
username=user
secret=pass
type=peer
dtmfmode=rfc2833
allow=ulaw
allow=g729
====
These are the trunk settings that were provided to me, and I used them fine in Elastix. Is the "register =>" imperative? I'm not really sure what would go here specifi to my provider, packet8. Is this something they could possibly clarify? I get a registration error in the CLI:
Connected to Asterisk 1.2.27 currently running on vici (pid = 4200)
Verbosity is at least 5
-- Remote UNIX connection
Jan 24 10:01:15 NOTICE[4300]: chan_sip.c:5534 sip_reg_timeout: -- Registration for '*****@<at>packet8<dot>net' timed out, trying again (Attempt #78)
====
I don't get any other CLI errors when I try to dial, for instance.
Here are my extensions.conf settings:
[globals]
packet8=SIP/user:pass<at>packet8<dot>net ;
[packet 8]
exten => user,1,Dial(SIP/extension)
exten => _0[1-9].,1,Dial(SIP/packet8/${EXTEN})
exten => _00[1-9].,1,Dial(SIP/packet8/${EXTEN})
=======
I have no idea what I'm doing here really. I followed some examples I found in other places.
What am I missing here? Is there a place that inbound/outbound routes need to be configured? Is there any other documentation that I can look at regarding a SIP setup?
Thanks!