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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Fri Jul 29 04:56:56 CDT 2016


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

Joshua Colp edited comment on ASTERISK-26250 at 7/29/16 4:55 AM:
-----------------------------------------------------------------

It appears the bug you have submitted is against a rather old version of a supported branch of Asterisk. There have been many issues fixed between the version you are using and the current version of your branch. Please test with the latest version in your Asterisk branch and report whether the issue persists.

Please see the Asterisk Versions [1] wiki page for info on which versions of Asterisk are supported.
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

In fact the code in the backtrace doesn't even exist anymore in 13.10.0, as it was removed and redone.


was (Author: jcolp):
It appears the bug you have submitted is against a rather old version of a supported branch of Asterisk. There have been many issues fixed between the version you are using and the current version of your branch. Please test with the latest version in your Asterisk branch and report whether the issue persists.

Please see the Asterisk Versions [1] wiki page for info on which versions of Asterisk are supported.
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

In fact the code you are referencing doesn't even exist anymore in 13.10.0, as it was removed and redone.

> 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
>            Assignee: Norbert Varga
>         Attachments: backtrace.txt, error_log.txt
>
>
> 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 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
> from_domain=mypbx.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