403 Error on outbound calls

Status
Not open for further replies.

mcnick50

Bronze Partner
Basic Certified
Joined
Nov 9, 2019
Messages
24
Reaction score
0
hello i have an on premise installation v 16.0.2.910 working all good. when i tried to update to v16 update 3 or even update 4 i get 403 error on outbound calls.
 
Hi,

Who responded 403? Your trunk provider?
 
i don't know... i get this on me phone screen
 
The first thing to do is set your logs to Verbose mode from Activity Log > Settings and restart the services.

Then make a call and wait for it to fail.

You can then go to the logs, select filter to pick the last call from the list and look at the logs

If you follow the logs by the timestamps you will see the whole conversation including who replies what to who.
 
can i do anything before the update so i do not have downtime?
 
  • 3CX Version, Standard Annual 16.0.2.910
  • Server OS, Windows Server 2019
  • Is the 3CX Server Hosted and where? local
  • IP Phone Make/Model/Firmware gxp-2140
  • Provisioning Method: Local
  • Trunk Provider OTE
  • Has the Firewall Checker passed: YES
  • Are custom Phone Templates being used: NO
 
There have been some changes on update 3 and above on the trunks section so you may have to go to the options tab and manually edit the Transport Protocol to UDP (which most providers happen to use). You can also go to the General tab and disable auto discovery and type the provider's port manually.

This is just general advice - I have no indication that this is a solution for your current issue.

Run a check as per post #4 now to see why the provider rejects the call
 
ok i'll update again on the weekend and check why i get the 403 error... do you want to download the "generate support info"?? also how to check what port is the provider using??
 
The port is likely listed in you trunk configuration now, but otherwise you would ask them. It would typically be part of the info they send you when you first sign up for service.
 
