![]() |
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Does any one know how to control the ringing on an outbound call.
My application rings 10-15 times, then redials and rings 10-15 times again. All on the same call. This is my code: TrunkEnableCallAnalysis(); MediaSetInt(224,4); However, it does not control the excessive ringing. thx Cesar |
|
#2
|
||||
|
||||
|
Based on my experience, you can't control the number of rings exactly. But you can control how long your call will be ringing by setting a timer and putting a loop after your TrunkMakeCall(). The loop is terminated when the trunk state changes to CONNECTED, or when the timer reaches a specified number of seconds. To determine the number of seconds - call your own phone and use a stopwatch to time how many seconds it takes to ring once + the number of seconds for the pause between rings. In US this is somewhere between 2 and 3 seconds, if I am not mistaken.
|
|
#3
|
||||
|
||||
|
If you are using CT ADE v10.0 you can use the MediaSetInt(R4DxMediaCAP_noanswer, TimeBeforeNoAnswer) for controling the long of the time, the TimeBeforeNoAnswer parameter by default is 30s.
If you need to change the default value to 10s you need to use the next example: MediaSetInt(275, 10) but it is just valid if you are using PCPA. Please see the CT ADE Documentation library in the section Call Progress Analysis: Customizing DX_CAP in R4DxMedia for more details. Best Regards.
__________________
Bricio Roldán Marín Support Engineer Last edited by broldan; 02-25-2010 at 12:35 PM. |
|
#4
|
||||
|
||||
|
PS... Ring time is 6 seconds per ring, 2 seconds ring, and 4 seconds silence.
__________________
February 5th 2036. The end of the world |
|
#5
|
|||
|
|||
|
I appreciate it. Problem is now resolved.
|
![]() |
| Tags |
| too much ring |
| Thread Tools | |
| Display Modes | |
|
|