Guest George Samary Report post Posted 05/27/2003 10:07 PM Configuration: Proline 2V VG4.9 PBX SIEMENS HICOM 150 Could you help me; this is the last pending issue to conclude my tests and purchase the licence. Thanks Problem: Cannot return a transfered call when the extension is busy (Fail Path) in announced transfer. It returns the call but starts over from the beginig of the script. LOG-> 54484 6 tapic lineGenerateDigits(66478,&,*0) => LINEERR_INVALCALLSTATE [8000001C] First I changed the parameter Transfer_AnnounceDecline to &,*0 After that I could retrieve the call in the timeout scenario, and when the user pressed some key to reject the call. The only situation that is not working is when the extention that I´m transfering the call to is busy. Logs Bellow: Transfered Call -> rejected by user pressing any key: 82271 6 tapie ring 2 82271 6 Answer the call 82281 6 lineAnswer(66427) => 66513 82811 6 tapie callstate CONNECTED 66427,1,0 82811 6 WorkingModeTAPI= 82821 6 WorkingModeScript= 83032 6 Inband detection not enabled 83042 6 tapi Reply 66513 0 83042 6 [Get Numbers 2] Number Input 83082 6 [Get Numbers 2] Playing (C:\Arquivos de programas\VoiceGuide\Scripts\Voicemail Server\VmbWelcomeMsgDefault.wav) 83132 6 PlaySoundStart ok [C:\Arquivos de programas\VoiceGuide\Scripts\Voicemail Server\VmbWelcomeMsgDefault.wav] 84313 6 tapie monitordigits 49 2 84323 6 LsGetNbrsPlayWelcMsg [1] 84384 6 PlaySoundStop ok 84404 6 [Get Numbers 2] Number Input 1 84414 6 LsGetNbrsRxDigits [#] 84834 6 LsXferStart EV_TIMEOUT_READYTOBEGINTRANSFER 84844 6 [Transfer Call 1] Announced Transfer to 145 (Generate) 84874 6 tapic lineGenerateDigits(66427,&) => 0 85155 6 tapie generate LINEGENERATETERM_DONE 86096 6 LsXferStart EV_TAPI_GENERATE 87107 6 LsXferPlayVts EV_HOOKFLASHFINISHED 87128 6 tapic lineGenerateDigits(66427,145) => 0 87578 6 tapie generate LINEGENERATETERM_DONE 88550 6 LsXferPlayVts EV_TAPI_GENERATE 88560 6 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 88590 6 twcal PlaySayNumber C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrCallFrom.wav, C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrAskAccept.wav, , , 1 88640 6 PlaySoundStartNumbers ok 90552 6 tapie monitordigits 50 2 90562 6 LsXferPlayAnn [2] 90643 6 PlaySoundStop ok 91554 6 LsXferPlayAnn EV_PLAY_FINISHED 91584 6 tapic lineGenerateDigits(66427,&,*0) => 0 93056 6 tapie generate LINEGENERATETERM_DONE 94027 6 LsXferPlayAnn EV_TAPI_GENERATE 94047 6 PlayFinishCause=CallRejected 94067 6 Going down Fail path (iXferType=1) 94088 6 [Retorno] Playing 94098 6 [Retorno] Playing (C:\Arquivos de programas\ProPromptsVGM1·1\system\voice\VmbForwardPhonePrompt3.wav) 94168 6 PlaySoundStart ok [C:\Arquivos de programas\ProPromptsVGM1·1\system\voice\VmbForwardPhonePrompt3.wav] 94188 6 RunModule PLAY end 96651 6 Play End line[6] (id=594118) 96671 6 LsPlayMsg EV_PLAY_FINISHED 00627 6 tapie callstate DISCONNECTED 66427,0,0 00647 6 LsPlayMsgFinished EV_REMOTEPARTY_DISCONNECT 00667 6 PlaySoundStop ok 00687 6 HangupCall called from [] 00707 6 Hanging up call... 00727 6 PlaySoundStop ok 00757 6 fnHangupCall end 00797 6 tapie linedevstate 2048 0 0 00817 6 tapie callstate IDLE 66427 0 0 00837 6 WorkingMode@Idle= 00897 6 set EV_TIMEOUT_TIMETOREINITLINE 2 00927 6 tapi Reply 66393 0 01859 6 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 01879 6 ReinitTelephony due to IDLE start 01899 6 tapic lineDeallocateCall(MainCall:66427) 0 02089 6 lineOpen(6) => 0 02119 6 Waiting for a call... 02139 6 lineOpen(6)LineHandle=65641 Transfered Call-> Noanswer Timeout 13653 6 tapie linedevstate 2048 0 0 13653 6 tapie callstate OFFERING 66359 0 4 13663 6 tapie callinfo CALLEDID 13673 6 tapie callinfo ORIGIN 13673 6 tapie ring 0 19742 6 tapie ring 2 19742 6 Answer the call 19752 6 lineAnswer(66359) => 65727 20283 6 tapie callstate CONNECTED 66359,1,0 20293 6 WorkingModeTAPI= 20293 6 WorkingModeScript= 20323 6 Inband detection not enabled 20333 6 tapi Reply 65727 0 20333 6 [Get Numbers 2] Number Input 20333 6 [Get Numbers 2] Playing (C:\Arquivos de programas\VoiceGuide\Scripts\Voicemail Server\VmbWelcomeMsgDefault.wav) 20393 6 PlaySoundStart ok [C:\Arquivos de programas\VoiceGuide\Scripts\Voicemail Server\VmbWelcomeMsgDefault.wav] 21254 6 tapie monitordigits 49 2 21254 6 LsGetNbrsPlayWelcMsg [1] 21314 6 PlaySoundStop ok 21314 6 [Get Numbers 2] Number Input 1 21324 6 LsGetNbrsRxDigits [#] 21735 6 LsXferStart EV_TIMEOUT_READYTOBEGINTRANSFER 21735 6 [Transfer Call 1] Announced Transfer to 145 (Generate) 21755 6 tapic lineGenerateDigits(66359,&) => 0 22045 6 tapie generate LINEGENERATETERM_DONE 22967 6 LsXferStart EV_TAPI_GENERATE 23988 6 LsXferPlayVts EV_HOOKFLASHFINISHED 23998 6 tapic lineGenerateDigits(66359,145) => 0 24449 6 tapie generate LINEGENERATETERM_DONE 25410 6 LsXferPlayVts EV_TAPI_GENERATE 25410 6 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 25430 6 twcal PlaySayNumber C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrCallFrom.wav, C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrAskAccept.wav, , , 1 25470 6 PlaySoundStartNumbers ok 32470 6 Play End line[6] (id=825440) 32480 6 LsXferPlayAnn EV_PLAY_FINISHED 32480 6 LsXferPlayAnn EV_TIMEOUT_REPLAYMSG 32490 6 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 32500 6 twcal PlaySayNumber C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrCallFrom.wav, C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrAskAccept.wav, , , 1 32530 6 PlaySoundStartNumbers ok 39540 6 Play End line[6] (id=832510) 39540 6 LsXferPlayAnn EV_PLAY_FINISHED 39550 6 LsXferPlayAnn EV_TIMEOUT_REPLAYMSG 39560 6 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 39571 6 twcal PlaySayNumber C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrCallFrom.wav, C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrAskAccept.wav, , , 1 39621 6 PlaySoundStartNumbers ok 46621 6 Play End line[6] (id=839581) 46631 6 LsXferPlayAnn EV_PLAY_FINISHED 46631 6 LsXferPlayAnn EV_TIMEOUT_REPLAYMSG 46641 6 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 46651 6 twcal PlaySayNumber C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrCallFrom.wav, C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrAskAccept.wav, , , 1 46681 6 PlaySoundStartNumbers ok 53651 6 wb(84666101) 53711 6 Play End line[6] (id=846661) 53721 6 LsXferPlayAnn EV_PLAY_FINISHED 53721 6 LsXferPlayAnn EV_PLAY_FINISHED 53741 6 tapic lineGenerateDigits(66359,&,*0) => 0 55123 6 tapie generate LINEGENERATETERM_DONE 56064 6 LsXferPlayAnn EV_TAPI_GENERATE 56064 6 PlayFinishCause=CallRejected 56074 6 Going down Fail path (iXferType=1) 56084 6 [Retorno] Playing 56084 6 [Retorno] Playing (C:\Arquivos de programas\ProPromptsVGM1·1\system\voice\VmbForwardPhonePrompt3.wav) 56154 6 PlaySoundStart ok [C:\Arquivos de programas\ProPromptsVGM1·1\system\voice\VmbForwardPhonePrompt3.wav] 56164 6 RunModule PLAY end 58618 6 wb(85609400) 58678 6 Play End line[6] (id=856094) 58678 6 LsPlayMsg EV_PLAY_FINISHED 68632 6 LsPlayMsgFinished EV_TIMEOUT_HANGUP 68632 6 PlaySoundStop ok 68642 6 HangupCall called from [] 68652 6 Hanging up call... 68652 6 PlaySoundStop ok 68662 6 fnHangupCall end 68702 6 tapie linedevstate 2048 0 0 68712 6 tapie callstate IDLE 66359 0 0 68712 6 WorkingMode@Idle= 68762 6 set EV_TIMEOUT_TIMETOREINITLINE 2 68773 6 tapi Reply 66086 0 69684 6 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 69694 6 ReinitTelephony due to IDLE start 69694 6 tapic lineDeallocateCall(MainCall:66359) 0 69854 6 lineOpen(6) => 0 69864 6 Waiting for a call... 69874 6 lineOpen(6)LineHandle=65710 Transfered Call -> Line Busy (Could not retrieve Call) 91926 6 tapie linedevstate 2048 0 0 91926 6 tapie callstate OFFERING 66287 0 4 91936 6 Answer the call 91946 6 lineAnswer(66287) => 66305 91956 6 tapie callinfo CALLEDID 91956 6 tapie callinfo ORIGIN 91956 6 tapie ring 0 92497 6 tapie callstate CONNECTED 66287,1,0 92497 6 WorkingModeTAPI= 92497 6 WorkingModeScript= 92547 6 Inband detection not enabled 92557 6 tapi Reply 66305 0 92557 6 [Get Numbers 2] Number Input 92557 6 [Get Numbers 2] Playing (C:\Arquivos de programas\VoiceGuide\Scripts\Voicemail Server\VmbWelcomeMsgDefault.wav) 92587 6 PlaySoundStart ok [C:\Arquivos de programas\VoiceGuide\Scripts\Voicemail Server\VmbWelcomeMsgDefault.wav] 93498 6 tapie monitordigits 49 2 93498 6 LsGetNbrsPlayWelcMsg [1] 93558 6 PlaySoundStop ok 93568 6 [Get Numbers 2] Number Input 1 93568 6 LsGetNbrsRxDigits [#] 93979 6 LsXferStart EV_TIMEOUT_READYTOBEGINTRANSFER 93989 6 [Transfer Call 1] Announced Transfer to 145 (Generate) 93999 6 tapic lineGenerateDigits(66287,&) => 0 94279 6 tapie generate LINEGENERATETERM_DONE 95211 6 LsXferStart EV_TAPI_GENERATE 95722 6 LsXferPlayVts EV_HOOKFLASHFINISHED 95742 6 tapic lineGenerateDigits(66287,145) => 0 96182 6 tapie generate LINEGENERATETERM_DONE 97144 6 LsXferPlayVts EV_TAPI_GENERATE 97144 6 fn PlaySoundStartNumbers TsfrCallFrom.wav, TsfrAskAccept.wav, , Digits 97164 6 twcal PlaySayNumber C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrCallFrom.wav, C:\Arquivos de programas\VoiceGuide\system\voicedlgc\TsfrAskAccept.wav, , , 1 97204 6 PlaySoundStartNumbers ok 97985 6 tapie callstate DISCONNECTED 66287,0,0 97985 6 LsXferPlayAnn EV_REMOTEPARTY_DISCONNECT 98045 6 PlaySoundStop ok 98956 6 LsXferPlayAnn EV_PLAY_FINISHED 98956 6 tapic lineGenerateDigits(66287,&,*0) => LINEERR_INVALCALLSTATE [8000001C] 98966 6 HangupCall called from [vbtapi] 98976 6 Hanging up call... 98986 6 PlaySoundStop ok 98996 6 fnHangupCall end 99026 6 tapie linedevstate 2048 0 0 99036 6 tapie callstate IDLE 66287 0 0 99036 6 WorkingMode@Idle= 99126 6 set EV_TIMEOUT_TIMETOREINITLINE 2 99267 6 tapi Reply 66134 0 00038 6 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 00048 6 ReinitTelephony due to IDLE start 00058 6 tapic lineDeallocateCall(MainCall:66287) 0 00218 6 lineOpen(6) => 0 00218 6 Waiting for a call... 00228 6 lineOpen(6)LineHandle=66117 02501 6 tapie linedevstate 2048 0 0 02511 6 tapie callstate OFFERING 66185 0 4 02521 6 Answer the call 02551 6 lineAnswer(66185) => 66219 02561 6 tapie callinfo CALLEDID 02561 6 tapie callinfo ORIGIN 02581 6 tapie ring 0 03092 6 tapie callstate CONNECTED 66185,1,0 03102 6 WorkingModeTAPI= 03102 6 WorkingModeScript= 03142 6 Inband detection not enabled 03152 6 tapi Reply 66219 0 03162 6 [Get Numbers 2] Number Input 03162 6 [Get Numbers 2] Playing (C:\Arquivos de programas\VoiceGuide\Scripts\Voicemail Server\VmbWelcomeMsgDefault.wav) 03202 6 PlaySoundStart ok [C:\Arquivos de programas\VoiceGuide\Scripts\Voicemail Server\VmbWelcomeMsgDefault.wav] 05305 6 Play End line[6] (id=603172) 05305 6 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED 05796 6 tapie callstate DISCONNECTED 66185,0,0 05796 6 LsGetNbrsRxDigits EV_REMOTEPARTY_DISCONNECT 05806 6 PlaySoundStop ok 05816 6 HangupCall called from [] 05816 6 Hanging up call... 05826 6 PlaySoundStop ok 05836 6 fnHangupCall end 05876 6 tapie linedevstate 2048 0 0 05886 6 tapie callstate IDLE 66185 0 0 05896 6 WorkingMode@Idle= 05936 6 set EV_TIMEOUT_TIMETOREINITLINE 2 05946 6 tapi Reply 66236 0 06858 6 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 06868 6 ReinitTelephony due to IDLE start 06878 6 tapic lineDeallocateCall(MainCall:66185) 0 07038 6 lineOpen(6) => 0 07038 6 Waiting for a call... 07048 6 lineOpen(6)LineHandle=66031 Share this post Link to post