AnsweredAssumed Answered

IWP starting a script by URL for unattended SNOM VoIP integration

Question asked by cateringtraveller on Nov 21, 2012
Latest reply on May 28, 2013 by LibanonLyceum

Title

IWP starting a script by URL for unattended SNOM VoIP integration

Your post

      

     Hi everyone, 

      

     I tried digging into this but cannot find an answer. I have a file called phonelog 

     hosted on FM 11 Advanced Server via IWP

      

     As well I have a couple of SNOM phones that are able to open an URL, 

     lets say: http: // serverfilemakerip/database / scriptname / Numberofcaller 

      

     My idea is to give the phones an URL that 

     - opens the database phonelog

     - runs a script (eg new record with the parameter passed by the url, lookup the name of that phone number from another database and exit).

      

     I cannot find the way to format the URL correctly if that is possible at all.


     What I found read; 

      

      

     http://<filemaker_server_ip:port>/fmi/iwp/cgi?dbpath=
     %2Ffmi%2Fiwp%2Fcgi%3F-db%3D<database_file_name>%26
     -startsession&amp;acct=account&amp;name=<username>
     &amp;password=<password>&amp;login=Login&amp;-authdb

         
  •           parameters to change are between <>
  •      
  •           the middle part is the URL encoding of: “/fmi/iwp/cgi?db=<database_file_name>&-startsession”,http://<filemaker_server_ip:port>/fmi/iwp/cgi?dbpath=           

                   %2Ffmi%2Fiwp%2Fcgi%3F-db%3D<database_file_name>%26
                   -startsession&amp;acct=account&amp;name=<username>
                   &amp;password=<password>&amp;login=Login&amp;-authdb

              
                     
    •                     parameters to change are between <>
    •                
    •                     the middle part is the URL encoding of: “/fmi/iwp/cgi?db=<database_file_name>&-startsession”
    •           
         

      

     That unfortunately did not launch the database (yes, inside the brackets I filled in the info).

     I tried translating the URL encoding into / and ? but no avail.

      

     Anyone can help - or is this not possible?

      

     Thank you.

Outcomes