[asterisk-bugs] [JIRA] (ASTERISK-25337) Asterisk Crash on PJSIP Add P-Asserted-Identiry

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Aug 21 10:28:33 CDT 2015


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

Asterisk Team commented on ASTERISK-25337:
------------------------------------------

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].

> Asterisk Crash on PJSIP Add P-Asserted-Identiry
> -----------------------------------------------
>
>                 Key: ASTERISK-25337
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25337
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.3.0
>         Environment: VM built on VMware vcenter, running on a SSD based SAN
>            Reporter: Jacques Peacock
>
> We have an asterisk system configured to an external SIP trunk using the PJSIP driver using UDP as the transport. We use ael for our dialplan. 
> Asterisk is installed using the Digium repository, we do not compile it as we run approx 10 asterisk servers in various configurations, so we use the repos to make synchronising versions straightforward.
> Example endpoint configuration:
> ;======ENDPOINT
> [testtrunk]
> type = endpoint
> context = ael-incoming-sm
> disallow = all
> allow = alaw
> transport=udptrans
> direct_media = yes
> direct_media_glare_mitigation = outgoing
> from_user = ourserver
> from_domain = ourdomain.local
> tos_audio = ef
> language = en
> aors = myaors
> send_pai = yes
> Calls arrive from the remote trunk with the P-Asserted-Identity header populated.
> If send_pai is set to yes in the endpoint configuration, then attempting to add the header manually causes asterisk to crash with a segmentation fault:
> Set(PJSIP_HEADER(add,P-Asserted-Identity)=sip:01234456789 at domain.local);
> If it is set to no, then the command works as expected.
> I would not expect a crash to be the normal behaviour here, I would normally expect either a CLI error to occur or the set command to succed



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



More information about the asterisk-bugs mailing list