[asterisk-bugs] [JIRA] (ASTERISK-29261) res_pjsip: user=phone validation fail for isup numbers containing *#

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Jan 27 11:06:59 CST 2021


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

Friendly Automation commented on ASTERISK-29261:
------------------------------------------------

Change 15335 merged by George Joseph:
res/res_pjsip.c: allow user=phone when number contain *#

[https://gerrit.asterisk.org/c/asterisk/+/15335|https://gerrit.asterisk.org/c/asterisk/+/15335]

> res_pjsip: user=phone validation fail for isup numbers containing *#
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-29261
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29261
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 18.0.0, 18.1.0, 18.1.1
>            Reporter: Mark Petersen
>            Assignee: Mark Petersen
>            Severity: Minor
>
> if From number contain * or # asterisk will not add user=phone
> Currently only number that uses AST_DIGIT_ANYNUM can have "user=phone" but the validation should use AST_DIGIT_ANY
> this is a problem when you want to send call to ISUP
> as they will disregard the From header and either replace From with anonymous or with p-asserted-identity
> https://tools.ietf.org/html/rfc3966#section-5.1.3
> for some reason when this section was first added (17 Oct 2014) the comment in the code use the correct AST_DIGIT_ANY but the actual code uses AST_DIGIT_ANYNUM :-/



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



More information about the asterisk-bugs mailing list