Channel Variables

FreePBX/Asterisk 14

I have a 13 digit CIDNUM that I want to parse into three variables. I was going to write something in the custom.conf to do this, but was wondering if there is a way to set variables in the GUI?

Thanks!

So you plan on parsing a caller number into 3 variables ($v1 $v2 $v3) with dialplan, that’s pretty straight forward.

Can you clarify what you mean by “set variables in the gui”?

Correct, easy enough to do. What I was planning on doing was creating a custom context to split the CID into $v1, $v2, $v3. I would normally do this by SSHing into the box and writing the context in the custom conf file.

My question was, instead of doing the above, is there a way to accomplish something similar (split CID(num) into $v1 $v2 $v3) using only the FreePBX GUI and modules? I didn’t think there was, but realized that I do not know for sure.

So I thought I would ask :slight_smile:

No. Unless you count editing extensions_custom.conf with the Config Edit module.

Thanks!

1 Like

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