[asterisk-users] Ringing for incoming call

Bob Smither Smither at C-C-I.com
Fri Dec 18 17:10:40 CST 2009


Dear All,

I am using Asterisk 1.4 on CentOS 5.  I have an incoming DID provided by
Vitelity.  When the number is called it goes to my Asterisk box.  The
protocol is SIP.  This all works just fine if I answer the call and
begin a playback.

I want to let the number ring for a few seconds before it is answered,
and would like the caller to hear it ringing.  I have tried:

...
exten => s,n,Answer
exten => s,n,Playtones(ring)
exten => s,n,Wait(10)
exten => s,n,StopPlaytones()
exten => s,n,BackGround(sound file)
...

also

...
exten => s,n,Answer
exten => s,n,Ringing()
exten => s,n,Wait(10)
exten => s,n,BackGround(sound file)
...

I have also tried moving the Answer app to right before the BackGround
app.

In all cases when I call the number I never hear it ringing.  After the
10 second delay, the BackGround app does run.  Connecting to the CLI
does not give me any useful information - for example the Ringing app is
shown to run, but the caller does not hear it.

Any suggestions?

Many thanks!

-- 
Bob Smither <Smither at C-C-I.com>




More information about the asterisk-users mailing list