Inbound from Sip Server only land on single extension

Status
Not open for further replies.

junaidamjad1

New Member
Mar 30, 2023
2
0
1
34
Hi,
I have two SIP servers FreePBX EXT 1XXX and FuionPBX 5XXX. Call from freepbx to fusionpbx can land only on single extension and it works perfectly as shown in Picture. but i need a dial plan that call land on extension range based on caller id.
 

Attachments

  • Destination Rule.jpg
    Destination Rule.jpg
    142.5 KB · Views: 7
One way is to skip the regex and create a destination for each number. Another option given the existing regex, it to edit the "inbound route" created by the destination example.

The destination page you show, would create an "inbound route" dial plan with the regex listed as the condition to match, and a transfer action to whichever extension from drop down list you selected. Once that dial plan is there, edit to something like this:
1680557777248.png
The 59$1 portion would send to 5900-5999 in the domain/context listed.
 
Hi,
thanks for the guidance.
Its working Now with destination_number ^59(\d{2})$
Much appreciated Sir.
 
Last edited:
Status
Not open for further replies.