Andrea Giuliani
2006-Nov-27 06:33 UTC
[asterisk-users] flash transfer problem in asterisk with old PBX
Hi, I've solved the flash transfer problem changing the flash time in the zapata.conf file, I've set: flash = 200 (the defualt was 750 ms) in the extensions.conf the code is for example: exten => 42,1,Flash() exten => 42,2,SendDTMF(42,250) exten => 42,3,Hangup() now the transfer with flash works correctly. About the question whether my PBX expects a hook flash for transfer or if it uses the Recall (or Flash) button on a telephone, I,ve tried to transfer a call between some phones connected to my PBX. When the original call is from the external PSTN line the supervised transfer works with hook flash and with the Recall button. When the original call is from an internal phone the supervised transfer doesn't work anyway. About debugging the Zap channel output using a second FXS channel like in your previous post: http://lists.digium.com/pipermail/asterisk-users/2006-November/171749.html I haven't understood how to do the debug, do you use the Asterisk Console? Which command? Date: Wed, 8 Nov 2006 13:49:16 +0200 From: "Dululu Ululu" <dululu@gmail.com> Subject: Re: [asterisk-users] flash transfer problem in asterisk integration with old PBX To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Message-ID: <7e6367140611080349v3bb9d29bp39bdbfa4267b21e4@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hi Can you verify whether your PBX expects a hook flash for transfer or if it uses the Recall (or Flash) button on a telephone? Not an expert but I'm told by the real experts that they're different and my investigations http://lists.digium.com/pipermail/asterisk-users/2006-November/171749.html show that the generated signals are different. Am going through the same problem & trying to figure out how to generate the same signal that Recall does (for basically the same reason). Haven't had a response to my post, will let you know if I come up with anything. Cheers On 11/8/06, Andrea Giuliani <giuliani@plink.it> wrote:> > > I've tried to transfer a call using the Flash command, but with my > configuration it doesn't work. > I have a traditional PBX connected with a zap channel to Asterisk that > acts > like an IVR: > > TELCO line --> traditional PBX (FXS) --> (FXO) Asterisk > > >From the TELCO line I can make a call to the traditional PBX and reach > Asterisk, the IVR system on Asterisk answers the call and I can dial an > extension (for example 42 that is on the traditional PBX). In the asterisk > dialplan I've set to transfer the call using Flash() like in this example: > > exten => 42,1,Flash() > exten => 42,2,Background(silence/1) wait 1 second for the traditional > PBX > exten => 42,3,SendDTMF(42,250) > exten => 42,4,Background(silence/1) wait 1 second for the traditional > PBX > exten => 42,5,Hangup() > > When I dial the extension 42, the phone 42 on the traditional PBX rings > but > when I answer there isn't communication with the call from the TELCO line > and after a few seconds the line hangup. > Here you can see what happen in asterisk CLI console: > > Executing Answer("Zap/4-1", "") in new stack > -- Executing BackGround("Zap/4-1", "a_suoni_plink/menu_esterno2") in > new > stack > -- Playing 'a_suoni_plink/menu_esterno2' (language 'it') > == CDR updated on Zap/4-1 > -- Executing Flash("Zap/4-1", "") in new stack > -- Flashed channel Zap/4-1 > -- Executing BackGround("Zap/4-1", "silence/1") in new stack > -- Playing 'silence/1' (language 'it') > -- Executing SendDTMF("Zap/4-1", "42") in new stack > -- Executing BackGround("Zap/4-1", "silence/1") in new stack > -- Playing 'silence/1' (language 'it') > -- Executing Hangup("Zap/4-1", "") in new stack > == Spawn extension (incoming, 42, 5) exited non-zero on 'Zap/4-1' > -- Hungup 'Zap/4-1' > > I've tried the following changes to the dialplan in my example but > transfer > still doesn't work: > > - I've tried to use wait(1) instead of Background(silence/1) > > - I've tried without Background(silence/1) or wait(1): > > exten => 42,1,Flash() > exten => 42,2,SendDTMF(42,250) > exten => 42,3,Hangup() > > - I've tried without the Hangup() instructions at the end > > > Has anyone the same problem like me and any suggestions? > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061108/105ce6 c5/attachment-0001.htm ------------------------------ _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users End of asterisk-users Digest, Vol 28, Issue 44 **********************************************