Dear friends
I have one question. We use Dialogic Diva analog 2 ports board. I read in DIVA documentation that with this card is possible detect RING tones. Is it realy possible? I didnt find any examples for this solution. We use SDK with VB.NET. We need measeru POST DIALING DELAY and for this I have to detect first BACKRING by outgoing call. In trace(log) from Dialogic diagnostic software I can't see any RING. It would help me very much. I would be grateful for advice and some example in VB.NET for detecting backring tone by outgoing call. Thank you very much in advance.
Alan
Yes, generally the Diva will detect ringback and the SDK will report the call progress as ringing so you don't need to do anything special in your application.
As it doesn't seem to be happening in your case it appears as though the ringback tone is not one that the Analog board recognises. It may be a question of changing the country type again which you can try and see if it makes any difference or looking at an audio tap trace of the call so engineering can see what is happening. Support can help you with this so please discuss this with them.
Hello Vic
Thank you for your answer, I cant see RINGBACK in trace. I tried change country to Russia, Europe, Poland... It doesn't help.
I did trace and I observed that I have following settings:
Config\Ringertone =FALSE
Config\POTSRingsUntilAnswer = 0
Config\Line-2\L2RingsUntilAnswer = 0
Config\Line-2\CIDprering =0
-------------------------------------------------
Maybe this is important, however I cant change this value Config\Ringertone =FALSE to value TRUE
It is important for detecting ring back tone?
Thank you Alan
I attached log from Mlog, is it possible send it to some person who know analyze it.
If is there RING tone?
Attached is the extracted audio and a graphical picture of the waveform. It seems unusual line tones, the first five seconds is 430Hz with alternating long/short cadence, I assume that this your local dial tone? it is finally recognised as dialtone but 5 seconds is a long time to get there.
Then you hear the Analog card dialing and then complete silence for seven seconds and then Lady Gaga :-)
So, two issues, one is that the 'dial tone' is taking a long time to detect, possibly because it is an unusual dialtone and second is that there is absolutley no audio at all after dialing until the call is connected.
If you send this mlog to support they should be able to work with engineering and get the dial tone detected sooner.
Is this anything lke what you hear when you dial using a phone on the same line ?
I apologise, it was not good example, I called to number where is RING TONE Lady Gaga :-)
Sorry, I did one more trace log (Mlog) to another number, If I call from classical phone to the same number I can hear RING BACK TONE.
With diva I cant detect RING tone.
Can you analyze this Mlog. If you see RING tone.
Thanx
ok, no lady gaga this time :-)
Now I can hear a ringback and if I play the wav file to a Diva card with tone detectors switched on it reports a ringback tone is present so I would expect the analog card to report Alerting before connecting.
I'm not sure why it isn't reporting alerting, note that it will take some time to detect though, as the cadence is quite long and the card has to be sure it is ringback so needs to listen to most of a ringback cycle. If you look at the picture you will see a line drawn at 15 seconds, this is about when the ringback should be detected in your call and reported to the SDK as Alerting.
So, the best thing to do now is to report this to support, the mlog trace is useful as it has the information they will need to understand why the ringback is not being detected.
Thank you very much for your support and willingness. Now it is clear for me. It is exactly as you wrote. I did another traces and I let ringing few seconds (15 seconds) and I got event Alerting (ringing). It is pity that this event come after long time. (after 2-3 RING-s this event don't come at all). I would like to thank you lot of, I will try ask support. I have already created request C86396 - Dialogic support request, through support form.
Only for your information. I installed new SR 8.5.7 and it helps (I had SR ver. 8.5.6).
Nowadays I receive BACK RING tone in 0.5 second. It seems that this time is very short now :-)
Thanks for the update Alan, good to hear the new drivers made such a significant difference.
Can I have last wish, can you process one log (Mlog) from diva and send me wav file and picture.
Is available some software for processing log file from Mlog? It could help me for investigation.
I suppose that PDD 0,5 second is short. Real PDD time is 2-3second. What do you mean?
Hi Alan, files attached. The picture is from Audacity, a very useful open source audio processing tool which you can download.
I'm afraid I can't give you the software for creating a wav file from mlog, there is a minor but potential security risk at being able to to obtain recordings of conversations.
As the detect time for ringback is so short I would guess that the analog board is incorrectly interpreting your dial tone as ringback. Your dialtone does sound quite like some other countries ringback so its a reasonable assumption. You can see from the picture that the analog board doesn't get the first ringback burst for at least 7 seconds after dialing so 8-9 seconds would be roughly when you would expect it to be detected.
It might be possible for us to fine tune the detection a little, it depends on whether it conflicts with other tones. Best to speak to support about this, you'll need a support contract for this, details here : http://www.dialogic.com/products/services/default.htm
Thank you very much for your time and willingness. Regarding software for creating a wav file from mlog, we use analog boards only for testing VOIP (for measurement service availability and measurement QOS parameters). Nobody call from this boards (there is no potential security risk). It seems as you wrote, that the analog board is incorrectly interpreting dial tone as ringback. I asked support for help.
Thank you again
BR Alan
I would be very obliged if you send me (if it is possible) software for creating wav file from log file "mlog". As I mentioned in communication we use analog boards only for testing VOIP (for measurement service availability and measurement QOS parameters). Nobody call from this boards (there is no potential security risk). I need do aproximately 50 measurements and obtain post dialling delay from recorded wav file-s, that is all. We would be obliged.
Sorry for disturbing.
Thank you very much.
Hi Alan, please contact your local Dialogic office for this. I can't distribute this file without an NDA and you need to do this through your local office.