[asterisk-bugs] [JIRA] (ASTERISK-27036) res_pjsip: Asterisk crashes when an extension tries to use PJSIP trunk with from_user containing '@'

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Jun 16 08:56:57 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-27036:
------------------------------------

    Summary: res_pjsip: Asterisk crashes when an extension tries to use PJSIP trunk with from_user containing '@'  (was: Asterisk crashes when an extension tries to use PJSIP trunk with from_user containing '@')

> res_pjsip: Asterisk crashes when an extension tries to use PJSIP trunk with from_user containing '@'
> ----------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27036
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27036
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.13.0, 13.16.0, 14.5.0
>         Environment: cat /etc/redhat-release
> CentOS release 6.9 (Final)
> Linux asterisk 2.6.32-042stab120.11 #1 SMP Wed Nov 16 12:05:45 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux
> Same error with Centos 7 and 3x kernel
> Asterisk certified/13.13-cert3
>            Reporter: Maxim Vasilev
>         Attachments: 2017-06-13_093109.png, 2017-06-13_093415.png
>
>
> Asterisk crashes when an extension tries to call any endpoint (and PJSIP treunk) while from_user field contains "@" at called party.
> I'm use PJSIP realtime configuration.
> from_user field in ps_endpoints table.
> It affect also in FreePBX with PJSIP sip-channel mode with same version of Asterisk.
> It checked at two clean Asterisk servers and server with FreePBX with Asterisk.
> The crash happens any time someone tries to dial out through a PJSIP trunk containing the '@' symbol in the from_user config option. For example, ast1 registers to ast2. ast1's trunk has "from_user = ast1@". When ast1 tries to make a call through this trunk, ast1 crashes. ast2 will crash if the endpoint that ast1 is registering to has the '@' symbol in the from_user config option and tries to call that endpoint. This is reproducible 100% of the time.



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



More information about the asterisk-bugs mailing list