Calling Between Ports

 

If you want to call from one port on your vega to another port, directly:

Steps:

1. send the call to the Vega's local loopback in one (in the To-SIP planner),

2. in the To-FXS (for analog vega), or To-FXO, or To-E1T1(for digital vega) receive the call and send it to the other port 

 

Below is an example of how to do this with an analog vega (vega50 4FXS).

 

As seen, the call is initiated by an FXS port and send to the To-SIP dialplan.
The To-SIP dialplans says that any call from any of the FXS ports on this vega (i.e. IF:010.), that dialed a 3 digit extension (i.e. <...>, send the call through the sip profile 9901 to the local loopback address of the vega (i.e. 127.0.0.1)
So only calls from a port that dialed a 3 digit extension will go to the vega's local loopback. No other types of call should go to the localloopback address.
Make sure to use Costs, so that the first rule is tried first, so that if the call is not destined for a 3 digit extension (i.e. another port on the vega) then send it to the catch all.
(Cost of 1 is first priority, cost of 3 is last priority)

 

Now we need to capture the call FROM the local loopback and send it to the desired port.
Since we are using an analog vega, click on the To-FXS dialplan (in a digital vega click on To_E1T1)

As seen here, the dialplan is listening for any traffic from the sip profile 9901, and it is for the 3 digit number 401, make the call ring port 0102.  If the call was for extension 402, call port 0103.
If the inbound call from sip was non of the 401 or 402 extension, then call port 0104 

Make sure to use Costs so that the first two rules are tried first, then the catch all is used (1 is priority 1 and 3 is last priority)

Return to Documentation Home I Return to Sangoma Support