[asterisk-users] Invite issues

Allan Kamau kamauallan at yahoo.com
Thu Sep 21 02:58:35 MST 2006


Hi all,
I am receiving handle_request_invite: Failed to
authenticate errors on two VoIP gateway devices
connected to my asterisks SIP server. The problem
seems to be in my configuration.
I will only focus on one of this devices in this mail.

On this device I receive the error "Sep 21 12:02:23
NOTICE[30782]: chan_sip.c:10468 handle_request_invite:
Failed to authenticate user "2006"
<sip:2006 at 192.168.0.100:5060>;tag=43c7d6ab" at the CIL

This is the configuration for 2006 in my sip.conf


[2006]
type=friend
username=2006
secret=2006
context=from-sip
callerid="Allan" <2006>
host=dynamic
defaultip=192.168.0.100
;nat=no
canreinvite=yes
dtmfmode=RFC2833

[122222]
insecure=very
canreinvite=yes
type=friend
username=122222
secret=122222
context=from-gsm
callerid="Allan" <122222>
host=dynamic
;defaultip=192.168.0.100
dtmfmode=rfc2833
;register=>:@192.168.0.10  ; Local interface
;qualify=no

Attached kindly find the SIP communication captured
between the device and Asterisk.

Allan.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
No.     Time        Source                Destination           Protocol Info
      8 7.567552    192.168.0.100         192.168.0.2           SIP/SDP  Request: INVITE sip:122222 at 192.168.0.2, with session description

Frame 8 (860 bytes on wire, 860 bytes captured)
    Arrival Time: Sep 21, 2006 09:39:48.143706000
    Time delta from previous packet: 4.270322000 seconds
    Time since reference or first frame: 7.567552000 seconds
    Frame Number: 8
    Packet Length: 860 bytes
    Capture Length: 860 bytes
    Protocols in frame: eth:ip:udp:sip:sdp
    Coloring Rule Name: UDP
    Coloring Rule String: udp
Ethernet II, Src: PortechC_00:01:8c (00:03:7e:00:01:8c), Dst: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
    Destination: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        Address: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Source: PortechC_00:01:8c (00:03:7e:00:01:8c)
        Address: PortechC_00:01:8c (00:03:7e:00:01:8c)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Type: IP (0x0800)
Internet Protocol, Src: 192.168.0.100 (192.168.0.100), Dst: 192.168.0.2 (192.168.0.2)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0xa0 (DSCP 0x28: Class Selector 5; ECN: 0x00)
        1010 00.. = Differentiated Services Codepoint: Class Selector 5 (0x28)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 846
    Identification: 0x4111 (16657)
    Flags: 0x00
        0... = Reserved bit: Not set
        .0.. = Don't fragment: Not set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 61
    Protocol: UDP (0x11)
    Header checksum: 0xb737 [correct]
        Good: True
        Bad : False
    Source: 192.168.0.100 (192.168.0.100)
    Destination: 192.168.0.2 (192.168.0.2)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
    Source port: 5060 (5060)
    Destination port: 5060 (5060)
    Length: 826
    Checksum: 0x2331 [correct]
