How to "see" the dial plan beeing executed

Hi there !
I’ve been using Asterisk for more than a decade now. We have a rather old asterisk install of Asterisk 11 on an old centos6 vm to act as ou PBX.

Now we will be switching provider and it’s time to update a little bit our setup. I installed Asterisk 18 on a new vm, and I soon realized that chan_pjsip has been pushed forward instead of chan_sip that won’t be maintained. I got an SIP trunk with my provider I was able to established with pjsip.

Now I am at the part of connecting handsets to the PBX, and debugging what is going on.

With Asterisk 11, I was able to connect to the console with asterisk -r and “see” the call and the execution of the dialplan, for exemple :

    -- Executing [NPANXXXXXX@ael-default:1] Goto("SIP/trunk-inbound-002e012d", "s,1") in new stack
    -- Executing [s@ael-default:16] Answer("SIP/trunk-inbound-002e012d", "") in new stack
    -- Executing [s@ael-default:18] WaitExten("SIP/trunk-inbound-002e012d", "1") in new stack
    -- Timeout on SIP/trunk-inbound-002e012d, continuing...
    -- Executing [s@ael-default:19] BackGround("SIP/trunk-inbound-002e012d", "main-welcome") in new stack
    -- <SIP/trunk-inbound-002e012d> Playing 'main-welcome.slin' (language 'fr')

With Asterisk 19, I despite my best effort and changes to logger.conf, I was not able to get that.

How can I ?


asterisk -r + core set verbose 3

As soon as I remember, those commands are identical as in asterisk 11

Oh boy… Never occurred to me I missed a v in my command :man_facepalming: Nevermind !

your command should be: asterisk -rvvvvv , as many v as you like :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.