File Based Dial Plan

 

In Some Deployment the number of dial plan required is too large to be handled by the existing Vega dila plan management This feature helps you in achieving the same

 

This document describes on how to configure  File Based Dial Plan on the Vega 400G

 

Step 1:

Enabled the TFTP on the Vega

LAN / WAN ==> TFTP server IP select static and enter the IP address of your TFTP server

image-20240202-140350.png

 

STEP 2:

Ensure on the TFTP server  IP you have the TFTP server running and the file path is set where we have the dial plan file

 

image-20240202-140405.png

 

STEP 3 :

SSH to the Vega and run the below command, based on you dial plan lines set it accordingly in our example we set to 500

 

STEP 4:

Check using the GET command to see if the file can read and you can see the dial plan configured  on that file , the output will be as shown below

admin  >GET tftp:testing.txt

reading file ...

tftp:testing.txt > 12345,5

tftp:testing.txt > 123456,6

tftp:testing.txt > 12345,5

tftp:testing.txt > 123456,6

tftp:testing.txt > 12345,5

1706 bytes received in 0 Seconds 1706.0Kbytes/sec

 

STEP 5:

Once you are  confirmed ,to get the file content from the TFTP server , its time to copy the file from TFTP server to Vega Flash,to ensure the dial plan file is loaded  for doing that follow the below steps

 

You will get completed message once the file Is copied to the Vega

 

STEP  6:

Run the below "dir" command to ensure that your dial plan file is on the system

 

NOTE

STEP6: is Optional and is only valid in case of Digital VEGA i.e. VEGA 100/200/400G and is not valid in case of 3000G/3050G/60G

 

STEP 7 :

Once the file is copied, go the Dial Plan   Configuration ===> Dial Plan  TO_SIP click on the Modify as shown below

 

Then in the Source Field you can see the file name of your dial plan field as IF:0[4].., TEL:<'testing.txt'> where the file name we set is testing, ideally it will come automatically if not you have to enter the file name as shown

 

 

STEP 8:

Final Step is Testing calls,  once all the above is successful then you will see the calls works seamlessly, here is one sample call, wherein you can see the SIP dest it shows the file name and the line number on which this number  is placed

example: the number 232323 is located at line 126 on the testing.txt file

 

   call ref=[f1000598]                          srce=TEL:7001,DISP:7001 [0]

LOG: 12/06/2020 14:10:12.090 ROUTER   (I)R0bC00 FINDROUTE profile:20(To_SIP) plan:1

   call ref=[f1000598]                            <-- ISDN    [1,1] dest=TEL:232323

                                                  --> SIP     [2,1] dest=TEL:232323 ('testing.txt';line 126)

LOG: 12/06/2020 14:10:12.090 ROUTER   (I)R0bC00 call proceeding

   call ref=[f1000598]

LOG: 12/06/2020 14:10:19.460 SIP      (I)R03C11 connect g711Ulaw64k (Profile 1 - Voice)

 

Note : If you make any changes on the file  adding or  deleting the dial plan rules, then you have to execute the Step 5 only. this will ensure that  Vega will have the updated dial plan.

 

 

Return to Documentation Home I Return to Sangoma Support