Quantcast
Channel: VOIP-info.org Wiki Changes
Viewing all articles
Browse latest Browse all 5767

Asterisk cmd Ringing

$
0
0
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


Viewing all articles
Browse latest Browse all 5767

Trending Articles