[asterisk-bugs] [JIRA] (ASTERISK-30124) res_pjsip: pjsip reload causes crash

N A (JIRA) noreply at issues.asterisk.org
Mon Jul 4 09:22:08 CDT 2022


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

N A updated ASTERISK-30124:
---------------------------

    Description: 
What happened was I commented out some sections in pjsip.conf for a defunct registration that is no longer used.

Specifically, this was what I commented out, and the only change between the reload:

{noformat}
[reg_losangeles1.voip.ms]
type = registration
retry_interval = 20
max_retries = 10
contact_user = REDACTED
expiration = 120
transport = transport-udp
outbound_auth = auth_reg_losangeles1.voip.ms
client_uri = sip:REDACTED at losangeles1.voip.ms
server_uri = sip:losangeles1.voip.ms

[auth_reg_losangeles1.voip.ms]
type = auth
password = REDACTED
username = REDACTED

[REDACTED]
type = aor
contact = sip:losangeles1.voip.ms
qualify_frequency = 60

[REDACTED]
type = identify
endpoint = REDACTED
match = losangeles1.voip.ms

[REDACTED](endpoint)
context = REDACTED
dtmf_mode = inband
aors = REDACTED
{noformat}

When I did "pjsip reload", that then triggered an assertion.

I think the above is relevant because PJSIP was trying to do something with the stuff above and that was what got removed on the reload.

Backtrace attached.

  was:
Issuing "pjsip reload" triggered an assertion, which caused a crash.

Backtrace attached.


> res_pjsip: pjsip reload causes crash
> ------------------------------------
>
>                 Key: ASTERISK-30124
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30124
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 18.9.0
>            Reporter: N A
>         Attachments: pwg2fjegpe.txt
>
>
> What happened was I commented out some sections in pjsip.conf for a defunct registration that is no longer used.
> Specifically, this was what I commented out, and the only change between the reload:
> {noformat}
> [reg_losangeles1.voip.ms]
> type = registration
> retry_interval = 20
> max_retries = 10
> contact_user = REDACTED
> expiration = 120
> transport = transport-udp
> outbound_auth = auth_reg_losangeles1.voip.ms
> client_uri = sip:REDACTED at losangeles1.voip.ms
> server_uri = sip:losangeles1.voip.ms
> [auth_reg_losangeles1.voip.ms]
> type = auth
> password = REDACTED
> username = REDACTED
> [REDACTED]
> type = aor
> contact = sip:losangeles1.voip.ms
> qualify_frequency = 60
> [REDACTED]
> type = identify
> endpoint = REDACTED
> match = losangeles1.voip.ms
> [REDACTED](endpoint)
> context = REDACTED
> dtmf_mode = inband
> aors = REDACTED
> {noformat}
> When I did "pjsip reload", that then triggered an assertion.
> I think the above is relevant because PJSIP was trying to do something with the stuff above and that was what got removed on the reload.
> Backtrace attached.



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



More information about the asterisk-bugs mailing list