FreePBX/Asterisk Logging Cipher


(Bluegill) #1

Is there a logging cipher out there to help with reading FreePBX and Asterisk traces?

I was specifically looking at this trace to understand the “Spawn extension” parameters here:

[2020-06-02 12:49:03] VERBOSE[12081][C-0000002c] pbx.c: Spawn extension (ivr-1, s, 11) exited non-zero on ‘PJSIP/Trunk1-00000041’

ivr-1 | I assume this is the IVR object configured

s | maybe an exit object reference of some kind?

11 | maybe an exit code of some kind?


#2

Google

asterisk dialplan tutorial

ten minutes later you have your key to the ‘cipher’

ivr-1 is the context
s is the extension in that context
11 is the priority of the extension in that context.

and that is where your call progresses to,


(Dave Burgess) #3

You can also think of it as the “step” in the context, since all contexts are identified by extension and step. Priority is absolutely correct, but in real life, the priority 1 step is first, the priority 2 step is second, etc…


(Bluegill) #4

Gotcha, that video did help thanks!


(system) closed #5

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