[asterisk-bugs] [JIRA] (ASTERISK-26894) pjsip should support tel uri scheme

m0bius (JIRA) noreply at issues.asterisk.org
Mon May 7 09:19:56 CDT 2018


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

m0bius edited comment on ASTERISK-26894 at 5/7/18 9:19 AM:
-----------------------------------------------------------

I've looked into the PJSIP source code (2.7.2) and it appears that it does handle tel: uris, so I went ahead and tried the above patch to a server and so far I've not experienced any crashes due to it.

The only thing I've noticed is that it encodes the ascii characters in the P-Asserted-Identity and Remote-Party-Id responses if send rpid and send pai are enabled, but this might not be related to the above workaround

However, even if there is no intention on providing tel: support for the URIs, silently dropping the call without any NOTICE or WARNING is a major issue, since someone might be already affected by this, and not know it at all. I don't think there is any other similar case where asterisk drops sip calls without any warning

I'll connect to the IRC channel and bring it up. 



was (Author: m0bius):
I've looked into the PJSIP source code (2.7.2) and it appears that it does handle tel: uris, so I went ahead and tried the above patch to a server and so far I've not experienced any crashes due to it.

The only thing I've noticed is that it encodes the ascii characters in the P-Asserted-Identity and Remote-Party-Id responses if send rpid and send pai are enabled. 

However, even if there is no intention on providing tel: support for the URIs, silently dropping the call without any NOTICE or WARNING is a major issue, since someone might be already affected by this, and not know it at all. I don't think there is any other similar case where asterisk drops sip calls without any warning

I'll connect to the IRC channel and bring it up. 


> pjsip should support tel uri scheme
> -----------------------------------
>
>                 Key: ASTERISK-26894
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26894
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_session
>            Reporter: Gergely Dömsödi
>              Labels: patch, pjsip
>         Attachments: tel.patch
>
>
> When {{res_pjsip}} receives an INVITE with tel: request uris (as defined in rfc3966, rfc4694), it responds with {{416 Unsupported URI Scheme}} even though the underlying PJSIP stack supports it. chan_sip also supports it, the work was done at issue ASTERISK-17179.



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



More information about the asterisk-bugs mailing list