2/29/2020 5:57:26 PM - Stop call record for leg L:8.1[Extn:14]
02/29/2020 5:57:26 PM - Removing leg L:8.1[Extn:14]
02/29/2020 5:57:26 PM - L:8.1[Extn:14]: Terminating targets, reason:
02/29/2020 5:57:26 PM - Leg L:8.1[Extn:14] is terminated: Cause: BYE from PBX
02/29/2020 5:57:26 PM - Call(C:8), Extn:14 on exit: DlgInfo(8-2183/Terminated / I)
02/29/2020 5:57:26 PM - Call(C:8), Extn:14 on entry: DlgInfo(8-2183/Terminated / I)
02/29/2020 5:57:26 PM - Notify dialog-info: Extn:14: sip:[email protected]:5060, Call(C:8)
02/29/2020 5:57:26 PM - L:8.1[Extn:14] Sending: OnSendResp Send 403/INVITE from 0.0.0.0:0 tid=2038539469 Call-ID=[email protected]: SIP/2.0 403 Forbidden Via: SIP/2.0/UDP 10.0.1.23:5060;branch=z9hG4bK2038539469;rport=5060 To: <sip:[email protected]>;tag=201f7844 From: "Office "<sip:[email protected]>;tag=625980907 Call-ID: [email protected] CSeq: 921 INVITE Warning: 499 Goofy "Forbidden" Content-Length: 0
02/29/2020 5:57:26 PM - Call(C:8), Extn:14 on exit: DlgInfo(8-2183/Terminated / I)
02/29/2020 5:57:26 PM - Call(C:8), Extn:14 on entry: DlgInfo(8-2183/Initial / I)
02/29/2020 5:57:26 PM - Notify dialog-info: Extn:14: sip:[email protected]:5060, Call(C:8)
02/29/2020 5:57:26 PM - [CM503020]: Call(C:8): Normal call termination. Call originator: Extn:14. Reason: Forbidden
02/29/2020 5:57:26 PM - [CM503016]: Call(C:8): Attempt to reach <sip:[email protected]:0> from Extn:14 has failed. Reason: Forbidden
02/29/2020 5:57:26 PM - L:8.1[Extn:14] failed to reach Line:10001>>6946957474, reason Forbidden
02/29/2020 5:57:26 PM - Call to T:Line:10001>>6946957474@[Dev:sip:[email protected]:5060] from L:8.1[Extn:14] failed, cause: Cause: 403 Forbidden/INVITE from 195.167.16.1:5060
02/29/2020 5:57:26 PM - [CM503025]: Call(C:8): Calling T:Line:10001>>6946957474@[Dev:sip:[email protected]:5060] for L:8.1[Extn:14]
02/29/2020 5:57:26 PM - [Flow] Call(C:8): making call from L:8.1[Extn:14] to T:Line:10001>>6946957474@[Dev:sip:[email protected]:5060]
02/29/2020 5:57:26 PM - [CM503027]: Call(C:8): From: Extn:14 ("Office " <sip:[email protected]:0>) to T:Line:10001>>6946957474@[Dev:sip:[email protected]:5060]
02/29/2020 5:57:26 PM - [CM503004]: Call(C:8): Route 1: from L:8.1[Extn:14] to T:Line:10001>>6946957474@[Dev:sip:[email protected]:5060]
02/29/2020 5:57:26 PM - Call(C:8): Call from Extn:14 to 6946957474 matches outbound rule 'Mobiles'
02/29/2020 5:57:26 PM - [Flow] Call(C:8): has built target endpoint: Out#:>>Rule{Mobiles}>>6946957474 for call from L:8.1[Extn:14]
02/29/2020 5:57:26 PM - [CM503010]: Call(C:8): Making route(s) from Extn:14 to <sip:[email protected]:0/UDP>
02/29/2020 5:57:26 PM - Remote SDP is set for leg L:8.1[Extn:14]
02/29/2020 5:57:26 PM - OnOffer from L:8.1[Extn:14]
02/29/2020 5:57:26 PM - [CM505001]: Endpoint Extn:14: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Grandstream GXP2140 1.0.11.3 000b8281f742] PBX contact: [sip:[email protected]:5060]
02/29/2020 5:57:26 PM - [CM500002]: Call(C:8): Info on incoming INVITE from Extn:14: Invite-IN Recv Req INVITE from 10.0.1.23:5060 tid=2038539469 Call-ID=[email protected]: INVITE sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP 10.0.1.23:5060;branch=z9hG4bK2038539469;rport=5060 Max-Forwards: 70 Contact: "Office " <sip:[email protected]:5060> To: <sip:[email protected]> From: "Office "<sip:[email protected]>;tag=625980907 Call-ID: [email protected] CSeq: 921 INVITE Accept: application/sdp, application/dtmf-relay Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE Content-Type: application/sdp Proxy-Authorization: Digest username="14",realm="3CXPhoneSystem",nonce="414d535c146b1ae669:2481fa6c7624b83143072b289230f948",uri="sip:[email protected]",response="821b46240ae1447e57d2857dedf05430",algorithm=MD5 Supported: replaces, path, timer User-Agent: Grandstream GXP2140 1.0.11.3 000b8281f742 Privacy: none P-Preferred-Identity: "Office " <sip:[email protected]> P-Access-Network-Info: IEEE-EUI-48;eui-48-addr=74-4D-28-08-A2-EA P-Emergency-Info: IEEE-EUI-48;eui-48-addr=00-0B-82-81-F7-42 Content-Length: 218 v=0 o=14 8000 8000 IN IP4 10.0.1.23 s=SIP Call c=IN IP4 10.0.1.23 t=0 0 m=audio 5024 RTP/AVP 9 18 0 a=sendrecv a=rtpmap:9 G722/8000 a=ptime:20 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:0 PCMU/8000
02/29/2020 5:57:26 PM - [CM503001]: Call(C:8): Incoming call from Extn:14 to <sip:[email protected]:0>
02/29/2020 5:57:26 PM - Leg L:8.1[Extn:14] has external party ID {}
02/29/2020 5:57:26 PM - L:8.1[Extn:14]: device's outbound URI is used: 10.0.1.23
 
i read somewhere i do not remeber righ now to change the values "From : User Part" so start testing all the values inside and the one that fixed my problem is [ " OriginatorCallerID" Original Caller Number will be sent ]
 
The provider responded as follows:

02/29/2020 5:57:26 PM - Call to T:Line:10001>>6946957474@[Dev:sip:[email protected]:5060] from L:8.1[Extn:14] failed, cause: Cause: 403 Forbidden/INVITE from 195.167.16.1:5060

This means they understand the request, but refuse to fulfil it. I think you need to ask the provider why the reply with a 403 now that your logs confirm it.

If this worked in a previous 3CX version, i don't think those values would have changed just by upgrading. If changing that value fixed it, it means that the provider has specific requirements that they should communicate to you so you can set up the trunk as they want it.
We cannot guarantee interoperability however with the specific provider.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,939
Messages
589,843
Members
164,824
Latest member
Xeniosg