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 Member Posts: 6
    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 Member, Moderator Posts: 9,094
    [Topic moved from 'NAV Three Tier' forum to 'NAV/Navision Classic Client' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • tomgtomg Member Posts: 6
    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 Member Posts: 1,139
    @tomg - Are you suggesting this code will make a phone call?
  • MaximeDawnsMaximeDawns Member Posts: 10
    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.