[asterisk-bugs] [JIRA] (ASTERISK-26250) Asterisk crashes on unregister with PJSIP multi domain account

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Jul 29 03:35:56 CDT 2016


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

Asterisk Team commented on ASTERISK-26250:
------------------------------------------

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 crashes on unregister with PJSIP multi domain account
> --------------------------------------------------------------
>
>                 Key: ASTERISK-26250
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26250
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip, Resources/res_pjsip
>    Affects Versions: 13.9.1
>            Reporter: Norbert Varga
>
> I have the following config in a config file included in pjsip.conf:
> {code}
> [1000 at mypbx.com]
> type = endpoint
> transport = transport-udp-nat
> disallow = all
> allow = ulaw
> direct_media = no
> rtp_symmetric = yes
> force_rport = yes
> rewrite_contact = yes
> context = pbxtest
> auth = 1000
> aors = 1000 at mypbx.com
> from_domain=mypbx.com
> [1000]
> type = auth
> auth_type = userpass
> username = 1000
> password = leo5t7h7CvEE
> [1000 at mypbx.com]
> type = aor
> max_contacts = 1
> remove_existing = yes
> {code}
> Registration seems OK with this account. But when I try to unregister, Asterisk crashes. In some cases it doesn't crash, but shows an error that "Object is likely destroyed" , see attachment. Backtrace also attached.
> If I remove the domain part from the AOR, unregister works just fine, no crashes:
> {code}
> [1000 at pbxtest.cloudcallnow.com]
> type = endpoint
> transport = transport-udp-nat
> disallow = all
> allow = ulaw
> direct_media = no
> rtp_symmetric = yes
> force_rport = yes
> rewrite_contact = yes
> context = pbxtest
> auth = 1000
> aors = 1000
> from_domain=pbxtest.cloudcallnow.com
> [1000]
> type = auth
> auth_type = userpass
> username = 1000
> password = leo5t7h7CvEE
> [1000]
> type = aor
> max_contacts = 1
> remove_existing = yes
> {code}
> The problem with this I want to create other endpoints with the same username, like 1000 at myotherpbx.com, and I have to use a different aor for that. And I cannot use an aor name different from the endpoint, because then I get "AOR not found for endpoint" error.



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



More information about the asterisk-bugs mailing list