[asterisk-bugs] [JIRA] (ASTERISK-28312) Corrupted SIP Diversion field after handling a 302 redirect

Alex Odrov (JIRA) noreply at issues.asterisk.org
Thu Feb 28 05:24:47 CST 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246363#comment-246363 ] 

Alex Odrov commented on ASTERISK-28312:
---------------------------------------

Packet capture - frame 19, message header after Allow field

Frame 19: 964 bytes on wire (7712 bits), 964 bytes captured (7712 bits)
Ethernet II, Src: Vmware_82:2a:18 (00:50:56:82:2a:18), Dst: Cisco_1a:8c:00 (00:21:56:1a:8c:00)
Internet Protocol Version 4, Src: 10.200.32.222, Dst: 10.199.251.2
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (200)
    Status-Line: SIP/2.0 200 OK
    Message Header
        Via: SIP/2.0/UDP 10.199.251.2:5060;rport=5060;received=10.199.251.2;branch=z9hG4bK3622178565
        Call-ID: 1_2384255746 at 10.199.251.2
        From: "0986011" <sip:0986011 at 10.200.32.222>;tag=4127690886
        To: <sip:0986010 at 10.200.32.222>;tag=89e5a007-a5f0-472b-a527-ba5118dd864c
        CSeq: 2 INVITE
        Server: Asterisk PBX 16.2.0
        Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
        \000\000\000\000\000\000\000\000E: <sip:0986010 at 10.200.32.222>;reason=unconditional
        Contact: <sip:10.200.32.222:5060>
...


> Corrupted SIP Diversion field after handling a 302 redirect
> -----------------------------------------------------------
>
>                 Key: ASTERISK-28312
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28312
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 16.2.0, 13.24.1
>         Environment: VmWare virtual server with CentOS Linux release 7.6.1810 x86_64
>            Reporter: Alex Odrov
>            Assignee: Alex Odrov
>         Attachments: debug_log_123456, dump_302.pcap
>
>
> After handling a 302 redirect, Asterisk starts sending corrupted SIP headers for the remainder of that call:
> \000\000\000\000\000\000\000\000\000: <sip:0986010 at 10.200.32.222>;reason=unconditional
> instead of
> Diversion: <sip:0986010 at 10.200.32.222>;reason=unconditional
> The same issue as https://issues.asterisk.org/jira/browse/ASTERISK-28243



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list