[Home]

Summary:ASTERISK-12885: [patch] Console/dsp not hanging up after playing sound file.
Reporter:Rick Neubauer (itiliti)Labels:
Date Opened:2008-10-13 16:51:12Date Closed:2009-01-25 18:03:54.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_oss
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20081013__bug13686.diff.txt
Description:We recently upgraded to Asterisk 1.4 on our phone server. Everything is working great except that we notice on chan_oss, it will call the Soundcard, then play the sound file, then it will not hangup. We are using it with our paging system to play different sound files for different departments. They are all part of a ring group, and it goes on to another ring group if no one answers the phone.

Our code is this:

exten => 900,1,Dial(console/dsp,,A(ring-raining))
exten => 900,Hangup

The issue is that it does not hang up the call afetr playing the sound file. it actually puts the incoming call on the paging system. This worked perfectly in Asterisk 1.2, but for some reason not in 1.4. We thought that maybe there are new options to do this, but I couldnt find any.

Is this a bug, or am I missing something?
Comments:By: Tilghman Lesher (tilghman) 2008-10-13 18:30:25

It appears that you're missing a '2,' before the Hangup, which would cause the dialplan parser to gag.

By: Leif Madsen (lmadsen) 2008-11-20 16:15:40.000-0600

Pinging this issue.

itiliti: looks like there is a patch here for you to test with. Are you still having the issue?

By: Tilghman Lesher (tilghman) 2009-01-07 19:55:10.000-0600

No response from reporter.

By: Digium Subversion (svnbot) 2009-01-25 17:43:56.000-0600

Repository: asterisk
Revision: 171187

U   branches/1.4/channels/chan_oss.c

------------------------------------------------------------------------
r171187 | tilghman | 2009-01-25 17:43:56 -0600 (Sun, 25 Jan 2009) | 6 lines

Correctly track the hookstate
(closes issue ASTERISK-12885)
Reported by: itiliti
Patches:
      20081013__bug13686.diff.txt uploaded by Corydon76 (license 14)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=171187

By: Digium Subversion (svnbot) 2009-01-25 17:57:26.000-0600

Repository: asterisk
Revision: 171188

_U  trunk/
U   trunk/channels/chan_oss.c

------------------------------------------------------------------------
r171188 | tilghman | 2009-01-25 17:57:26 -0600 (Sun, 25 Jan 2009) | 13 lines

Merged revisions 171187 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
 r171187 | tilghman | 2009-01-25 17:44:01 -0600 (Sun, 25 Jan 2009) | 6 lines
 
 Correctly track the hookstate
 (closes issue ASTERISK-12885)
  Reported by: itiliti
  Patches:
        20081013__bug13686.diff.txt uploaded by Corydon76 (license 14)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=171188

By: Digium Subversion (svnbot) 2009-01-25 18:03:03.000-0600

Repository: asterisk
Revision: 171189

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_oss.c

------------------------------------------------------------------------
r171189 | tilghman | 2009-01-25 18:03:03 -0600 (Sun, 25 Jan 2009) | 20 lines

Merged revisions 171188 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r171188 | tilghman | 2009-01-25 17:58:00 -0600 (Sun, 25 Jan 2009) | 13 lines
 
 Merged revisions 171187 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r171187 | tilghman | 2009-01-25 17:44:01 -0600 (Sun, 25 Jan 2009) | 6 lines
   
   Correctly track the hookstate
   (closes issue ASTERISK-12885)
    Reported by: itiliti
    Patches:
          20081013__bug13686.diff.txt uploaded by Corydon76 (license 14)
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=171189

By: Digium Subversion (svnbot) 2009-01-25 18:03:54.000-0600

Repository: asterisk
Revision: 171190

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_oss.c

------------------------------------------------------------------------
r171190 | tilghman | 2009-01-25 18:03:53 -0600 (Sun, 25 Jan 2009) | 20 lines

Merged revisions 171188 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r171188 | tilghman | 2009-01-25 17:58:00 -0600 (Sun, 25 Jan 2009) | 13 lines
 
 Merged revisions 171187 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r171187 | tilghman | 2009-01-25 17:44:01 -0600 (Sun, 25 Jan 2009) | 6 lines
   
   Correctly track the hookstate
   (closes issue ASTERISK-12885)
    Reported by: itiliti
    Patches:
          20081013__bug13686.diff.txt uploaded by Corydon76 (license 14)
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=171190