[asterisk-bugs] [JIRA] (ASTERISK-27696) PJSIP accepts UDP register for TCP endpoint

snuffy (JIRA) noreply at issues.asterisk.org
Thu Feb 22 16:53:13 CST 2018


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

snuffy updated ASTERISK-27696:
------------------------------

    Attachment: pjsip-accepts-udp-register-for-tcp-endpoint-once.txt

Order in File:
* Phone registered via TCP
* Phone de-registers via TCP on reboot
* Phone attempts to register via UDP on next boot
* Asterisk accepts Register on UDP
* Asterisk then invalidates Contact
* Asterisk denies future Registers via UDP for Phone
* Phone attempts Dial out via UDP
* Phone de-registers via UDP on reboot
* Phone registers as TCP after boot.

> PJSIP accepts UDP register for TCP endpoint
> -------------------------------------------
>
>                 Key: ASTERISK-27696
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27696
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: GIT
>         Environment: Debian 9
> Compile options
> DONT_OPTIMIZE
> BETTER_BACKTRACES
>            Reporter: snuffy
>            Severity: Minor
>              Labels: pjsip
>         Attachments: pjsip-accepts-udp-register-for-tcp-endpoint-once.txt
>
>
> *Create an Endpoint with TCP as transport
> * Use dynamic registration
> * Set a phone to use UDP instead to register as endpoint
> First registration attempt as UDP will be accepted by Asterisk with 200 OK
> Asterisk then flags AOR as available, then immediately removes the contact as it is UDP.
> From then on phone gets correct 401 - REFUSED to any further attempts to register / call out.
> Will attach test case shortly



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



More information about the asterisk-bugs mailing list