Session Initiation Protocol
    Request-Line: INVITE sip:122222 at 192.168.0.2 SIP/2.0
        Method: INVITE
        Resent Packet: False
    Message Header
        Via: SIP/2.0/UDP 192.168.0.100:5060;rport;branch=z9hG4bK63d97bbf1956f9ad23a40b1dcb898fcc
        From: "2006" <sip:2006 at 192.168.0.100:5060>;tag=74f33ef1
            SIP Display info: "2006" 
            SIP from address: sip:2006 at 192.168.0.100:5060
            SIP tag: 74f33ef1
        To: <sip:122222 at 192.168.0.2>
            SIP to address: sip:122222 at 192.168.0.2
        Call-ID: 187fe4ba74817be660ed74cb058eed24 at 192.168.0.100
        Contact: <sip:2006 at 192.168.0.100:5060>
            Contact Binding: <sip:2006 at 192.168.0.100:5060>
                URI: <sip:2006 at 192.168.0.100:5060>
                    SIP contact address: sip:2006 at 192.168.0.100:5060
        CSeq: 801 INVITE
        Max-Forwards: 70
        Allow: INVITE,CANCEL,ACK,BYE,NOTIFY,REFER,OPTIONS,INFO,MESSAGE
        Content-Type: application/sdp
        User-Agent: CMI CM5K
        Content-Length: 329
    Message body
        Session Description Protocol
            Session Description Protocol Version (v): 0
            Owner/Creator, Session Id (o): - 56901 0 IN IP4 192.168.0.100
                Owner Username: -
                Session ID: 56901
                Session Version: 0
                Owner Network Type: IN
                Owner Address Type: IP4
                Owner Address: 192.168.0.100
            Session Name (s): SIP CALL
            Connection Information (c): IN IP4 192.168.0.100
                Connection Network Type: IN
                Connection Address Type: IP4
                Connection Address: 192.168.0.100
            Time Description, active time (t): 0 0
                Session Start Time: 0
                Session Stop Time: 0
            Media Description, name and address (m): audio 60000 RTP/AVP 0 8 18 4 23 22 2 21
                Media Type: audio
                Media Port: 60000
                Media Proto: RTP/AVP
                Media Format: ITU-T G.711 PCMU
                Media Format: ITU-T G.711 PCMA
                Media Format: ITU-T G.729
                Media Format: ITU-T G.723
                Media Format: 23
                Media Format: 22
                Media Format: ITU-T G.721
                Media Format: 21
            Media Attribute (a): rtpmap:0 PCMU/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 0 PCMU/8000
            Media Attribute (a): rtpmap:8 PCMA/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 8 PCMA/8000
            Media Attribute (a): rtpmap:18 G729/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 18 G729/8000
            Media Attribute (a): rtpmap:4 G723/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 4 G723/8000
            Media Attribute (a): rtpmap:23 G726-16/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 23 G726-16/8000
            Media Attribute (a): rtpmap:22 G726-24/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 22 G726-24/8000
            Media Attribute (a): rtpmap:2 G726-32/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 2 G726-32/8000
            Media Attribute (a): rtpmap:21 G726-40/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 21 G726-40/8000
            Media Attribute (a): sendrecv

No.     Time        Source                Destination           Protocol Info
      9 7.567892    192.168.0.2           192.168.0.100         SIP      Status: 407 Proxy Authentication Required

Frame 9 (603 bytes on wire, 603 bytes captured)
    Arrival Time: Sep 21, 2006 09:39:48.144046000
    Time delta from previous packet: 0.000340000 seconds
    Time since reference or first frame: 7.567892000 seconds
    Frame Number: 9
    Packet Length: 603 bytes
    Capture Length: 603 bytes
    Protocols in frame: eth:ip:udp:sip
    Coloring Rule Name: Checksum Errors
    Coloring Rule String: edp.checksum_bad==1 || ip.checksum_bad==1 || tcp.checksum_bad || udp.checksum_bad
Ethernet II, Src: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb), Dst: PortechC_00:01:8c (00:03:7e:00:01:8c)
    Destination: PortechC_00:01:8c (00:03:7e:00:01:8c)
        Address: PortechC_00:01:8c (00:03:7e:00:01:8c)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Source: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        Address: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Type: IP (0x0800)
