Ivan Stepaniuk
2009-Sep-07 14:36 UTC
[asterisk-users] Echo and Playtones not working on SIP after upgrade
Hello list I had the following echo-test extension on my Asterisk 1.2 setup. exten => 1003,1,Wait(1) exten => 1003,n,Playtones(!1050/1000) exten => 1003,n,Wait(1) exten => 1003,n,StopPlaytones exten => 1003,n,Echo exten => 1003,n,Hangup After migrating my testing server to Asterisk 1.4, and a minor extensions.conf update, everything works just fine. Except for the Playtones and the Echo applications on SIP channels. Over IAX2, both Echo and Playtones works fine on this same extension and system! I googled and tried several things, but nothing seems to work. Basically the log shows it is working, there are no errors or warnings, but there is no sound at all. No beeps, no Echo. Calls, voicemail, moh, and everything else we are using works just fine. We are using Asterisk 1.4.21.2~dfsg-3 (on debian stable), SIP channels with both grandstream and soft phones. Everything on the same network segment. Codec does not seem to affect this behavior (tried them all) Any clues? Thanks! -- Iv?n Stepaniuk Alba Fot?nica S.L.
Tilghman Lesher
2009-Sep-07 14:43 UTC
[asterisk-users] Echo and Playtones not working on SIP after upgrade
On Monday 07 September 2009 09:36:53 Ivan Stepaniuk wrote:> I had the following echo-test extension on my Asterisk 1.2 setup. > > exten => 1003,1,Wait(1) > exten => 1003,n,Playtones(!1050/1000) > exten => 1003,n,Wait(1) > exten => 1003,n,StopPlaytones > exten => 1003,n,Echo > exten => 1003,n,Hangup > > After migrating my testing server to Asterisk 1.4, and a minor > extensions.conf update, everything works just fine. Except for the > Playtones and the Echo applications on SIP channels.Try adding an Answer() in there, before the first Playtones. -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: www.digium.com & www.asterisk.org
Ivan Stepaniuk
2009-Sep-07 14:52 UTC
[asterisk-users] SOLVED Re: Echo and Playtones not working on SIP after upgrade
Tilghman Lesher wrote:> On Monday 07 September 2009 09:36:53 Ivan Stepaniuk wrote: >> I had the following echo-test extension on my Asterisk 1.2 setup. >> >> exten => 1003,1,Wait(1) >> exten => 1003,n,Playtones(!1050/1000) >> exten => 1003,n,Wait(1) >> exten => 1003,n,StopPlaytones >> exten => 1003,n,Echo >> exten => 1003,n,Hangup >> >> After migrating my testing server to Asterisk 1.4, and a minor >> extensions.conf update, everything works just fine. Except for the >> Playtones and the Echo applications on SIP channels. > > Try adding an Answer() in there, before the first Playtones.That made the trick, thank you very much. I wonder why does it work on IAX2 channels but not on SIP channels without the Answer command. Anyway, I guess that answering the channel first is the right thing to do. -- Iv?n Stepaniuk