[Home]

Summary:ASTERISK-01499: No ringing indication on outgoing calls
Reporter:gcc (gcc)Labels:
Date Opened:2004-04-29 07:13:59Date Closed:2011-06-07 14:05:04
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The Dial application reports "... is ringing" on the console when the remote side channel driver reports ringing, but never passes that indication to the caller. SIP outbound callers never hear ringing.

****** ADDITIONAL INFORMATION ******

In Asterisk 0.9.0 apps/app_dial.c line 134:

       if (outgoing) {
               moh = outgoing->musiconhold;
               ringind = outgoing->ringbackonly;
               if (outgoing->musiconhold) {
                       ast_moh_start(in, NULL);
               } else if (outgoing->ringbackonly) {
                       ast_indicate(in, AST_CONTROL_RINGING);
               }
               sentringing++;
       }

This means that on every outbound call, app_dial thinks that it already sent a ringing tone, so it won't send it again. But it didn't, so it won't send it EVER.

CVS has the correct code:

       if (outgoing) {
               moh = outgoing->musiconhold;
               ringind = outgoing->ringbackonly;
               if (outgoing->musiconhold) {
                       ast_moh_start(in, NULL);
               } else if (outgoing->ringbackonly) {
                       ast_indicate(in, AST_CONTROL_RINGING);
                       sentringing++;
               }
       }

Please could this be fixed in the stable branch ASAP?
Comments:By: twisted (twisted) 2004-04-29 07:39:05

0.9.0 is not the stable branch, it is the released tarballs.   Unfortunately, these are updated every relese.  cvs DOES have a stable branch, however, if you look here: http://www.asterisk.org/index.php?menu=download, it's a little further down, and should be fixed there.  If it's not, please post back here.

By: zoa (zoa) 2004-04-29 08:46:51

i think this got backported to the stable branch already