Error in Asterisk 10.7.1

Gentlemen excuse my English, I need some help, I installed 10.7.1 asterisk in a vm for testing (lab), I created 2 extensions typically they connect, created the dial plan in extensions.ael, the funniest of the business is , when I make a call via asterisk extension it off. I’m using a zoip and x-lite to test via extension. could someone help me? follows the sip.conf and extensions.ael … since ja grateful


bindport = 5060
bindaddr =
disallow = all
allow = alaw
allow = ulaw
allow = gsm
nat = yes

type = friend
host = dynamic
context = sala
qualify = yes

secret = 1212

secret = 1212

secret = 1212


macro ramal (PROTOCOLO,RAMAL) {

context sala {
      _9XXX =>AELSub(ramal,SIP,${EXTEN});

error dmesg:

[16350.714682] asterisk[3671]: segfault at b486903c ip 0815dfc6 sp b484f9b0 error 6 in asterisk[8048000+1ce000]
[16462.944352] asterisk[3740]: segfault at b483903c ip 0815dfc6 sp b481f9b0 error 6 in asterisk[8048000+1ce000]
[16557.051904] asterisk[3807]: segfault at b47fa03c ip 0815dfc6 sp b47e09b0 error 6 in asterisk[8048000+1ce000]
[16704.144849] asterisk[3908]: segfault at b47d903c ip 0815dfc6 sp b47bf9b0 error 6 in asterisk[8048000+1ce000]
[16722.358468] asterisk[3984]: segfault at b47f203c ip 0815dfc6 sp b47d89b0 error 6 in asterisk[8048000+1ce000]


[Sep  9 18:18:22]   == Parsing '/etc/asterisk/asterisk.conf': [Sep  9 18:18:22]   == Found
[Sep  9 18:18:22]   == Parsing '/etc/asterisk/extconfig.conf': [Sep  9 18:18:22]   == Found
[Sep  9 18:18:22] Connected to Asterisk 10.7.1 currently running on lab-1 (pid = 4032)
Verbosity was 0 and is now 6
  == Using SIP RTP CoS mark 5
Disconnected from Asterisk server
[Sep  9 18:18:34] Executing last minute cleanups

Help please!!!

You have a repeatable crash. That should never result from a configuration error, although som crashes have configuration errors as co-factors.

First check that you do not have any modules left over from a previous version, as these can cause crashes. Once that is eliminated, follow the procedures at

Possible relevant issues:

AEL macros are deprecated and are internally implemented, imperfectly, as subroutines.

The following should not have any impact on the crash:

Type=peer is more secure than type=friend and is generally sufficient.

nat=yes is only relevant when Asterisk is on the public internet, and phones are not, and have broken NAT support. It is rarely needed, as the normal case is that Asterisk is behind the same NAT as the phones and it is the ITSP that is on the public network.

You will probably want to set allowguest to no, before going public.

This should have been asked on the Asterisk Support forum.

1 Like