Outbound routes add creates 2 routes

drhamel

New Member
Apr 18, 2024
4
0
1
55
Hi all. I have been using FreePBX but I am trying to learn fusionPBX, mostly because of the multitenant capabilities. I have inbound working fine, but my have issues with outbound calls. My provider is skyetel. First, Why when I click add to outbound routes does it create 2 routes?
 

Attachments

  • Screenshot 2024-11-19 202430.png
    Screenshot 2024-11-19 202430.png
    17.8 KB · Views: 6

albert-g

Member
Aug 11, 2020
85
2
8
44
Hello, about the real purpose of this can't answer, but its ok, it shouldn't be a problem, you should focus on the one that with order 100. Carefully check if you correctly set your regex, so it will catch the number you trying to call, and gateway. If you said that incoming calls are good, I assume gateway is already correctly setup, so focus on `destination_number` regex and also very important this one - effective_caller_id_number=${outbound_caller_id_number}, maybe you need to add number here for your outbound calls.
 

markjcrane

Active Member
Staff member
Jul 22, 2018
503
177
43
49
I'm the one that added the additional 'outbound route'. So I know why I added it.

The purpose of the additional outbound route is to set the call_direction to outbound early enough in the dialplan so that it can be known that the call is identified as an outbound call. We were setting this variable in the main outbound route which would identify the call as an outbound call for call detail records. However, it was too late to be used by other dial plans.