Hello good morning, I have a doubt:
I have a PRI(30 channels) for fixes and a PRI for mobiles(30 channels)
To do a call through PRI for mobiles I need to pass this sequence of digits “333” + number to call
To do a call though PRI for fixes I only need to pass the number to call.
I would like to know if it possible from the FreePBX GUI to do this:
- At first instance I want that an external call is sent by the PRI-fixes
- If the primary is full I want that the external call is sent by the PRI-mobile
If I didnt need to use the prepend “333” when I do a call through the PRI-mobile, all will be as simple as use two trunks on the same outbound route.
But in this case I need to use a prepend to make calls thorugh the PRI-mobiles. It is possible to use two different outbound routes so that if one of the outbound routes is congested the call can be go through the other outbound route?
With plain dialplan you can do that:
exten => _06XXXXXXXX,1,NoOp()
same => n,Dial(SIP/prim-fixed/${EXTEN},300,T)
same => n,DIal(SIP/prim-mobile/333${EXTEN},300,T)
But what could I do with FreePBX? In this case I need to create 2 trunks and 2 outbound routes. How can I jump from the first trunk to the second using different outbound routes?
I think that with FreePBX if the call go to the PRI for fixes and all the channels are BUSY it appears a CONGESTION audio and the call is finalishez instead of triying to go through the other trunk-outbound route