[asterisk-bugs] [JIRA] (ASTERISK-19057) [patch] message-summary NOTIFY: Port in Message-Account added twice and mwi_from (sip.conf) has no effect

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Dec 19 06:25:07 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-19057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-19057:
-----------------------------------

    Affects Version/s: 13.18.4

> [patch] message-summary NOTIFY: Port in Message-Account added twice  and mwi_from (sip.conf) has no effect
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-19057
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19057
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Subscriptions
>    Affects Versions: SVN, 10.0.0, 13.18.4
>         Environment: asterisk-.1.10.0 asterisk-trunk
>            Reporter: Yuri
>            Severity: Minor
>         Attachments: 348360chan_sip.diff, ASTERISK-19057_notify_port_bug.diff
>
>
> Hi.
> A use non standart port number for SIP protocol (in this case: 15072)
> sip peer configuration in sip.conf:
> [100]
> type=friend
> fromuser=100
> host=dynamic
> insecure=port
> nat=yes
> directmedia=no
> context=from_sip
> secret=xxxxxx
> subscribemwi=yes
> vmexten=100
> mwi_from=100
> After sip client subscribeb to MWI, i got the following notify:
> <------------>
> NOTIFY sip:100 at 192.168.1.119:38098;transport=UDP SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.1:15072;branch=z9hG4bK089490e9;rport
> Max-Forwards: 70
> Route: <sip:100 at 192.168.1.119:38098;transport=UDP>
> From: "asterisk" <sip:asterisk at 192.168.1.1:15072>;tag=as77ac08d3
> To: <sip:100 at 192.168.1.119:38098;transport=UDP>;tag=5962c620
> Contact: <sip:asterisk at 192.168.1.1:15072>
> Call-ID: N2Q2YWFhMDI5NTdkNDUxNjIxNjQzNWE2ZDcwNWI5MGM.
> CSeq: 102 NOTIFY
> User-Agent: Asterisk PBX SVN-trunk-r348312M
> Event: message-summary
> Content-Type: application/simple-message-summary
> Subscription-State: active
> Content-Length: 101
> Messages-Waiting: no
> Message-Account: sip:100 at 192.168.1.1:15072:15072
> Voice-Message: 0/0 (0/0)
> ---
> Poblems:
> 1. In "Message-Account:"  port number typed twice.
> 2. headers, which I expected: "From: <sip:100 at 192.168.1.1:15072>" and "Contact: <sip:100 at 192.168.1.1:15072>", I have not received. 



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



More information about the asterisk-bugs mailing list