StarTrinity.com

Sample CallXML Scripts for StarTrinity SIP Tester

The scripts should be copied from this page into SIP Tester -> Outgoing calls simulation -> XML tab, into <callxml></callxml> root element, replacing previous code.

Generation of random outgoing calls show
Registering range of IP PBX extensions and making calls between them show
Reading IP PBX extensions, registering and making calls between them show
Specifying custom SIP headers and SDP attributes show
Test IVR menu 1 show
Test IVR menu 2 show
Test IVR menu 3 (dead air + recording) show
Test audio quality (PESQ MOS) in a conference server show
Test audio quality (PESQ MOS) in a conference server (long-duration calls) show
Test audio quality (PESQ MOS) and DTMF capability of a VoIP route (SIP trunk) in 2 directions show
Test outbound dialer show
Text-to-speech IVR with MSSQL request show
Sending custom SIP request after provisional response for outgoing calls show
Sending different SDPs in 183 and 200 response for incoming calls show
Sending custom SIP INVITE without initial SDP show
Sending custom SIP INVITE with 2 media streams in SDP show
Monitoring SIP server with email notifications show
Simulating RE-INVITE (put SIP call on hold) show
Simulating REFER (call transfer) show
Identification of IVR messages show
PESQ MOS (mean opinion score) audio quality measurement show
Client-server-client audio path verification show
Checking availability of SIP server using command line interface (CLI) show
Verifying list of accounts using SIP REGISTER show
Verifying list of accounts using SIP INVITE show
Playing random WAV file for incoming calls show
Writing custom CDR files for incoming calls using <writefile /> show
Calling list of B numbers from CSV file with regular expression filter show
Calling list of A and B numbers from 2 CSV file (2 countries) via 2 servers show
Generating DTMF tones for incoming calls show
Playing different IVR messages for incoming calls based on Called ID show
Randomly simulate T.38 fax CED tone to test auto-dialer fax machine detector show
Specifying RTP port numbers explicitly for incoming and outgoing calls show
Making a pause in test if destination server fails show
Simulating sinusoid-type variable call load show
Combining SUBSCRIBE, PUBLISH, INVITE tests in a single CallXML script show
Combining INVITE and REGISTER tests in a single CallXML script (#1) show
Combining INVITE and REGISTER tests in a single CallXML script (#2) show
Generating and receiving video+audio SIP calls show
Generating and receifing audio SIP calls with custom audio codec, with playback from .pcap file show
Using a custom formula to measure MOS score (different from G.107) show
SIPREC: generate SIP calls with 2 RTP streams and play stereo WAV file show
Check if numbers from list are dialable (ringing) or not and save report to file show
OTT bypass, other international bypass fraud detection
Looped traffic generation

Sample CallXML Scripts for StarTrinity Softswitch

Simple IVR-based filter
Play IVR files 0.wav, 2.wav, ... 99.wav sequentially, in loop show Record the call (B side) for 20 seconds, end call leg B in 60 seconds, infinitely play recording show
Send DTMF digit some time after connection show
Blacklist caller RTP IP addresses that do not send RTP, to increase ACD of dialer traffic show
Overwrite B numbers and make sure that number B is unique show
Play ringback tone immediately when received a call, don't wait for call leg B (using "183 Session Progress" early media) show
Play ringback tone immediately when received a call, don't wait for call leg B (using "180 Ringing") show
Request HLR to filter VoIP traffic (reduce SIM blocking) show
Caller early media filter for VoIP traffic (reduce SIM blocking) show
Copyright 2011-2025 StarTrinity.com | Blog | Contact lead developer via LinkedIn | telegram