[asterisk-bugs] [JIRA] (ASTERISK-27775) Includes for Events in pjsip_notify.conf lead to more Event headers

AvayaXAsterisk (JIRA) noreply at issues.asterisk.org
Mon Mar 26 16:48:39 CDT 2018


AvayaXAsterisk created ASTERISK-27775:
-----------------------------------------

             Summary: Includes for Events in pjsip_notify.conf lead to more Event headers
                 Key: ASTERISK-27775
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27775
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: pjproject/pjsip
    Affects Versions: 13.18.3
            Reporter: AvayaXAsterisk
            Severity: Minor


This issue was discovered on FreePBX distro, but the developers asked me to report it here as a pjsip problem.
When using Includes in pjsip_notify.conf, like FreePBX does with 
#include sip_notify_custom.conf and #include sip_notify_additional.conf in it, and having different event headers in each file, the SIP notify will then contain both event headers, conflicting each other.

This is not happening on chansip.

There is no need for Asterisk to include two event headers in pjsip, the first one is sufficient.
NOTIFY sip:5314 at 10.124.193.26:5160 SIP/2.0 
 Via: SIP/2.0/UDP 10.1.1.176:5160;rport;branch=z9hG4bKPj962499e6-e385-4034-b112-f65804ebe63d 
 From: <sip:5314 at 10.1.1.176>;tag=0d0a4a08-e929-401f-9d23-61d142d446b4 
 To: <sip:5314 at 10.124.193.26> 
 Contact: <sip:5314 at 10.1.1.176:5160> 
 Call-ID: 44665192-e993-4979-81fe-02c17fa959ad 
 CSeq: 25027 NOTIFY 
 Subscription-State: terminated 
 Event: check-sync\ 
 Event: check-sync;reboot=true 
 Max-Forwards: 70 
 User-Agent: FPBX-13.0.194.2(13.18.3) 
 Content-Length: 0




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



More information about the asterisk-bugs mailing list