[asterisk-bugs] [Asterisk 0010934]: Option r with early files

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Mar 9 00:35:42 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10934 
====================================================================== 
Reported By:                gasparz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10934
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:            1.4.10.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-10-2007 07:22 CDT
Last Modified:              03-09-2008 00:35 CST
====================================================================== 
Summary:                    Option r with early files
Description: 
I was asked to develop a feature thar switches between the ringing tone and
early media. So when you dial asterisk starts generating ringing tone, but
when the called channels starts sendig RTP (like mobile carriers: “The
person you are trying to reach is unavailable") with or without answering
the channel, the asterisk would have to end generating the ringing tone and
send the media it receives.

The patch does this.
====================================================================== 

---------------------------------------------------------------------- 
 gasparz - 03-09-08 00:35  
---------------------------------------------------------------------- 
Good question qwell, here is the answer.

We run a prepaid system and when we try to connect an outbound call we
have several trunks that can connect the call. The real life shows us that
calls are getting refused, and sometimes the time til first early media is
quite long. If we don't use the -r option in that setup time the customer
will hear silence, if you use it he won't hear the early media. Now if the
silence period if quite large > 10-30 seconds the customer gets annoyed, he
thinks we are not trying to connect the call and reports a dead air issue.

Ex.

Time point A
invite trunk1
503 Service unavailable from trunk 1
...
invite trunk n
183 Session Progress/200 ok
Time point B

Dead Air time = Time point B- Time point A

With this patch he will receive feedback from the first second (our
ringing tone). When a carrier sends back 183 he will receive:
- maybe another ringing tone
- early sounds

As a lot of carriers use slightly diferent ringing tones this process
usually gives feedback to the customer about the call compleation process,
assuring him that the call is connected meanwhile. By this the customer
experience is better and he is more likely willing to wait more for the
call compleation on a ringing tone than on dead air (silence). 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-09-08 00:35  gasparz        Note Added: 0083649                          
======================================================================




More information about the asterisk-bugs mailing list