[asterisk-users] SOLVED Re: Echo and Playtones not working on SIP after upgrade

Ivan Stepaniuk ivan at albafotonica.com
Mon Sep 7 09:52:45 CDT 2009


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



More information about the asterisk-users mailing list