Make a Phone Call using URL

Version : DYNAMICS NAV 2009 R2 - 6.00.32012 - Not using RTC Client

Hi, I want to make a basic phone call using URL. Wether it opens the navigator or not doesn't matter.
The way I think could be possible is to call this type of URL :
tel:+33102030405

When I type this in my navigator, it opens my default phone app, so this should work.
Problem is:
This works, and I would like to adapt this to NAV.
<a href:"tel:+33102030405">TEL</a>
Any idea ?

Best Answer

  • tomgtomg BavariaPosts: 6
    Accepted Answer
    Name DataType Subtype
    WSH_Shell Automation 'Windows Script Host Object Model'.WshShell


    IF ISCLEAR(WSH_Shell) THEN
    CREATE(WSH_Shell);

    WSH_Shell.Run('tel:+33102030405');

Answers

  • krikikriki Posts: 8,841Member, Moderator
    [Topic moved from 'NAV Three Tier' forum to 'NAV/Navision Classic Client' forum]

    Regards,Alain Krikilion
    Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
    NAV TechDays 2019: 21 & 22 November 2019, Antwerp (Belgium)
  • tomgtomg BavariaPosts: 6Member
    Accepted Answer
    Name DataType Subtype
    WSH_Shell Automation 'Windows Script Host Object Model'.WshShell


    IF ISCLEAR(WSH_Shell) THEN
    CREATE(WSH_Shell);

    WSH_Shell.Run('tel:+33102030405');
  • RockWithNAVRockWithNAV Posts: 889Member
    @tomg - Are you suggesting this code will make a phone call?
  • MaximeDawnsMaximeDawns Posts: 10Member
    tomg wrote: »
    Name DataType Subtype
    WSH_Shell Automation 'Windows Script Host Object Model'.WshShell


    IF ISCLEAR(WSH_Shell) THEN
    CREATE(WSH_Shell);

    WSH_Shell.Run('tel:+33102030405');

    Awesome ! Works like a charm ! Thx ♥
Sign In or Register to comment.