SOLVED Destination Number of inbound call

Status
Not open for further replies.

Stelios

New Member
Sep 24, 2017
28
1
3
45
Hi,

I Test Fusion PBX and it looks nice ...

I use a VoIPTrunk and I need to register. The Gateway is working fine for inbound/outbound calls.

The Issue is that I have 3 DID numbers for inbound Calls. At the inbound call the destination DID Number is missing and as Destination number is the username that I use to register at the Gateway!

Based on the about I can not make inbound routes based on the DID number that some use to call me!

There is some one who knows how to fix that?

Thanks
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
Sorry, I cannot quite understand, are you saying the carrier is not sending the inbound number?
 

Stelios

New Member
Sep 24, 2017
28
1
3
45
The incoming call include as Destination number the username (that we use at our gateway), So we can not have different inbound rules based on the DID number.

Lets say that we have two DIDs, the one is 5555555555 and the second is 7777777777.

When some one use the DID 5555555555 we need to ring the extension 100
When some one use the DID 7777777777 we need to ring the extension 200

The issue is that when the call arrives to FusionPBX does not have as Destination number the DID but as Destination has the username. SO we can not make rules based on the the Dialed DID.

Note we have test the same DIDs with 3cx IPPBX and there is not any issue
 
Last edited:

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
@Stelios Can you post a copy of the inbound sip INVITE please.

Or just paste a full call log of a call.

In fs_cli do a:
Code:
sofia global siptrace on

Then make the call
 

Stelios

New Member
Sep 24, 2017
28
1
3
45
See attachment

Also note this
2017-09-27 14:21:31.868979 [INFO] mod_dialplan_xml.c:637 Processing 6944699858 <6947699858>->XDF90034 in context public
This => XFF40034 should be 2132241050

Thanks
 
Last edited:

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
The actual piece I wanted, ie the INVITE, is about the only part you missed from that :)
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
Anyway, if its what I think, do this....

Create a destination as normal, see attached screenshot.

destination.jpg

Then go into the inbound route for that the destination created, you will see it like the following:

inboundroutedestination.jpg

Then change the condition from destination_number to ${sip_to_user} as shown below.

inboundroutetouser.jpg

This should fix things for you.
 
Last edited:
Status
Not open for further replies.