[asterisk-bugs] [JIRA] (ASTERISK-28022) res_pjsip realtime: uri column in ps_contacts table can be too short

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Aug 23 06:42:54 CDT 2018


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

Asterisk Team commented on ASTERISK-28022:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> res_pjsip realtime: uri column in ps_contacts table can be too short
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-28022
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28022
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.22.0, 15.5.0, 16.0.0
>         Environment: Debian 9.5 "stretch"
>            Reporter: Florian Floimair
>              Labels: pjsip
>
> When mobile SIP clients register with Asterisk that use some sort of push notifications, the URI can get quite lengthy due to the additional push-service annotations (things like tokens, pn-type, etc.) contained in it.
> The current uri column in ps_contacts is 255 characters, but we have seen instances with Android devices (that have very long tokens) where the resulting URI was actually up to 280 characters long.
> As a result, the URI is truncated to the 255 characters allowed and outgoing calls to the endpoint are failing. Also re-registrations of the client do not match the previous contact entry since the comparison cannot result to "equal".
> I have prepared an alembic script that extends the uri column to twice the size.



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



More information about the asterisk-bugs mailing list