View difference between Paste ID: e7NCKJJh and qyLBTZv2
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:XXXXXX@sip2sip.info/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-
root@vps10:~ $ tcpdump dst 85.17.186.7 -vv
33+
Reliably Transmitting (NAT) to 85.17.186.7:5060:
34-
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
34+
OPTIONS sip:sip2sip.info SIP/2.0
35-
23:51:07.984858 IP (tos 0x60, ttl 64, id 13319, offset 0, flags [none], proto UDP (17), length 559)
35+
Via: SIP/2.0/UDP 174.XXX.XXX.XXX:5060;branch=z9hG4bK46fc09c7;rport
36-
    vps10.sip > node07.dns-hosting.info.sip: [bad udp cksum c03!] SIP, length: 531
36+
Max-Forwards: 70
37-
        OPTIONS sip:sip2sip.info SIP/2.0
37+
From: "Unknown" <sip:223XXXXXX@174.XXX.XXX.XXX>;tag=as0c03c3aa
38-
        Via: SIP/2.0/UDP 174.XXX.XXX.XXX:5060;branch=z9hG4bK2093600e;rport
38+
To: <sip:sip2sip.info>
39-
        Max-Forwards: 70
39+
Contact: <sip:223XXXXXX@174.XXX.XXX.XXX:5060>
40-
        From: "Unknown" <sip:223XXXXXX@174.XXX.XXX.XXX>;tag=as15746292
40+
Call-ID: 541b32633ef1f2121c0e18270513e8a8@174.XXX.XXX.XXX:5060
41-
        To: <sip:sip2sip.info>
41+
CSeq: 102 OPTIONS
42-
        Contact: <sip:223XXXXXX@174.XXX.XXX.XXX:5060>
42+
User-Agent: FPBX-2.11.0(11.4.0)
43-
        Call-ID: 00c4868c645559e25efd51a9461d2a76@174.XXX.XXX.XXX:5060
43+
Date: Sat, 24 Aug 2013 14:54:15 GMT
44-
        CSeq: 102 OPTIONS
44+
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
45-
        User-Agent: FPBX-2.11.0(11.4.0)
45+
Supported: replaces
46-
        Date: Fri, 23 Aug 2013 04:51:07 GMT
46+
Content-Length: 0
47-
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
47+
48-
        Supported: replaces
48+
49-
        Content-Length: 0
49+
---
50
51
<--- SIP read from UDP:85.17.186.7:5060 --->
52
SIP/2.0 200 OK
53
Via: SIP/2.0/UDP 174.XXX.XXX.XXX:5060;received=174.XXX.XXX.XXX;branch=z9hG4bK46fc09c7;rport=5060
54
From: "Unknown" <sip:223XXXXXX@174.XXX.XXX.XXX>;tag=as0c03c3aa
55
To: <sip:sip2sip.info>;tag=ac7e0189ab09b4fde10c77c8597b662a.2e72
56
Call-ID: 541b32633ef1f2121c0e18270513e8a8@174.XXX.XXX.XXX:5060
57
CSeq: 102 OPTIONS
58
Accept: */*
59
Accept-Language: en
60
Server: SIP Thor on OpenSIPS XS 1.9.0
61
Content-Length: 0
62
63
<------------->
64
--- (10 headers 0 lines) ---
65
Really destroying SIP dialog '541b32633ef1f2121c0e18270513e8a8@174.XXX.XXX.XXX:5060' Method: OPTIONS