View difference between Paste ID: bL8n1ada and e7NCKJJh
SHOW: | | - or go back to the newest paste.
1
username=223XXXXXX
2
type=peer
3
canreinvite=no
4
secret=XXXXXX
5
qualify=yes
6
nat=yes
7
insecure=invite,port
8
disallow=all
9
host=sip2sip.info
10
domain=sip2sip.info
11
fromdomain=sip2sip.info
12
outboundproxy=proxy.sipthor.net
13
fromuser=223XXXXXX
14
defaultuser=223XXXXXX
15
dtmfmode=rfc2833
16
context=from-trunk
17
allow=ulaw&gsm
18
19
20
223XXXXXX:[email protected]/223XXXXXX
21
22
23
echo "enable=yes" >> /etc/asterisk/dnsmgr.conf
24
echo "srvlookup=yes" >> /etc/asterisk/sip_general_custom.conf
25
26
27
vps10*CLI> sip show registry
28
Host                                    dnsmgr Username       Refresh State                Reg.Time
29
sip2sip.info:5060                       N      223XXXXXX         120 Unregistered    
30
1 SIP registrations.
31
32
33-
Reliably Transmitting (NAT) to 85.17.186.7:5060:
33+
  == Using SIP RTP TOS bits 184
34-
OPTIONS sip:sip2sip.info SIP/2.0
34+
  == Using SIP RTP CoS mark 5
35-
Via: SIP/2.0/UDP 174.XXX.XXX.XXX:5060;branch=z9hG4bK46fc09c7;rport
35+
    -- Called SIP/[email protected]
36-
Max-Forwards: 70
36+
  == Everyone is busy/congested at this time (1:0/0/1)
37-
From: "Unknown" <sip:[email protected]>;tag=as0c03c3aa
37+
    -- Executing [s@macro-dialout-trunk:31] NoOp("SIP/705-00000029", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
38-
To: <sip:sip2sip.info>
38+
    -- Executing [s@macro-dialout-trunk:32] GotoIf("SIP/705-00000029", "0?continue,1:s-CHANUNAVAIL,1") in new stack
39-
Contact: <sip:[email protected]:5060>
39+
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
40-
Call-ID: [email protected]:5060
40+
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/705-00000029", "RC=1") in new stack
41-
CSeq: 102 OPTIONS
41+
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/705-00000029", "1,1") in new stack
42-
User-Agent: FPBX-2.11.0(11.4.0)
42+
    -- Goto (macro-dialout-trunk,1,1)
43-
Date: Sat, 24 Aug 2013 14:54:15 GMT
43+
    -- Executing [1@macro-dialout-trunk:1] Goto("SIP/705-00000029", "continue,1") in new stack
44-
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
44+
    -- Goto (macro-dialout-trunk,continue,1)
45-
Supported: replaces
45+
    -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/705-00000029", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 1 - failing through to other trunks") in new stack
46-
Content-Length: 0
46+
    -- Executing [continue@macro-dialout-trunk:2] Set("SIP/705-00000029", "CALLERID(number)=705") in new stack
47
    -- Executing [2233527112@from-internal:6] Macro("SIP/705-00000029", "outisbusy,") in new stack
48
    -- Executing [s@macro-outisbusy:1] Progress("SIP/705-00000029", "") in new stack
49-
---
49+
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/705-00000029", "0?emergency,1") in new stack
50
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/705-00000029", "0?intracompany,1") in new stack
51-
<--- SIP read from UDP:85.17.186.7:5060 --->
51+
    -- Executing [s@macro-outisbusy:4] Playback("SIP/705-00000029", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
52-
SIP/2.0 200 OK
52+
    -- <SIP/705-00000029> Playing 'all-circuits-busy-now.ulaw' (language 'en')
53-
Via: SIP/2.0/UDP 174.XXX.XXX.XXX:5060;received=174.XXX.XXX.XXX;branch=z9hG4bK46fc09c7;rport=5060
53+
    -- <SIP/705-00000029> Playing 'pls-try-call-later.ulaw' (language 'en')
54-
From: "Unknown" <sip:[email protected]>;tag=as0c03c3aa
54+
    -- Executing [s@macro-outisbusy:5] Congestion("SIP/705-00000029", "20") in new stack
55-
To: <sip:sip2sip.info>;tag=ac7e0189ab09b4fde10c77c8597b662a.2e72
55+
  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/705-00000029' in macro 'outisbusy'
56-
Call-ID: [email protected]:5060
56+
  == Spawn extension (from-internal, 2233527112, 6) exited non-zero on 'SIP/705-00000029'
57-
CSeq: 102 OPTIONS
57+
    -- Executing [h@from-internal:1] Hangup("SIP/705-00000029", "") in new stack