Cannot make calls via Teams to 3cx

paulod

Customer
Joined
Jan 3, 2024
Messages
4
Reaction score
1
Hi,
I hope I can detail clearly the steps I have taken but I think the essence of the issue is that I cannot generate a user script via 3CX for the Office integration.
I get the following error:

1704796279032.png

Office integration looks ok.

1704796467149.png

Direct Routing looks ok

1704796678691.png



My user account it says it is synched with MS 365 and teams. All licenses etc are good.

1704796379507.png


I have setup a test extension 101 and call from teams to this test extension. The logs show it is reaching the SBC but see the following error that the caller is unknown
I have xxx outed any sensitive info.

09/01/2024 10:23:35 - [CM502001]: Source info: From: "xxxx xxxx"<sip:+3531xxxxxxx;ext=[email protected]:5061;user=phone>;tag=9d42e6a55a81460fb2cfda14e37f0936; To: <sip:[email protected]:5062;user=phone>
09/01/2024 10:23:35 - [CM503013]: Call(C:55): Incoming call rejected, caller is unknown; msg=Invite-IN Recv Req INVITE from 52.114.76.76:5193 tid=1815ae55 Call-ID=708199f3ee715efe87978dfe7c8b70f1:
INVITE sip:[email protected]:5062;user=phone;transport=tls SIP/2.0
Via: SIP/2.0/TLS 52.114.76.76:5061;branch=z9hG4bK1815ae55
Max-Forwards: 70
Record-Route: <sip:sip-du-a-eu.pstnhub.microsoft.com:5061;transport=tls;lr>
Contact: <sip:api-du-c-euwe.pstnhub.microsoft.com:443;x-i=9df8c2c9-3af4-4788-a216-3d86714a42b6;x-c=708199f3ee715efe87978dfe7c8b70f1/d/8/99878af707ac43b688bd10c6cd7620fc>
To: <sip:[email protected]:5062;user=phone>
From: "xxxx xxxxxxxxx"<sip:+3531xxxxxxx;ext=[email protected]:5061;user=phone>;tag=9d42e6a55a81460fb2cfda14e37f0936
Call-ID: 708199f3ee715efe87978dfe7c8b70f1
CSeq: 1 INVITE
Session-Expires: 3600
Min-SE: 300
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, NOTIFY
Content-Type: application/sdp
Supported: histinfo, timer
User-Agent: Microsoft.PSTNHub.SIPProxy v.2024.1.8.4 i.EUNO.0
Privacy: id
P-Asserted-Identity: <tel:+3531xxxxxxx;ext=100>
P-Asserted-Identity: <sip:[email protected]>
Content-Length: 1102



I am wondering if it may be related to my 3cx dial plan somehow. All calls from 3cx to 3cx are fine.

PS C:\Windows\system32> Get-CsTenantDialPlan


Identity : Global
Description :
NormalizationRules : {}
SimpleName : DefaultTenantDialPlan

Identity : Tag:3CX Dial Plan
Description : 3CX via Direct Routing
NormalizationRules : {Description=Dialing 3 Digit Extension;Pattern=^(\d{3})$;Translation=$1;Name=3CX
Internal;IsInternalExtension=False, Description=DialCode Unpark
Any;Pattern=^(\*1\d)$;Translation=$1;Name=3CX DialCode Unpark Any;IsInternalExtension=False,
Description=DialCode Unpark Extension;Pattern=^(\*1\d\d{3})$;Translation=$1;Name=3CX DialCode
Unpark Ext;IsInternalExtension=False, Description=DialCode Pickup
Any;Pattern=^(\*20\*)$;Translation=$1;Name=3CX DialCode PickUP Any;IsInternalExtension=False...}
SimpleName : 3CX-Dial-Plan
 
You’re missing the caller ID on the extension which needs to match the office phone number that is also configured under the users 365 settings. The caller ID also needs to be in E164 format.

Once the above is done then try to re-generate the map user script, which once generated without error, run in power shell against the teams config and if everything else is done correctly, as per guides, should work as expected.

Check also the troubleshooting guide: https://www.3cx.com/docs/microsoft-teams-integration-faqs/
 
  • Like
Reactions: Evolute IT
Thanks for the reply Charles.
I have both the Outbound Caller ID populated in E164 format in 3CX under users->General for the extension and also in the Office 365 admin portal under Contact info which is the office phone. Is there somewhere else as I still get the script error.
 
Update:
There are 2 fields under the Office 365 users contact settings and both these need to be populated with the DDI number. Once I did this I can now generate the user script and ring from teams to internal 3CX extensions and receive external calls. Outbound does not work but I am sure it is a simple config setting.
Thanks for the direction Charles.

1704818918093.png
 
  • Like
Reactions: Charles_3CX

Members Online Now

No members online now.

Forum statistics

Threads
111,831
Messages
589,277
Members
164,660
Latest member
RJenkinsROCK