[asterisk-bugs] [JIRA] (ASTERISK-30187) chan_sip: Unsupported URI(416)

N A (JIRA) noreply at issues.asterisk.org
Tue Aug 23 06:54:08 CDT 2022


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

N A commented on ASTERISK-30187:
--------------------------------

abhi: I don't think is really a bug, it would be a new feature, since I don't think chan_sip has ever supported tel URIs.

As such, such a feature would never go into chan_sip mainstream since only bugs and security fixes are accepted for chan_sip. It does not sound like you are familiar with the Asterisk source so you would probably need to put a bounty on this for someone to add it for you, and there is no guarantee either way.

Basic tel URI support is currently being added to PJSIP. You should investigate whether this suits your needs and, if so, use PJSIP instead of SIP.

> chan_sip: Unsupported URI(416) 
> -------------------------------
>
>                 Key: ASTERISK-30187
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30187
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 16.26.0
>         Environment: Debian 11
>            Reporter: abhi
>            Severity: Major
>
> Hi Team,
> i am getting unsupported uri on asterisk (416 for incoming call) when calling from landline number without E164 format if we add country code then works fine but when we try to call without  country code the we get this issue. This is very critical issue now can you please suggest what changes i have to do in chan_sip.c for handling this or any other solution for this issue .below i am sharing the asterisk cli log.
>        > 0x55af3bcc5270 -- Strict RTP learning after remote address set to: 10.238.70.67:36646
> [Aug 19 15:43:26] NOTICE[916][C-00010096]: chan_sip.c:18547 get_destination: debug [<tel:01111>]
> [Aug 19 15:43:26] NOTICE[916][C-00010096]: chan_sip.c:18549 get_destination: PATCH: Using P-Asserted-Identity: [tel:01111]
> [Aug 19 15:43:26] WARNING[916][C-00010096]: chan_sip.c:18554 get_destination: Not a SIP header (001111)?
> [Aug 19 15:43:29] NOTICE[916][C-00010097]: chan_sip.c:19487 check_user_full: PATCH tel:SCHEMA : USE  P-Asserted-Identity, Instead [From <tel:>]
> [Aug 19 16:05:40] NOTICE[916][C-00012e86]: chan_sip.c:19528 check_user_full: From address missing 'sip:', we try to use P-Asserted-Identity instead
> Please guide asap.



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



More information about the asterisk-bugs mailing list