I am trying to add RingCentral as SIP provider in SIPSorcery. Below are my RingCentral configurations.
SIP Domain: sip.devtest.ringcentral.com:5060 Outbound Proxy: sip101.devtest.ringcentral.com:5090 User Name: <<my_username>> Password: <<my_password>> Authorization ID: <<my_authorization_id>>
When I am trying to connect Ringcentral through SIPSorcery, I am getting 403 Forbidden access error. below are the detailed error logs.
[11:46:36 DBG] CreateRtpSocket attempting to create and bind RTP socket(s) on [::]:0. [11:46:36 DBG] CreateBoundUdpSocket attempting to create and bind UDP socket(s) on [::]:0. [11:46:36 DBG] CreateBoundUdpSocket even port required, closing socket on [::]:63719 and retrying on 63720. [11:46:36 DBG] CreateBoundUdpSocket attempting to create and bind UDP socket(s) on [::]:63721. [11:46:36 DBG] CreateBoundUdpSocket successfully bound on [::]:63721, dual mode True. [11:46:36 DBG] Successfully bound RTP socket [::]:63720 (dual mode True) and control socket [::]:63721 (dual mode True). [11:46:36 DBG] RTPChannel for [::]:63720 started. [11:46:36 DBG] UAC commencing call to sip:<<dialing_number>>@sip.devtest.ringcentral.com:5060. press ctrl-c to exit... [11:46:38 DBG] CreateBoundUdpSocket attempting to create and bind UDP socket(s) on 0.0.0.0:0. [11:46:38 DBG] CreateBoundUdpSocket successfully bound on 0.0.0.0:63724. [11:46:38 INF] SIP UDP Channel created for 0.0.0.0:63724. Request sent: udp:192.168.0.6:63724->udp:192.209.29.59:5090 INVITE sip:<<dialing_number>>@sip.devtest.ringcentral.com SIP/2.0 Via: SIP/2.0/UDP 192.168.0.6:63724;branch=z9hG4bKb124b6f38d604a249bf8f214c6d21253;rport To: <sip:<<dialing_number>>@sip.devtest.ringcentral.com> From: "<<from_number>>" <sip:<<from_number>>@sip.devtest.ringcentral.com>;tag=GFEAZYIUWU Call-ID: 110bc73c21dc47dca40017ab4c7e5ad8 CSeq: 1 INVITE Contact: <sip:<<from_number>>@192.168.0.6:63724> Max-Forwards: 70 User-Agent: sipsorcery_v4.0.86.0 Supported: replaces, norefersub, 100rel Content-Length: 171 Content-Type: application/sdp v=0 o=- 1641991982 0 IN IP4 127.0.0.1 s=- c=IN IP4 192.168.0.6 t=0 0 m=audio 63720 RTP/AVP 0 8 9 101 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=sendrecv Response received: udp:0.0.0.0:63724<-udp:192.209.29.59:5090 SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.0.6:63724;branch=z9hG4bKb124b6f38d604a249bf8f214c6d21253;rport=63724 To: <sip:<<dialing_number>>@sip.devtest.ringcentral.com> From: "<<from_number>>" <sip:<<from_number>>@sip.devtest.ringcentral.com>;tag=GFEAZYIUWU Call-ID: 110bc73c21dc47dca40017ab4c7e5ad8 CSeq: 1 INVITE Content-Length: 0 [11:46:38 DBG] Information response 100 Trying for sip:<<dialing_number>>@sip.devtest.ringcentral.com. [11:46:38 INF] Call attempt to sip:<<dialing_number>>@sip.devtest.ringcentral.com received a trying response INVITE 100 Trying. Response received: udp:0.0.0.0:63724<-udp:192.209.29.59:5090 SIP/2.0 403 Forbidden Via: SIP/2.0/UDP 192.168.0.6:63724;branch=z9hG4bKb124b6f38d604a249bf8f214c6d21253;rport=63724 To: <sip:<<dialing_number>>@sip.devtest.ringcentral.com>;tag=aprqngfrt-6enlp33000020 From: "<<from_number>>" <sip:<<from_number>>@sip.devtest.ringcentral.com>;tag=GFEAZYIUWU Call-ID: 110bc73c21dc47dca40017ab4c7e5ad8 CSeq: 1 INVITE Content-Length: 0 Request sent: udp:192.168.0.6:63724->udp:192.209.29.59:5090 ACK sip:<<dialing_number>>@sip.devtest.ringcentral.com SIP/2.0 Via: SIP/2.0/UDP 192.168.0.6:63724;branch=z9hG4bKb124b6f38d604a249bf8f214c6d21253;rport To: <sip:<<dialing_number>>@sip.devtest.ringcentral.com>;tag=aprqngfrt-6enlp33000020 From: "<<from_number>>" <sip:<<from_number>>@sip.devtest.ringcentral.com>;tag=GFEAZYIUWU Call-ID: 110bc73c21dc47dca40017ab4c7e5ad8 CSeq: 1 ACK Max-Forwards: 70 Content-Length: 0 [11:46:38 DBG] Response 403 Forbidden for sip:<<dialing_number>>@sip.devtest.ringcentral.com. [11:46:38 WRN] Call attempt was answered with failure response INVITE 403 Forbidden. Call failed Forbidden.
Can you please help me in identifying the cause of this 403 error.