Internet Protocol, Src: 192.168.0.2 (192.168.0.2), Dst: 192.168.0.100 (192.168.0.100)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 589
    Identification: 0x1c0c (7180)
    Flags: 0x04 (Don't Fragment)
        0... = Reserved bit: Not set
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: UDP (0x11)
    Header checksum: 0x9add [correct]
        Good: True
        Bad : False
    Source: 192.168.0.2 (192.168.0.2)
    Destination: 192.168.0.100 (192.168.0.100)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
    Source port: 5060 (5060)
    Destination port: 5060 (5060)
    Length: 569
    Checksum: 0x8401 [incorrect, should be 0xf132]
Session Initiation Protocol
    Status-Line: SIP/2.0 407 Proxy Authentication Required
        Status-Code: 407
        Resent Packet: False
    Message Header
        Via: SIP/2.0/UDP 192.168.0.100:5060;rport;branch=z9hG4bK63d97bbf1956f9ad23a40b1dcb898fcc;received=192.168.0.100
        From: "2006" <sip:2006 at 192.168.0.100:5060>;tag=74f33ef1
            SIP Display info: "2006" 
            SIP from address: sip:2006 at 192.168.0.100:5060
            SIP tag: 74f33ef1
        To: <sip:122222 at 192.168.0.2>;tag=as1b2778f1
            SIP to address: sip:122222 at 192.168.0.2
            SIP tag: as1b2778f1
        Call-ID: 187fe4ba74817be660ed74cb058eed24 at 192.168.0.100
        CSeq: 801 INVITE
        User-Agent: Asterisk PBX
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
        Contact: <sip:122222 at 192.168.0.2>
            Contact Binding: <sip:122222 at 192.168.0.2>
                URI: <sip:122222 at 192.168.0.2>
                    SIP contact address: sip:122222 at 192.168.0.2
        Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="5ee2daa9"
            Authentication Scheme: Digest
            Algorithm: MD5
            Realm: "asterisk"
            Nonce Value: "5ee2daa9"
        Content-Length: 0

No.     Time        Source                Destination           Protocol Info
     10 7.714923    192.168.0.100         192.168.0.2           SIP      Request: ACK sip:122222 at 192.168.0.2

Frame 10 (357 bytes on wire, 357 bytes captured)
    Arrival Time: Sep 21, 2006 09:39:48.291077000
    Time delta from previous packet: 0.147031000 seconds
    Time since reference or first frame: 7.714923000 seconds
    Frame Number: 10
    Packet Length: 357 bytes
    Capture Length: 357 bytes
    Protocols in frame: eth:ip:udp:sip
    Coloring Rule Name: UDP
    Coloring Rule String: udp
Ethernet II, Src: PortechC_00:01:8c (00:03:7e:00:01:8c), Dst: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
    Destination: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        Address: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Source: PortechC_00:01:8c (00:03:7e:00:01:8c)
        Address: PortechC_00:01:8c (00:03:7e:00:01:8c)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Type: IP (0x0800)
Internet Protocol, Src: 192.168.0.100 (192.168.0.100), Dst: 192.168.0.2 (192.168.0.2)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0xa0 (DSCP 0x28: Class Selector 5; ECN: 0x00)
        1010 00.. = Differentiated Services Codepoint: Class Selector 5 (0x28)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 343
    Identification: 0x4112 (16658)
    Flags: 0x00
        0... = Reserved bit: Not set
        .0.. = Don't fragment: Not set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 61
    Protocol: UDP (0x11)
    Header checksum: 0xb92d [correct]
        Good: True
        Bad : False
    Source: 192.168.0.100 (192.168.0.100)
    Destination: 192.168.0.2 (192.168.0.2)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
    Source port: 5060 (5060)
    Destination port: 5060 (5060)
    Length: 323
    Checksum: 0xf9de [correct]
Session Initiation Protocol
    Request-Line: ACK sip:122222 at 192.168.0.2 SIP/2.0
        Method: ACK
        Resent Packet: False
    Message Header
        Via: SIP/2.0/UDP 192.168.0.100:5060;branch=z9hG4bK63d97bbf1956f9ad23a40b1dcb898fcc
        From: "2006" <sip:2006 at 192.168.0.100:5060>;tag=74f33ef1
            SIP Display info: "2006" 
            SIP from address: sip:2006 at 192.168.0.100:5060
            SIP tag: 74f33ef1
        To: <sip:122222 at 192.168.0.2>;tag=as1b2778f1
            SIP to address: sip:122222 at 192.168.0.2
            SIP tag: as1b2778f1
        Call-ID: 187fe4ba74817be660ed74cb058eed24 at 192.168.0.100
        CSeq: 801 ACK
        Content-Length: 0

No.     Time        Source                Destination           Protocol Info
     11 7.823035    192.168.0.100         192.168.0.2           SIP/SDP  Request: INVITE sip:122222 at 192.168.0.2, with session description

Frame 11 (1010 bytes on wire, 1010 bytes captured)
    Arrival Time: Sep 21, 2006 09:39:48.399189000
    Time delta from previous packet: 0.108112000 seconds
    Time since reference or first frame: 7.823035000 seconds
    Frame Number: 11
    Packet Length: 1010 bytes
    Capture Length: 1010 bytes
    Protocols in frame: eth:ip:udp:sip:sdp
    Coloring Rule Name: UDP
    Coloring Rule String: udp
Ethernet II, Src: PortechC_00:01:8c (00:03:7e:00:01:8c), Dst: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
    Destination: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        Address: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Source: PortechC_00:01:8c (00:03:7e:00:01:8c)
        Address: PortechC_00:01:8c (00:03:7e:00:01:8c)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Type: IP (0x0800)
Internet Protocol, Src: 192.168.0.100 (192.168.0.100), Dst: 192.168.0.2 (192.168.0.2)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0xa0 (DSCP 0x28: Class Selector 5; ECN: 0x00)
        1010 00.. = Differentiated Services Codepoint: Class Selector 5 (0x28)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 996
    Identification: 0x4113 (16659)
    Flags: 0x00
        0... = Reserved bit: Not set
        .0.. = Don't fragment: Not set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 61
    Protocol: UDP (0x11)
    Header checksum: 0xb69f [correct]
        Good: True
        Bad : False
    Source: 192.168.0.100 (192.168.0.100)
    Destination: 192.168.0.2 (192.168.0.2)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
    Source port: 5060 (5060)
    Destination port: 5060 (5060)
    Length: 976
    Checksum: 0x39c2 [correct]
Session Initiation Protocol
    Request-Line: INVITE sip:122222 at 192.168.0.2 SIP/2.0
        Method: INVITE
        Resent Packet: False
    Message Header
        Via: SIP/2.0/UDP 192.168.0.100:5060;rport;branch=z9hG4bK7c49e15afac97a2f5c7f05d25cbe7912
        From: "2006" <sip:2006 at 192.168.0.100:5060>;tag=74f33ef1
            SIP Display info: "2006" 
            SIP from address: sip:2006 at 192.168.0.100:5060
            SIP tag: 74f33ef1
        To: <sip:122222 at 192.168.0.2>
            SIP to address: sip:122222 at 192.168.0.2
        Call-ID: 187fe4ba74817be660ed74cb058eed24 at 192.168.0.100
        Contact: <sip:2006 at 192.168.0.100:5060>
            Contact Binding: <sip:2006 at 192.168.0.100:5060>
                URI: <sip:2006 at 192.168.0.100:5060>
                    SIP contact address: sip:2006 at 192.168.0.100:5060
        CSeq: 802 INVITE
        Proxy-Authorization: Digest realm="asterisk",nonce="5ee2daa9",response="9e822bd4b342a01c8be20a870bce71dc",uri="sip:122222 at 192.168.0.2",algorithm=MD5
            Authentication Scheme: Digest
            Realm: "asterisk"
            Nonce Value: "5ee2daa9"
            Digest Authentication Response: "9e822bd4b342a01c8be20a870bce71dc"
            Authentication URI: "sip:122222 at 192.168.0.2"
            Algorithm: MD5
        Max-Forwards: 70
        Allow: INVITE,CANCEL,ACK,BYE,NOTIFY,REFER,OPTIONS,INFO,MESSAGE
        Content-Type: application/sdp
        User-Agent: CMI CM5K
        Content-Length: 329
    Message body
        Session Description Protocol
            Session Description Protocol Version (v): 0
            Owner/Creator, Session Id (o): - 56901 0 IN IP4 192.168.0.100
                Owner Username: -
                Session ID: 56901
                Session Version: 0
                Owner Network Type: IN
                Owner Address Type: IP4
                Owner Address: 192.168.0.100
            Session Name (s): SIP CALL
            Connection Information (c): IN IP4 192.168.0.100
                Connection Network Type: IN
                Connection Address Type: IP4
                Connection Address: 192.168.0.100
            Time Description, active time (t): 0 0
                Session Start Time: 0
                Session Stop Time: 0
            Media Description, name and address (m): audio 60000 RTP/AVP 0 8 18 4 23 22 2 21
                Media Type: audio
                Media Port: 60000
                Media Proto: RTP/AVP
                Media Format: ITU-T G.711 PCMU
                Media Format: ITU-T G.711 PCMA
                Media Format: ITU-T G.729
                Media Format: ITU-T G.723
                Media Format: 23
                Media Format: 22
                Media Format: ITU-T G.721
                Media Format: 21
            Media Attribute (a): rtpmap:0 PCMU/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 0 PCMU/8000
            Media Attribute (a): rtpmap:8 PCMA/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 8 PCMA/8000
            Media Attribute (a): rtpmap:18 G729/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 18 G729/8000
            Media Attribute (a): rtpmap:4 G723/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 4 G723/8000
            Media Attribute (a): rtpmap:23 G726-16/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 23 G726-16/8000
            Media Attribute (a): rtpmap:22 G726-24/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 22 G726-24/8000
            Media Attribute (a): rtpmap:2 G726-32/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 2 G726-32/8000
            Media Attribute (a): rtpmap:21 G726-40/8000
                Media Attribute Fieldname: rtpmap
                Media Attribute Value: 21 G726-40/8000
            Media Attribute (a): sendrecv

No.     Time        Source                Destination           Protocol Info
     12 7.823483    192.168.0.2           192.168.0.100         SIP      Status: 403 Forbidden

Frame 12 (505 bytes on wire, 505 bytes captured)
    Arrival Time: Sep 21, 2006 09:39:48.399637000
    Time delta from previous packet: 0.000448000 seconds
    Time since reference or first frame: 7.823483000 seconds
    Frame Number: 12
    Packet Length: 505 bytes
    Capture Length: 505 bytes
    Protocols in frame: eth:ip:udp:sip
    Coloring Rule Name: Checksum Errors
    Coloring Rule String: edp.checksum_bad==1 || ip.checksum_bad==1 || tcp.checksum_bad || udp.checksum_bad
Ethernet II, Src: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb), Dst: PortechC_00:01:8c (00:03:7e:00:01:8c)
    Destination: PortechC_00:01:8c (00:03:7e:00:01:8c)
        Address: PortechC_00:01:8c (00:03:7e:00:01:8c)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Source: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        Address: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Type: IP (0x0800)
