[asterisk-bugs] [JIRA] (ASTERISK-27992) PJSIP: Adding `sends_registrations = yes` to pjsip_wizard.conf causes crash
Jonathan Harris (JIRA)
noreply at issues.asterisk.org
Tue Jul 31 12:41:54 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244349#comment-244349 ]
Jonathan Harris edited comment on ASTERISK-27992 at 7/31/18 12:41 PM:
----------------------------------------------------------------------
Ah, I've just made it crash again, this time by changing sends to accepts...
{noformat}
[sip2sip]
type = wizard
accepts_auth = yes
accepts_registrations = yes
transport = simpletrans
inbound_auth/username = XXXX
inbound_auth/password = XXXX
remote_hosts = 81.23.228.129,85.17.186.7,81.23.228.150,sip2sip.info
endpoint/allow = alaw
endpoint/context = fromvoipfone200
aor/max_contacts = 3
registration/contact_user = XXXX
outbound_proxy = proxy.sipthor.net
endpoint/language=en_GB
{noformat}
EDIT: I notice you changed the status to "minor" - I'm not sure that a typo in a config file bringing down an entire system is "minor"!.
was (Author: lardconcepts):
Ah, I've just made it crash again, this time by changing sends to accepts...
{noformat}
[sip2sip]
type = wizard
accepts_auth = yes
accepts_registrations = yes
transport = simpletrans
inbound_auth/username = XXXX
inbound_auth/password = XXXX
remote_hosts = 81.23.228.129,85.17.186.7,81.23.228.150,sip2sip.info
endpoint/allow = alaw
endpoint/context = fromvoipfone200
aor/max_contacts = 3
registration/contact_user = XXXX
outbound_proxy = proxy.sipthor.net
endpoint/language=en_GB
{noformat}
> PJSIP: Adding `sends_registrations = yes` to pjsip_wizard.conf causes crash
> ----------------------------------------------------------------------------
>
> Key: ASTERISK-27992
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27992
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip_config_wizard
> Affects Versions: 15.5.0
> Environment: Linux 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linu
> Reporter: Jonathan Harris
> Assignee: Unassigned
> Severity: Minor
> Labels: pjsip
> Attachments: ASTERISK-27992.tar.zip, pjs_wiz.conf
>
>
> Adding `sends_registrations = yes` to pjsip_wizard.conf and reloading causes segfault. Asterisk will not start after that. In the syslog:
> Jul 28 22:20:41 televox kernel: [ 50.728769] asterisk[1504]: segfault at 0 ip 00007f4be3e00646 sp 00007ffc32067388 error 4 in libc-2.27.so[7f4be3d4f000+1e7000]
> Removing the offending line allows asterisk to start.
> There are no custom modules or flags - this is a straight build.
> gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)
> See attached stack trace
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list