sipcli 1.8
| Contents |
|
||
| Introduction |
sipcli is a command line SIP (Session Initiation Protocol) user agent runs under Windows (XP, Vista, 2003 Server)
which enables making SIP (Based on RFC 3261) based calls. You can use sipcli for:
|
||
| Major Features |
|
||
| System Requirements |
|
||
| Installing and Uninstalling |
To install sipcli, create a directory, extract sipcli.zip to that directory. To uninstall sipcli, simply remove the installation directory. |
||
| Download | |||
| Running |
Open a command line prompt and locate sipcli's installation directory:
Here is a sample VB Script for running sipcli recursively to dial a series phone numbers. Script takes file name which contains phone numbers as command line argument. Phone numbers file must contain one phone number per line.
Set WshShell = WScript.CreateObject ("WScript.Shell")
Set objRegEx = CreateObject("VBScript.RegExp")
objRegEx.Pattern = "^\d+$"
Set FSOPath = CreateObject("Scripting.FileSystemObject")
FilePath = FSOPath.GetAbsolutePathName("")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set PhoneNumbersFile = objFSO.OpenTextFile(FilePath & "\" & WScript.Arguments(0))
Result = FilePath & "\test-results.txt"
strRun = "%comspec% /c echo Test Results: > " & Result
WshShell.Run strRun, 0, True
Do Until PhoneNumbersFile.AtEndOfStream
PhoneNumber = PhoneNumbersFile.ReadLine
Set colMatches = objRegEx.Execute(PhoneNumber)
If colMatches.Count Then
strRun = "%comspec% /c " & FilePath & "\sipcli.exe " & PhoneNumber & " >> " & Result
WshShell.Run strRun, 0, True
End If
Loop
PhoneNumbersFile.Close
Test result will be written to "test-results.txt" file.
|
||
| sipcli.ini |
You can find sipcli.ini parameters below:
C:\sipcli>sipcli 02135551122 -enumIf you run sipcli without any parameters you'll get quick help with Listen IP, SIP Port (UDP) and RTP Port (UDP) as shown below: IP Adr.: 192.168.10.1 UDP P. : 5073 RTP P. : 5074 |
||
| Custom Scenarios |
SipCli supports automated tasks defined in scenario scripts. You can execute scenarios defined in scenario files. Scenario files are text files consists of following sections and parameters. There are two sections in scenario files; [Prompts] and [Actions]. [Prompts] sections defines prompts can be used by Play action. A prompts can be a recorded audio file in wave format or a text can be synthesized by TTS engine. Every prompt must have a numeric Id associated with it. You must specify full path of wave file and wave files for the prompts must be in 16 bits, 8 KHz, mono format If wave file cannot be found or cannot be encoded by SipCli, the wave file will not be imported to the scenario. [Prompts] 0=C:\sipcli\Welcome.wav 1=C:\sipcli\Info-1.wav 'TTS Text 2="This is a test call" [Actions] section contains actions to be executed. Every action has also a numeric Id and action identifier and parameters. Defined actions are Play, Exit, Send, Exec, Eval and Wait. Actions and their parameters are listed below with samples. Sipcli always starts scenario with action id = 0. Every actions' last parameter is the next actions' id except Exit which terminates the scenario. If you define an no-existent action as a next action SipCli will break the execution of the script. Script execution will also be terminated if the action step is not properly defined. [Actions] 'Play Format 'Step=Play- |
||
| Scenario Editor |
You can create your own scenario using SipCli Scenario Editor (SEditor.exe). Before creating your
scenario you must define audio prompts to be used in your scenario.
Prompt and Action definitions for the scenario are stored in text files. |
||
| Purchase |
Free version of sipcli supports maximum 3 second of playout and maximum 3 different actions in scenario definitions. You can buy unlimited version for 59 USD. You will receive your Registration key via e-mail with installation instructions after making payment. Issued registration keys are valid for the latest version of SipCli so please make sure that you have installed latest version of SipCli. |
||
| Trademarks |
Microsoft, Win32, Windows 2000, Windows, Windows NT and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. |
||
| Awards | |||
| Contact | yasin at kaplan.net | ||
| Copyright | All material on this website is Copyright (C) 1995-2009 Yasin KAPLAN. All rights reserved. If you would like permission to use any of this material, please contact Yasin KAPLAN. |
||
| Navigation | << Back to home page | ||
| Advertisement |