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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Mar 26 18:55:39 CDT 2018


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

Joshua Colp commented on ASTERISK-27696:
----------------------------------------

I think that could be a potential improvement to make to improve the user experience, but as it is the option itself is working as it is supposed to.

> 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
>            Assignee: Unassigned
>            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