Outbound Calling Forbiden?

Status
Not open for further replies.

khoiusa

New User
Joined
Oct 11, 2021
Messages
43
Reaction score
2
I just set up my brand new 3CX system with Amazon Chime Sip Trunk. I placed a outbound call fro my Yealink T31P but the display said "FORBIDDEN". Anybody know how to fix this???
 
And, going by the number showing in Activity Log, where is that Caller ID number originating, within 3CX...the extension caller ID, the outbound rules, the trunk settings...? Change it to the correct format, in that location.
 
Where do I find the caller ID originating? Can you tell me where it is originating from this log record?:

10/18/2021 3:23:43 PM - Call to T:Line:10000>>+1XXX-XXX-XXXX@[Dev:sip:[email protected];transport=TCP] from L:151.1[Extn:1000] failed, cause: Cause: 400 Source number is not valid E.164 or anonymous value/INVITE from 3.80.16.117:5060

10/18/2021 3:23:43 PM - [CM503003]: Call(C:151): Call to <sip:[email protected]:0> has failed; Cause: 400 Source number is not valid E.164 or anonymous value/INVITE from 3.80.16.117:5060
 
You may need to set the logs to Verbose to see the entire Invite sent to the provider. What you want to look for is the word From:. The caller ID should be right after that.

https://www.3cx.com/docs/sip-trunk-outbound-calls/

Look at the example where it says "Extension name"
 
How exactly do I do that?
 
Here is the error log with VERBOSE on:

Can't seem to find the caller ID after "From" though.
10/19/2021 5:03:21 PM - CSTA: onReadyToSend: CSTA Send 200/INFO from 0.0.0.0:0 tid=1439613667 Call-ID=bsgl4TaJgPjuotvm-MRFxA..: SIP/2.0 200 OK Via: SIP/2.0/UDP 172.3.150.193:5065;branch=z9hG4bK1439613667;rport=5065 Contact: <sip:[email protected]:5060> To: <sip:[email protected]>;tag=cc745079 From: <sip:[email protected]:5065>;tag=901475644 Call-ID: bsgl4TaJgPjuotvm-MRFxA.. CSeq: 257 INFO User-Agent: 3CXPhoneSystem 18.0.1.234 (234) Content-Length: 0
 
That would probably explain the error message.

Cause: 400 Source number is not valid E.164 or anonymous value/INVITE from 3.80.16.117:5060
You may have to make some "adjustments" to your caller ID settings, perhaps, in the outbound trunk settings. Have you put a DID number in the caller ID settings, of the extension, you are calling from?
 
Last edited:
Here is the error log with VERBOSE on:

Can't seem to find the caller ID after "From" though.
That's because you are looking at the wrong messages in the logs. You are seeing the PBX reply back to a 3CX client or app. You need to find the INVITE from the PBX to the provider
 
  • Like
Reactions: leejor
That would probably explain the error message.


You may have to make some "adjustmemts" to your caller ID settings, perhaps, in the outbound trunk settings. Have you put a DID number in the caller ID settings, of the extension, you are calling from?
Yes, I did.
1634765126093.png
 
Add that 888 number to the Call ID tab in that same section. If you do not have Outbound caller ID configured in the user itself, this will be the number that will be sent out from the 3CX. If there is nothing, I believe it will come out empty or anonymous which could be your issue.

1634918269562.png
 
I've already did that.
1634937238009.png
 
If I cannot do this, is it possible for someone to do this for me?
 
  • Like
Reactions: YiannisH_3CX
Status
Not open for further replies.

Forum statistics

Threads
111,993
Messages
590,176
Members
164,933
Latest member
bunthoeun.may