Internet Protocol, Src: 192.168.0.2 (192.168.0.2), Dst: 192.168.0.100 (192.168.0.100)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 491
    Identification: 0x1c0d (7181)
    Flags: 0x04 (Don't Fragment)
        0... = Reserved bit: Not set
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: UDP (0x11)
    Header checksum: 0x9b3e [correct]
        Good: True
        Bad : False
    Source: 192.168.0.2 (192.168.0.2)
    Destination: 192.168.0.100 (192.168.0.100)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
    Source port: 5060 (5060)
    Destination port: 5060 (5060)
    Length: 471
    Checksum: 0x839f [incorrect, should be 0x189c]
Session Initiation Protocol
    Status-Line: SIP/2.0 403 Forbidden
        Status-Code: 403
        Resent Packet: False
    Message Header
        Via: SIP/2.0/UDP 192.168.0.100:5060;rport;branch=z9hG4bK7c49e15afac97a2f5c7f05d25cbe7912;received=192.168.0.100
        From: "2006" <sip:2006 at 192.168.0.100:5060>;tag=74f33ef1
            SIP Display info: "2006" 
            SIP from address: sip:2006 at 192.168.0.100:5060
            SIP tag: 74f33ef1
        To: <sip:122222 at 192.168.0.2>;tag=as1b2778f1
            SIP to address: sip:122222 at 192.168.0.2
            SIP tag: as1b2778f1
        Call-ID: 187fe4ba74817be660ed74cb058eed24 at 192.168.0.100
        CSeq: 802 INVITE
        User-Agent: Asterisk PBX
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
        Contact: <sip:122222 at 192.168.0.2>
            Contact Binding: <sip:122222 at 192.168.0.2>
                URI: <sip:122222 at 192.168.0.2>
                    SIP contact address: sip:122222 at 192.168.0.2
        Content-Length: 0

No.     Time        Source                Destination           Protocol Info
     13 8.001924    192.168.0.100         192.168.0.2           SIP      Request: ACK sip:122222 at 192.168.0.2

Frame 13 (507 bytes on wire, 507 bytes captured)
    Arrival Time: Sep 21, 2006 09:39:48.578078000
    Time delta from previous packet: 0.178441000 seconds
    Time since reference or first frame: 8.001924000 seconds
    Frame Number: 13
    Packet Length: 507 bytes
    Capture Length: 507 bytes
    Protocols in frame: eth:ip:udp:sip
    Coloring Rule Name: UDP
    Coloring Rule String: udp
Ethernet II, Src: PortechC_00:01:8c (00:03:7e:00:01:8c), Dst: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
    Destination: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        Address: Zioncom_f1:de:eb (00:0e:e8:f1:de:eb)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Source: PortechC_00:01:8c (00:03:7e:00:01:8c)
        Address: PortechC_00:01:8c (00:03:7e:00:01:8c)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is a FACTORY DEFAULT address
    Type: IP (0x0800)
Internet Protocol, Src: 192.168.0.100 (192.168.0.100), Dst: 192.168.0.2 (192.168.0.2)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0xa0 (DSCP 0x28: Class Selector 5; ECN: 0x00)
        1010 00.. = Differentiated Services Codepoint: Class Selector 5 (0x28)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 493
    Identification: 0x4114 (16660)
    Flags: 0x00
        0... = Reserved bit: Not set
        .0.. = Don't fragment: Not set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 61
    Protocol: UDP (0x11)
    Header checksum: 0xb895 [correct]
        Good: True
        Bad : False
    Source: 192.168.0.100 (192.168.0.100)
    Destination: 192.168.0.2 (192.168.0.2)
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 5060 (5060)
    Source port: 5060 (5060)
    Destination port: 5060 (5060)
    Length: 473
    Checksum: 0xaa6d [correct]
Session Initiation Protocol
    Request-Line: ACK sip:122222 at 192.168.0.2 SIP/2.0
        Method: ACK
        Resent Packet: False
    Message Header
        Via: SIP/2.0/UDP 192.168.0.100:5060;branch=z9hG4bK7c49e15afac97a2f5c7f05d25cbe7912
        From: "2006" <sip:2006 at 192.168.0.100:5060>;tag=74f33ef1
            SIP Display info: "2006" 
            SIP from address: sip:2006 at 192.168.0.100:5060
            SIP tag: 74f33ef1
        To: <sip:122222 at 192.168.0.2>;tag=as1b2778f1
            SIP to address: sip:122222 at 192.168.0.2
            SIP tag: as1b2778f1
        Call-ID: 187fe4ba74817be660ed74cb058eed24 at 192.168.0.100
        CSeq: 802 ACK
        Proxy-Authorization: Digest realm="asterisk",nonce="5ee2daa9",response="88ccb5f49e5366c775d394223b8e36a4",uri="sip:122222 at 192.168.0.2",algorithm=MD5
            Authentication Scheme: Digest
            Realm: "asterisk"
            Nonce Value: "5ee2daa9"
            Digest Authentication Response: "88ccb5f49e5366c775d394223b8e36a4"
            Authentication URI: "sip:122222 at 192.168.0.2"
            Algorithm: MD5
        Content-Length: 0




More information about the asterisk-users mailing list