Guest omar_f Report post Posted 05/10/2005 03:47 PM Hello, Recelnly i purchased the VG dilaer so i can make the "dialout on another line and conference" and i'm now using the real phone lines from our PSTN, i'm not using PBX anymore. When i was trying to transfere calls, VG could not recognize when one of the trasfere legs hangs up, so both if its channels were reamining open. I searched many of the posts here, and found many ways on how to configure the disconnect tone and other tones using the configuration service, but it did not work, then I used the PBXPret32 to generate TSF files, i generated one, consolidate it, tested it, then specified it in the DCM and set the TSFFileSupport to "Yes" and restarted my pc and service, but still the same problem. to summrize my problem, now im having a very simple script, it has a recording module, connecting to a hangup module, when i call the application, it records the caller voice, but VG only hangs up when it detects the silence, it does not hang up once the caller hangsa up any suggestions?? here is the Generatred log ... 184301.58 5 linedevstate 2048 0 0 184301.58 5 callstate OFFERING 65860 0 4 184301.58 5 rv clear 184301.58 5 Answer the call at 5/10/2005 6:43:01 PM 184301.58 5 lineAnswer(65860) => 65843 184301.58 5 callinfo CALLEDID 184301.58 5 callinfo ORIGIN 184301.58 5 ring 0 184301.88 0 dial start any summary:|5:hc>0|6:idx=0|7:idx=0|8:idx=0| 184302.13 5 callstate CONNECTED 65860 1 0 184302.13 5 callstate CONNECTED 65860,1,0 184302.13 5 WorkingModeTAPI@Connected= 184302.13 5 WorkingModeScript@Connected= 184302.14 5 Inband detection not enabled 184302.14 5 StartLoadedVgs at 5/10/2005 6:43:02 PM, v5.2.3063 184302.14 5 AddRVns [scriptsPath]{C:\IslamToday\} 184302.14 5 AddRVns [scriptPath]{C:\IslamToday} 184302.14 5 rv add [$RV_STARTTIME]{5/10/2005 6:43:02 PM} 184302.14 5 rv add [$RV_DEVICEID]{5} 184302.14 5 rv add [$RV_CIDNAME]{} 184302.14 5 AddRVns [PathApp]{C:\Program Files\VoiceGuide\} 184302.14 5 rv add [$RV_CIDNUMBER]{} 184302.14 5 tapi Reply (LineEvReply) ok 65843 0 184302.14 5 timer clear 184302.16 5 [Record 6] Recording 184302.16 5 play set playid=247890 184302.16 5 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\beep1.wav] 184302.16 5 timer clear 184302.16 5 wa(186,24789000) 184302.16 5 callinfo MONITORMODES 184302.16 5 callinfo MONITORMODES 184302.36 5 wb(24789000) 184302.42 5 play end current play (playid=247890) 184302.42 5 ScriptEventCode 8001 iLineState=1200 184302.42 5 LsRecPlayBeep EV_PLAY_FINISHED 184302.42 5 rv add [Record 6]{c:\test\0510184302_5_.wav} 184302.42 5 RecSoundStart file[c:\test\0510184302_5_.wav] ok 184302.42 5 eng RecSoundStart after beep [c:\test\0510184302_5_.wav] 184302.42 5 timer set 120 EV_TIMEOUT_GOTOMODULE 184404.34 5 ScriptEventCode 9300 iLineState=1201 184404.34 5 LsRecRecording EV_SILENCE_DETECTED 184404.39 5 rec length RV: Record 6_RecLen100ms = 589 184404.39 5 rv add [Record 6_RecLen100ms]{589} 184404.39 5 rv add [Record 6_EndRecCause]{silence} 184404.39 5 path {silence} not found 184404.39 5 rv add [Hangup Time]{5/10/2005 6:44:04 PM} 184404.39 5 Hanging up call... [{silence} path not defined] 184404.39 5 RecSoundStop ok 184404.41 5 PlaySoundStop err=0 184404.41 5 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 184404.41 5 fnHangupCall end 184404.41 5 ScriptEventCode 8003 iLineState=900 184404.41 5 LsAwaitingCalls EV_REC_FINISHED 184404.44 5 linedevstate 2048 0 0 184404.45 5 callstate IDLE 65860 0 0 184404.45 5 WorkingMode@Idle= 184404.45 5 timer clear 184404.45 5 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 184404.45 5 tapi Reply (LineEvReply) ok 65826 0 184405.50 5 timer fired EV_TIMEOUT_TIMETOREINITLINE 184405.50 5 ScriptEventCode 9008 iLineState=900 184405.50 5 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 184405.50 5 ReinitTelephony due to IDLE 184405.50 5 tapic lineDeallocateCall(MainCall:65860) 0 184405.55 5 lineOpen(5)=> 184405.55 5 Waiting for a call... 184405.55 5 LineHandle=65809 184405.55 5 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 184405.92 0 dial start any summary:|5:rdy=0|6:idx=0|7:idx=0|8:idx=0| 184408.83 5 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 184408.83 5 ScriptEventCode 9013 iLineState=900 184408.92 0 dial start any summary:|5:idx=0|6:idx=0|7:idx=0|8:idx=0| Share this post Link to post
SupportTeam Report post Posted 05/10/2005 10:38 PM When i was trying to transfere calls, VG could not recognize when one of the trasfere legs hangs up, so both if its channels were reamining open. Are you using a "3-way conference" or a "Dial and Conference"? Does a busy one get played at all by the phone company when one of the parties hangs up? If yes then please record that busy tone and post it here. now im having a very simple script, it has a recording module, connecting to a hangup module, when i call the application, it records the caller voice, but VG only hangs up when it detects the silence, it does not hang up once the caller hangsa up Sounds like some busy tone is played then. Please post the recording. To set the busy tone see instructions here: http://www.voiceguide.com/vghelp/html/Disc...ctionDetect.htm Do not use .TSF file. Set the TSFFileSupport to "No" and do not specify the filename. Share this post Link to post
Guest omar_f Report post Posted 05/11/2005 10:38 AM Im using "Dial and Conference" I tried ur suggestion of setting the disc tone through the the configuration service, things are better now but VG takes almost 10-15 seconds to hang up after the caller hangs up. my other question is that you've suggested not to use .TSF files, but as you know the configuration service lets you only define two custome tones, what if I have many different callers from many different companies are calling my system, land line phones and cell phones? attached is the disconnect tone from my landline disconnect_tone.zip Share this post Link to post
SupportTeam Report post Posted 05/11/2005 11:09 PM takes almost 10-15 seconds to hang up after the caller hangs up. It all depends on how long after the hangup the phone company starts playing the disconnect tone. Also depends on what value you set the 'repetitions' setting to. A setting of 2 or 3 is usually sufficient, any higher and the hangup will get delayed until that number of repetitions is heard. the configuration service lets you only define two custome tones, what if I have many different callers from many different companies are calling my system, land line phones and cell phones? The same disconnect tone should be played by your phone company regardless of where the call arrived from. BTW. your disconnect tone is 425Hz 500mz ON, 500ms OFF. Share this post Link to post
Guest omar_f Report post Posted 05/12/2005 08:25 AM The same disconnect tone should be played by your phone company regardless of where the call arrived from. I meant we have many phone companies here who provide telephony services, so each company has its own values of frequincies, also what if someone is calling my system from aborad? will my system detect his signals? It all depends on how long after the hangup the phone company starts playing the disconnect tone I hear the disconnect tone immediately when the calling party hangs up, also I set the 'repetitions' to 2, but stil the same. Share this post Link to post
SupportTeam Report post Posted 05/12/2005 08:39 AM I meant we have many phone companies here who provide telephony services, so each company has its own values of frequincies, also what if someone is calling my system from aborad? will my system detect his signals? How many lines are you running on this system? How many different phone companies provide the lines plugged into the Dialogic card? I hear the disconnect tone immediately when the calling party hangs up, also I set the 'repetitions' to 2, but stil the same. We usually see hangup occurring within about 5 seconds on analog lines. You can see just looking though this forum that most users after setting up disconnect tone detection get hangups around or a bit over his mark. Not sure why it's taking a few seconds longer on your system, especially as you have a fairly fast disconnect tone and two repetitions take about 2 seconds to play. Still, analog lines will never hangup *immediately*. For that you need T1/E1 ISDN PRI lines. Share this post Link to post
Guest omar_f Report post Posted 05/12/2005 09:36 AM How many lines are you running on this system? How many different phone companies provide the lines plugged into the Dialogic card? Im running 8 lines, and all are from one company, but callers are from many other different companies, they call my system, so my system has to recognize THEIR disconnection tone, so that my system can hangup in case they hang up, correct me if im wrong plz Not sure why it's taking a few seconds longer on your system it takes really long, and its annoying, i will play with the parameters, and I'll tell you. Share this post Link to post
SupportTeam Report post Posted 05/12/2005 11:11 PM Im running 8 lines, and all are from one company, but callers are from many other different companies, they call my system, so my system has to recognize THEIR disconnection tone, so that my system can hangup in case they hang up, correct me if im wrong plz It's usually the phone company that supplies the lines that plays the disconnect tone - not the caller's phone company - so the disconnect tone is always the same. Easy to test - call in from different phone companys' phones and see if the disconnect tone is different... Share this post Link to post