Need Help With Outbound Calls

Frustration is starting to set in, so after digging through these forums and searching the internet for the past couple of hours, I decided to post here for some help.

I have installed and configured Asterisk 1.6. I was able to get a softphone as well as a PAP2 ATA to register its ports. In addition, I have one SIP trunk registered (Viatalk is the provider). At one point I was able to make outbound calls from any of the extensions, but I wasn’t able to receive inbound calls.

While working on my configurations, I seem to have fixed the inbound issue, but now I am not able to make outbound calls from any extension. I can’t seem to figure out what changed that caused it to stop working. My softphone gives me a message that says “Server is Unavailable”. This is what I am seeing on the Asterisk screen:

[quote] Using SIP RTP CoS mark 5
– Executing [248xxxxxxx@default:1] Goto(“SIP/150-00000007”, “1248xxxxxxxx,1”) in new stack
– Goto (default,1248xxxxxxx,1)
– Executing [1248xxxxxxx@default:1] Dial(“SIP/150-00000007”, “SIP/1248xxxxxxx@viatalk,60,r”) in new stack
== Using SIP RTP CoS mark 5
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [1248xxxxxxx@default:2] PlayTones(“SIP/150-00000007”, “480+620/250,0/250”) in new stack
– Executing [1248xxxxxxx@default:3] Congestion(“SIP/150-00000007”, “”) in new stack
== Spawn extension (default, 1248xxxxxxx, 3) exited non-zero on ‘SIP/150-00000007’[/quote]

Here are my outbound rules from the extensions.conf file:

exten => 911,1,Dial(SIP/911@${TRUNK},60,r)
exten => 411,1,Dial(SIP/411@${TRUNK},60,r)
exten => *123,1,Dial(SIP/*123@${TRUNK},60,r)

exten => _NXXXXXX,1,Goto(1${NPX}${EXTEN},1) ; if dialing 7 digits, prepend 1 + Area Code
exten => _NXXNXXXXXX,1,Goto(1${EXTEN},1) ; if dialing 10 digits, prepend 1

exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@${TRUNK},60,r)
exten => _1NXXNXXXXXX,2,Playtones(480+620/250,0/250) ; play a fast busy (reorder) tone
exten => _1NXXNXXXXXX,3,Congestion

; For International dialing [Optional]
exten => _011X.,1,Dial(SIP/${EXTEN}@${TRUNK},60,r) [/quote]

I can’t seem to figure out where to go next. My outbound dialing rules came from Viatalk’s site, and as I mentioned, were working at one time. I didn’t touch any of the rules, so I don’t think they are the issue.

Any help would be greatly appreciated.

What does your SIP entry in sip.conf look like for [viatalk]?