Asterisk cmd Ringing

Indicate ringing tone

Description

Ringing()

Request that the channel indicate ringing tone to the user.
On an unanswered SIP channel this will send a "180 Ringing" to the endpoint.

Example

On an answered channel Ringing returns immediately and moves to the next step in the dialplan. I needed to make the caller hear ringback tone for a couple of seconds when they selected an IVR option. the solution was to use wait in combinations of ringing. See example below.

exten => s,1,Answer
exten => s,n,Ringing
exten => s,n,Wait(2)
exten => s,n,do something else

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

Indicate ringing tone

Description

Ringing()

Request that the channel indicate ringing tone to the user.
On an unanswered SIP channel this will send a "180 Ringing" to the endpoint.

Example

On an answered channel Ringing returns immediately and moves to the next step in the dialplan. I needed to make the caller hear ringback tone for a couple of seconds when they selected an IVR option. the solution was to use wait in combinations of ringing. See example below.

exten => s,1,Answer
exten => s,n,Ringing
exten => s,n,Wait(2)
exten => s,n,do something else

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

Created by: oej, Last modification: Sun 06 of Jan, 2013 (14:38 UTC) by JustRumours
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+