12.07.2015 Views

Admin Guide - VoIP software provider

Admin Guide - VoIP software provider

Admin Guide - VoIP software provider

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The following global config values must be set accordingly:scan_enable –set to 0 to disable scanning or 1 to enable (The scanner thread will start automatically if this is set to 1 and will stop automatically on0 value)scan_from –range startscan_untill –range endscan_filepath-to load the numbers from filescan_callernum –a valid username (phone number) from “users and devices”. Proper routing must be set for this caller. (A number)scan_callival –new call attempt interval in msec. (delay between 2 calls)scan_callsperminute –max calls/minute to initiatescan_maxcalls –max simoultan callsscan_stop_at –at what stage the call setup progress will stop.0=trying,1=progress (default),2=ringing,3=connect*all global config can be listed if you filter for the “scan” word”The results can be seen in the marker field of the cdr records:SU1=unknownSS1=trying (scan success 1: the last status was: trying) -2SS2=progress (scan success 2: the last status was: progress) -3SS3=ringing (scan success 3: the last status was: ringing) -4SS4=connect (scan success 4: the last status was: connect) -5SF1=disc code (scan failed 1: the last status was: disc code received) -6SF2=bye (scan failed 2: the last status was: bye received) -7For example the following query will list all live numbers when the scan_stop_at is set to 1:select callednumber from tb_cdrs with(nolock) where datum > X and callerid = Y and marker in ('SS2','SS3','SS4')You might also consider a number to be live on special disconnect reason codes (like user busy)Disconnect codes are stored in tb_reasoncodes (there are mappings to SIP codes)For example the following statement will list all numbers found as valid in the last 7 days including calls with “Busy here” disc reason.select callednumber from tb_cdrs with(nolock) where datum > GETDATE() - 7 and (marker in ('SS2','SS3','SS4') or (marker = 'SF1' and discreason in (4486)))5.76. Routing calls from virtual serversThe actual virtsever must be configured as a traffic-sender in the mainserver.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!