sip.conf.
[ul]
;register to voipraider
register => hoegema1946:mysecret@sip.Voipraider.com
[voipraider-out]
type=peer
username=hoegema1946
secret=mysecret
host=sip.Voipraider.com
realm=sip.Voipraider.com
fromuser=00324763788xx
context=default
canreinvite=no
insecure=very
qualify=300
nat=yes
port=5060
dtmfmode=inband
disallow=all
allow=alaw
allow=ulaw
[/ul]
routes-outgoing.conf
[ul]
exten => _000234.,1,NoOP(Time=${STRFTIME(${EPOCH},%H)}.${STRFTIME(${EPOCH},%M)})
exten => _000234.,n,Dial(SIP/voipraider-out/${EXTEN:1})
exten => _000234.,n,Congestion()
[/ul]
This is CLI output with debug off.:
– Starting simple switch on ‘Zap/1-1’
– Executing [0002348023042515@default:1] NoOp(“Zap/1-1”, “Time=16.53”) in new stack
– Executing [0002348023042515@default:2] Dial(“Zap/1-1”, “SIP/voipraider-out/002348023042515”) in new stack
– Called voipraider-out/002348023042515
– Got SIP response 500 “Internal server error” back from 194.221.62.198
– SIP/voipraider-out-0820fef0 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [0002348023042515@default:3] Congestion(“Zap/1-1”, “”) in new stack
== Spawn extension (default, 0002348023042515, 3) exited non-zero on ‘Zap/1-1’
– Hungup ‘Zap/1-1’
asterisk*CLI> sip set debug peer voipraider-out
SIP Debugging Enabled for IP: 194.221.62.198:5060
– Saved useragent “Linksys/SPA3000-3.1.18(GW)” for peer 1000
– Starting simple switch on ‘Zap/1-1’
Really destroying SIP dialog ‘50b7cc0a3a501fd636f08b88613b7bea@127.0.0.1’ Method: REGISTER
Really destroying SIP dialog ‘576571311a8020826f299e33539143ac@127.0.0.1’ Method: REGISTER
– Executing [0002348023042515@default:1] NoOp(“Zap/1-1”, “Time=16.28”) in new stack
– Executing [0002348023042515@default:2] Dial(“Zap/1-1”, “SIP/voipraider-out/002348023042515”) in new stack
Audio is at 78.20.154.229 port 5094
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Reliably Transmitting (NAT) to 194.221.62.198:5060:
INVITE sip:002348023042515@sip.Voipraider.com SIP/2.0
Via: SIP/2.0/UDP 78.20.154.229:5060;branch=z9hG4bK715f739e;rport
From: “1205” sip:0032476378861@78.20.154.229;tag=as4cded629
To: sip:002348023042515@sip.Voipraider.com
Contact: sip:0032476378861@78.20.154.229
Call-ID: 6f0794c81422e304131e0bbe68648317@78.20.154.229
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Tue, 18 Dec 2007 16:28:13 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 207
v=0
o=root 2545 2545 IN IP4 78.20.154.229
s=session
c=IN IP4 78.20.154.229
t=0 0
m=audio 5094 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
-- Called voipraider-out/002348023042515
asterisk*CLI>
<— SIP read from 194.221.62.198:5060 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 78.20.154.229:5060;branch=z9hG4bK715f739e;rport
From: “1205” sip:0032476378861@78.20.154.229;tag=as4cded629
To: sip:002348023042515@sip.Voipraider.com
Contact: sip:002348023042515@194.221.62.198:5060
Call-ID: 6f0794c81422e304131e0bbe68648317@78.20.154.229
CSeq: 102 INVITE
Server: (Very nice Sip Registrar/Proxy Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
WWW-Authenticate: Digest realm=“sipdiscount.com”,nonce=“2892617360”,algorithm=MD5
Content-Length: 0
<------------->
— (11 headers 0 lines) —
Transmitting (NAT) to 194.221.62.198:5060:
ACK sip:002348023042515@sip.Voipraider.com SIP/2.0
Via: SIP/2.0/UDP 78.20.154.229:5060;branch=z9hG4bK715f739e;rport
From: “1205” sip:0032476378861@78.20.154.229;tag=as4cded629
To: sip:002348023042515@sip.Voipraider.com
Contact: sip:0032476378861@78.20.154.229
Call-ID: 6f0794c81422e304131e0bbe68648317@78.20.154.229
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
Audio is at 78.20.154.229 port 5094
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Reliably Transmitting (NAT) to 194.221.62.198:5060:
INVITE sip:002348023042515@sip.Voipraider.com SIP/2.0
Via: SIP/2.0/UDP 78.20.154.229:5060;branch=z9hG4bK202b472e;rport
From: “1205” sip:0032476378861@78.20.154.229;tag=as4cded629
To: sip:002348023042515@sip.Voipraider.com
Contact: sip:0032476378861@78.20.154.229
Call-ID: 6f0794c81422e304131e0bbe68648317@78.20.154.229
CSeq: 103 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Authorization: Digest username=“hoegema1946”, realm=“sipdiscount.com”, algorithm=MD5, uri="sip:002348023042515@sip.Voipraider.com", nonce=“2892617360”, response=“e6947274efffe34eb539ff87209e8c01”, opaque=“”
Date: Tue, 18 Dec 2007 16:28:14 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 207
v=0
o=root 2545 2546 IN IP4 78.20.154.229
s=session
c=IN IP4 78.20.154.229
t=0 0
m=audio 5094 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
asterisk*CLI>
<— SIP read from 194.221.62.198:5060 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 78.20.154.229:5060;branch=z9hG4bK202b472e;rport
From: “1205” sip:0032476378861@78.20.154.229;tag=as4cded629
To: sip:002348023042515@sip.Voipraider.com
Contact: sip:002348023042515@194.221.62.198:5060
Call-ID: 6f0794c81422e304131e0bbe68648317@78.20.154.229
CSeq: 103 INVITE
Server: (Very nice Sip Registrar/Proxy Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
Content-Length: 0
<------------->
— (10 headers 0 lines) —
asterisk*CLI>
<— SIP read from 194.221.62.198:5060 —>
SIP/2.0 500 Internal server error
Via: SIP/2.0/UDP 78.20.154.229:5060;branch=z9hG4bK202b472e;rport
From: “1205” sip:0032476378861@78.20.154.229;tag=as4cded629
To: sip:002348023042515@sip.Voipraider.com
Contact: sip:002348023042515@194.221.62.198:5060
Call-ID: 6f0794c81422e304131e0bbe68648317@78.20.154.229
CSeq: 103 INVITE
Server: (Very nice Sip Registrar/Proxy Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
Content-Length: 0
------------->
— (10 headers 0 lines) —
– Got SIP response 500 “Internal server error” back from 194.221.62.198
Transmitting (NAT) to 194.221.62.198:5060:
ACK sip:002348023042515@sip.Voipraider.com SIP/2.0
Via: SIP/2.0/UDP 78.20.154.229:5060;branch=z9hG4bK202b472e;rport
From: “1205” sip:0032476378861@78.20.154.229;tag=as4cded629
To: sip:002348023042515@sip.Voipraider.com
Contact: sip:0032476378861@78.20.154.229
Call-ID: 6f0794c81422e304131e0bbe68648317@78.20.154.229
CSeq: 103 ACK
ser-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
-- SIP/voipraider-out-0820fef0 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [0002348023042515@default:3] Congestion(“Zap/1-1”, “”) in new stack
Really destroying SIP dialog ‘6f0794c81422e304131e0bbe68648317@78.20.154.229’ Method: INVITE
== Spawn extension (default, 0002348023042515, 3) exited non-zero on ‘Zap/1-1’
– Hungup ‘Zap/1-1’
asterisk*CLI>
I don’t have the right knowledge to do an interpretation of this output. 
Who can help: