[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:52:56 CDT 2016


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

Joshua Colp updated ASTERISK-26250:
-----------------------------------

    Assignee: Norbert Varga
      Status: Waiting for Feedback  (was: Triage)

> 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