send calls from specific external number to a ring group.

Status
Not open for further replies.

kumagera

New Member
Jul 3, 2018
6
1
3
54
Hello

I'm new to fusionPBX and this forum, I'm wondering if anyone can help me to set up a "dialplan?" to transfer all calls that come in from a specific phone number to a ring group I have set up.

I tried using - condition>caller_id_number>^xxxxxxx$ -> action>transfer>xxx XML xxx.xxx.xxx

but the call gets dropped?

I would like to set this up using the dialplan manger in fusionpbx - if that is the correct method.

thanks in advance

Paul.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,076
577
113
You simply use destinations, there is nothing complex about it, put in the destination number and select the ring group from the dropdown, job done.
 

kumagera

New Member
Jul 3, 2018
6
1
3
54
Hi There

Thanks for your reply...

sorry I'm still confused. how/where do I define the external number (for example when a call comes in from 0136 21 7333) i want to send it to a ring group that calls two extensions and completely bypasses reception. I don't see a way to do this with destinations?

sorry if this seems very basic...

Thanks again

Paul.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,076
577
113
If you have created the ring group, there should be a drop down for this in destinations, if there is not, you have something messed up.
 

kumagera

New Member
Jul 3, 2018
6
1
3
54
Thanks, I managed to get it working but it doesn't seem very logical to me...

I set up a destination with a dummy phone number as the destination (as I already have a destination set up with our office number that then goes to through time conditions and depending on the result ends up going through to reception or if out of hours to a message)...

I then found the inbound route that was created by setting up the destination and changed the first condition to "caller_id_number" and changed the number to the external phone number from which the calls I wanted to redirect to the ring group come fromdestination.jpgincoming.jpg...

This seems to work now.

seems a bit weird? I'm confused by the "Destination" number (which is a dummy number at the moment)...

Thanks for your help though.

Paul.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,076
577
113
The destination number is the one they are dialling.

ie, what the carrier sends, you should not have to touch inbound routes at all.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,076
577
113
Sorry, I have just realised what you are trying to do.......
 

kumagera

New Member
Jul 3, 2018
6
1
3
54
The destination number is the one they are dialling.

ie, what the carrier sends, you should not have to touch inbound routes at all.

That's confusing because everyone dials the same number "destination"for our office, I only want to send calls from a particular number to a different ring group...

totally confused now, sorry.

Paul.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,076
577
113
So you create a destination as normal which will then create you an inbound route. Then go into that inbound route and add another condition to match the caller id number as you showed but do not put brackets around it.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,076
577
113
Then create a destination as normal. You will now have two inbound routes for the same number, you will need to make sure the one that matches the callerid has a lower order than the other one otherwise you won't get a match.

You could get it all into one route but that would be a little complex.
 

kumagera

New Member
Jul 3, 2018
6
1
3
54
So you create a destination as normal which will then create you an inbound route. Then go into that inbound route and add another condition to match the caller id number as you showed but do not put brackets around it.

Ok starting to make sense now ;)
however, when I try to create a new destination using the same number (our office number) I get "duplicate detected " and the new destination does not get created?

hmmm

Paul.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,076
577
113
I see, yes of course, that will kick in, you will probably need to just copy the inbound route and adjust accordingly. Its a strange request, I have never seen anyone wanting this :D
 

kumagera

New Member
Jul 3, 2018
6
1
3
54
I see, yes of course, that will kick in, you will probably need to just copy the inbound route and adjust accordingly. Its a strange request, I have never seen anyone wanting this :D

Well, thanks very much for your help anyway.

I believe I can get it working as needed now.

Thanks

Paul.
 
  • Like
Reactions: DigitalDaz

topogigio

Member
Jun 17, 2019
68
0
6
58
Hi,
I have this same "strange request" :)

Basically what I need is to use a single SIP trunk, and then to have:
- a "default route", that is the target ring group where all standard calls will go
- many "priority routes". This routes will be based on the CALLERID number (the callED will be the same of the default route, of course). So when a specific number will call me, I will play a custom recording and I will transfer the call to a specific target.

My plan was to add many destinations, all with same "destination" but different "caller id number" but I have "Duplicate detected" error.

So?

BTW if I cannot create multiple destinations based on same destination and different caller id number, I cannot understand when the "caller id number" will be useful in real world. What am I missing?

I come from FreePBX where I do this using many "inbound routes".

thanks
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,076
577
113
Once you have created the 'destination', try and copy the associated inbound route, see if that works.
 

topogigio

Member
Jun 17, 2019
68
0
6
58
I cannot run this :(

I created a new inbound route, before the default one in the list, that sends to a different target.
If I leave only the same condition on "destination_number", it works and I go to the alternative target. If then try to add an other condition on "caller_id_number", it does not trigger.

<extension name="test_callerid" continue="false" uuid="a65e577d-d72e-4139-91dd-6f4b374f1a09">
<condition field="destination_number" expression="^(540xxxxxxxx)$"/>
<condition field="caller_id_number" expression="^(393xxxxxxxx)$">
<action application="export" data="call_direction=inbound" inline="true"/>
etc

the caller_id is exactly as I can see it in CDR

What's wrong? :( How can I debug this?
thanks
 
Status
Not open for further replies.