How to modify scenario to play available time?

It is possible to change the existing scenarios to play the time when it's needed.

The parameter "time" can be used on STATE with name "MakingCallState".
The available options are :
time="false" - do not play the time before connection
time="true" - plays time before connection

The parameter time_format allows to change the format of played message:
time_format="h" - voipbox says the available time rounded to hours
time_format="m" - voipbox says the available time rounded to minutes
time_format="s" - voipbox says the available time in seconds
time_format="ms" - voipbox says the available time using minutes and seconds
time_format="hms" - voipbox says the available time in hours minutes seconds format

<STATE id="3" name="MakingCallState" time="true" time_format="ms">
    <TRANSITIONS>
        <TRANSITION type="TransitionOnEvent">
            <next_state_id event="EndCallEvent">FINAL_STATE_ID</next_state_id>

The parameter wave_name="languages\common_waves\ring" can be used in STATE statement for playing the specified wave file. 
The played wave file can be repeated when the repeat parameter is set to "true" like on example below:

When the voice_rate is 0.00 it is possible to play specified wave file using the free_calls_wave parameter. The file free_call.wav must be recorded and converted to the needed codecs format. Then it must be uploaded into right directory.

<STATE id="3" name="MakingCallState" free_calls_wave="Waves\free_call" wave_name="languages\common_waves\ring" repeat="true">
    <TRANSITIONS>
        <TRANSITION type="TransitionOnEvent">
            <next_state_id event="EndCallEvent">FINAL_STATE_ID</next_state_id>

 

 
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

If I setup "Caller ID prefix" for my IVR Client does it affect his ANI number recognize when registering without a PIN?

No. Client is recognized according to real ANI send by gateway. Changing Caller ID will not...

Can I have a special, unique design of softphone?

Yes, however it is charged extra. You can see some examples in our gallery or ask us by email.

Can the softphone be customised under my name and with my logo?

Yes, the softphone (named SIPLink) which is delivered with the main package, is always customized...

What windows versions are supported for SipLink and Vippie?

Windows 2000, Windows XP, Windows Vista, Windows 7. No matter is it x86 or x64 copy.