Problem: Flash on X100P does not flash. Phone line has Call Transfer. With this line plugged into a regular phone, it can receive a phone call. Then, depress the hook momentarily, release. Dialtone is now available. Dial a different number. Call is answered. Hook Flash again, now in a three way call. Hang up. The other two parties are still in communication. Now, plug same line into the X100P. This is in the USA. Call the asterisk box. Line is answered. It can be heard with the Asterisk attempts to Flash, but it does not. The section from extensions.conf is as follows: exten => s,1,Answer exten => s,2,Wait(2) exten => s,3,Flash exten => s,4,Wait(1) exten => s,5,SendDTMF(8889995555) exten => s,6,Wait(1) exten => s,7,Flash exten => s,8,Wait(1) exten => s,9,Hangup The call as answered by Asterisk in debug mode is as follows: Asterisk Ready. *CLI> -- Starting simple switch on 'Zap/1-1' -- Executing Answer("Zap/1-1", "") in new stack -- Executing Wait("Zap/1-1", "2") in new stack -- Executing Flash("Zap/1-1", "") in new stack -- Flashed channel Zap/1-1 -- Executing Wait("Zap/1-1", "1") in new stack -- Executing SendDTMF("Zap/1-1", "8889995555") in new stack -- Sent digit string '8889995555' on Zap/1-1 -- Executing Wait("Zap/1-1", "1") in new stack -- Executing Flash("Zap/1-1", "") in new stack -- Flashed channel Zap/1-1 -- Executing Wait("Zap/1-1", "1") in new stack -- Executing Hangup("Zap/1-1", "") in new stack == Spawn extension (incoming, s, 9) exited non-zero on 'Zap/1-1' -- Hungup 'Zap/1-1' Thank you for your assistance. S. D. -- ______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze
Robert Lawrence
2004-Apr-29 18:22 UTC
[Asterisk-Users] Flash on X100P does not really flash.
Hrmm. I have an X100P in the US and do something very similar and I have no problem with it working. Someone calls in on a certain Zap channel and enters *888, my system will ask for the telephone number and then transfer the call using flash. I've been using this for a few months without any problems. One thing I noticed... I do flash, send dtmf, then hangup. You have another flash between SendDTMF and Hangup. Try removing it and see if it works. exten => *888,1,Goto(app-MakeLD,s,1) [app-MakeLD] exten => s,1,Answer exten => s,2,Background(pls-entr-num-uwish2-call) exten => t,1,Playback(vm-goodbye) exten => t,2,Hangup exten => i,1,Playback(that-is-not-rec-phn-num) exten => i,2,Wait(1) exten => i,3,Playback(num-outside-area) exten => i,4,SayDigits(1) exten => i,5,Playback(and-area-code) exten => i,6,Playback(before-the-number) exten => i,7,Playback(pls-try-again) exten => i,8,Goto(app-MakeLD,s,1) exten => _1NXXNXXXXXX,1,Playback(the-num-i-have-is) exten => _1NXXNXXXXXX,2,SayDigits(${EXTEN}) exten => _1NXXNXXXXXX,3,Wait(1) exten => _1NXXNXXXXXX,4,Playback(pls-wait-connect-call) exten => _1NXXNXXXXXX,5,Flash(Zap/1) exten => _1NXXNXXXXXX,6,SendDTMF(${EXTEN}) exten => _1NXXNXXXXXX,7,Wait(1) exten => _1NXXNXXXXXX,8,Hangup Rob Smythe Davis wrote:>Problem: > >Flash on X100P does not flash. > >Phone line has Call Transfer. With this line plugged into a regular phone, it can receive a phone call. Then, depress the hook momentarily, release. Dialtone is now available. Dial a different number. Call is answered. Hook Flash again, now in a three way call. Hang up. The other two parties are still in communication. > >Now, plug same line into the X100P. This is in the USA. Call the asterisk box. Line is answered. It can be heard with the Asterisk attempts to Flash, but it does not. > >The section from extensions.conf is as follows: > >exten => s,1,Answer >exten => s,2,Wait(2) >exten => s,3,Flash >exten => s,4,Wait(1) >exten => s,5,SendDTMF(8889995555) >exten => s,6,Wait(1) >exten => s,7,Flash >exten => s,8,Wait(1) >exten => s,9,Hangup > > > > >The call as answered by Asterisk in debug mode is as follows: > >Asterisk Ready. >*CLI> -- Starting simple switch on 'Zap/1-1' > -- Executing Answer("Zap/1-1", "") in new stack > -- Executing Wait("Zap/1-1", "2") in new stack > -- Executing Flash("Zap/1-1", "") in new stack > -- Flashed channel Zap/1-1 > -- Executing Wait("Zap/1-1", "1") in new stack > -- Executing SendDTMF("Zap/1-1", "8889995555") in new stack > -- Sent digit string '8889995555' on Zap/1-1 > -- Executing Wait("Zap/1-1", "1") in new stack > -- Executing Flash("Zap/1-1", "") in new stack > -- Flashed channel Zap/1-1 > -- Executing Wait("Zap/1-1", "1") in new stack > -- Executing Hangup("Zap/1-1", "") in new stack > == Spawn extension (incoming, s, 9) exited non-zero on 'Zap/1-1' > -- Hungup 'Zap/1-1' > > >Thank you for your assistance. > >S. D. > >
Robert Lawrence wrote:> exten => _1NXXNXXXXXX,5,Flash(Zap/1)The "show application flash" info needs to be updated. There is no mention that it takes a parameter. I assumed it flashed the current Zap channel. --Eric