Brian Dunning's FileMaker Custom Functions

CTI_Dialer_Snom ( pPhoneIP ; pPhoneNumber ; pOutgoingIdentity )

Dial SNOM phone by URI

  Average rating: 4.7 (26 votes) Log in to vote

Ralph Nusser   Ralph Nusser
Sogetes FileMaker-Services
http://www.sogetes.com

Share on Facebook Share on Twitter

  Sample input:
_CTI_Dialer_Snom_NUSSER ( 192.168.1.40 ; 00788543210 ; 0552864060@virtualtv001.netvoip.ch )
  Sample output:
http://192.168.1.40/command.htm?number=00788543210&outgoing_uri=0552864060@virtualtv001.netvoip.ch

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

/*----------------------------------------------------
SYNTAX:
_CTI_Dialer_Snom_NUSSER ( pPhoneIP ; pPhoneNumber ; pOutgoingIdentity )

AUTHOR:
Ralph Nusser, 28-JUL-2010

EXAMPLE:
http://192.168.1.40/command.htm?number=00788543210&outgoing_uri=0552864065@virtualtv001.netvoip.ch

SOURCE:
http://kb.snom.com/kb/index.php?View=entry&CategoryID=21&EntryID=40
----------------------------------------------------*/

Let ([
a = "http://";
b = pPhoneIP;
c = "/command.htm?number=";
d = pPhoneNumber;
e = "&outgoing_uri=";
f = pOutgoingIdentity;
dial = Case ( Länge (b) > 0 UND Länge ( d ) > 0 UND Länge ( f ) > 0;
a & b & c & d & e & f;"")
];
dial
)

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.