Rocket.Chat Telephony QA Links

Open this file in a browser on the test machine, then click the links while Rocket.Chat is installed or running from this branch.

Expected result for valid links: Rocket.Chat handles the protocol and opens the telephony dialpad flow with the normalized number.

Valid tel links

Link Purpose Expected normalized number
tel:+15551234567 Basic international `tel:` link. +15551234567
tel:+55 11 99999-1234 Spaces and dash should be accepted. +5511999991234
tel:(555) 123-4567 Parentheses and formatting should be stripped. 5551234567

Valid callto links

Link Purpose Expected normalized number
callto:+15551234567 Basic `callto:` link. +15551234567
callto://+491234567890 Authority form with double slash. +491234567890
callto with query Query string should not become part of the number. +442071234567

Negative examples

Link Purpose Expected result
tel: Empty target. No dialpad call request should be placed.
callto:?subject=empty Only query data. No dialpad call request should be placed.