- Joined
- Jan 27, 2019
- Messages
- 56
- Reaction score
- 3
Hi All,
I have a situation with a 3CX install (Debian ISO / Bare Metal) where I cannot get incoming DIDs to route to the extension required, but rather are always picked up by the main trunk number IVR.
I have tried getting this to work with both DID and CID rules. DID rules seem to do nothing under any circumstances, which is odd, since I figured that would be how it should work, but apparently not (at least for this situation).
I am fairly convinced that it is something to do with the way that the provider (2Talk in NZ) is sending the calls / numbers through, since I can get it to work fine under one scenario, but not the one we need.
This works: If a DID number from a different account than the main trunk number (at the provider) is diverted to the main number, I can capture that (with an incoming CID rule, but not with a DID rule), and redirect the number to an extension.
This fails: If a DID number from within the same account as the main trunk number (at the provider) is diverted to the main number, I cannot capture that (with either an incoming CID rule, nor with a DID rule), and redirect the number to an extension.
So, it seems to me that the way that the provider diverts the number depends on whether it is from the same account or another account. I realise that I will probably need to talk to the provider, but I am hoping to get some assistance to know what to say to them - get my wording / terminology right if you like
I have done a capture of each and the one that works shows the following initial lines in the activity log:
That seems to me to show that the call comes in, aimed at 09XXX3565, 3CX then identifies the Inbound CID Rule (ZZ - Test - Alan - 20190814 - 2130), and forwards the call to DN:001 (my test extension). That seems to make perfect sense, and it works as expected with the call going to Ext 001. The odd thing is that it identifies the 'caller' as 649XXX3565 which is actually the DID number, not the actual, originating caller number.
However, the one that fails has these initial lines:
Here, the 'caller' is shown as 6421XXXXXX - this is actually correct in that it is the actual, originating caller number.
However, nowhere does it identify the called (DID) number, rather it says the 'called' number is 09XXX1290 (which is the main trunk number, not the DID), and thus sends the call to the main IVR (Ext 200).
A further review of the activity log, shows that the only time that the DID number is mentioned is in the headers (if that is the correct terminology) where there is a single line showing:
649XXX1079 is the actual DID number called.
Questions:
Q1) Is there any way to 'write' an inbound rule (DID or CID) to capture that?
Q2) Could I do something under the SIP Trunk > Inbound Parameters to make it work?
Q3) If not, do I need to talk to the provider (2Talk)? If so, what should I say to them to help them to help me?
Thanks,
Alan.
I have a situation with a 3CX install (Debian ISO / Bare Metal) where I cannot get incoming DIDs to route to the extension required, but rather are always picked up by the main trunk number IVR.
I have tried getting this to work with both DID and CID rules. DID rules seem to do nothing under any circumstances, which is odd, since I figured that would be how it should work, but apparently not (at least for this situation).
I am fairly convinced that it is something to do with the way that the provider (2Talk in NZ) is sending the calls / numbers through, since I can get it to work fine under one scenario, but not the one we need.
This works: If a DID number from a different account than the main trunk number (at the provider) is diverted to the main number, I can capture that (with an incoming CID rule, but not with a DID rule), and redirect the number to an extension.
This fails: If a DID number from within the same account as the main trunk number (at the provider) is diverted to the main number, I cannot capture that (with either an incoming CID rule, nor with a DID rule), and redirect the number to an extension.
So, it seems to me that the way that the provider diverts the number depends on whether it is from the same account or another account. I realise that I will probably need to talk to the provider, but I am hoping to get some assistance to know what to say to them - get my wording / terminology right if you like
I have done a capture of each and the one that works shows the following initial lines in the activity log:
Code:
08/14/2019 9:56:11 PM - [CM503001]: Call(C:779): Incoming call from Line:10001<<09XXX3565 to <sip:[email protected]:5060>
08/14/2019 9:56:11 PM - Line limit check: Current # of calls for line Lc:10001(@2Talk - 09 XXX 1290[<sip:[email protected]:5060>]) is 1; limit is 10
08/14/2019 9:56:11 PM - [CM503012]: Inbound office hours rule (ZZ - Test - Alan - 20190814 - 2130) for 10001 forwards to DN:001
08/14/2019 9:56:11 PM - [Flow] No office hours set, office hours assumed
08/14/2019 9:56:11 PM - [Flow] Looking for inbound target: called=09XXX1290; caller="649XXX3565" <sip:09XXX3565@:5060>
That seems to me to show that the call comes in, aimed at 09XXX3565, 3CX then identifies the Inbound CID Rule (ZZ - Test - Alan - 20190814 - 2130), and forwards the call to DN:001 (my test extension). That seems to make perfect sense, and it works as expected with the call going to Ext 001. The odd thing is that it identifies the 'caller' as 649XXX3565 which is actually the DID number, not the actual, originating caller number.
However, the one that fails has these initial lines:
Code:
08/14/2019 10:02:20 PM - [CM503001]: Call(C:781): Incoming call from Line:10001<<021XXXXXX to <sip:[email protected]:5060>
08/14/2019 10:02:20 PM - Line limit check: Current # of calls for line Lc:10001(@2Talk - 09 XXX 1290[<sip:[email protected]:5060>]) is 1; limit is 10
08/14/2019 10:02:20 PM - [CM503012]: Inbound office hours rule (00 - Default Incoming DID) for 10001 forwards to DN:200
08/14/2019 10:02:20 PM - [Flow] No office hours set, office hours assumed
08/14/2019 10:02:20 PM - [Flow] Looking for inbound target: called=09XXX1290; caller="6421XXXXXX" <sip:021XXXXXX@:5060>
Here, the 'caller' is shown as 6421XXXXXX - this is actually correct in that it is the actual, originating caller number.
However, nowhere does it identify the called (DID) number, rather it says the 'called' number is 09XXX1290 (which is the main trunk number, not the DID), and thus sends the call to the main IVR (Ext 200).
A further review of the activity log, shows that the only time that the DID number is mentioned is in the headers (if that is the correct terminology) where there is a single line showing:
Code:
Diversion: <sip:[email protected]>;reason=unconditional
649XXX1079 is the actual DID number called.
Questions:
Q1) Is there any way to 'write' an inbound rule (DID or CID) to capture that?
Q2) Could I do something under the SIP Trunk > Inbound Parameters to make it work?
Q3) If not, do I need to talk to the provider (2Talk)? If so, what should I say to them to help them to help me?
Thanks,
Alan.
Last edited: