Summary:ASTERISK-04419: app_dial (L) option seems to be broken
Reporter:paradise (paradise)Labels:
Date Opened:2005-06-15 16:52:13Date Closed:2011-06-07 14:10:42
Versions:Frequency of
Description:I'm using Dial Application with L option to limit call time.
the problem is that when the 1st warning sound is played, the callee and caller can't hear eachother till the end of call.

   -- Executing NoOp("SIP/202-4ea4", "") in new stack
   -- Executing Dial("SIP/202-4ea4", "SIP/210|60|CrgL(60000:45000:15000)") in new stack
   -- Limit Data:
   -- timelimit=60000
   -- play_warning=45000
   -- play_to_caller=yes
   -- play_to_callee=yes
   -- warning_freq=15000
   -- start_sound=UNDEF
   -- warning_sound=beep
   -- end_sound=beep
   -- Called 210
   -- SIP/210-dad0 is ringing
   -- SIP/210-dad0 is ringing
   -- SIP/210-dad0 is ringing
   -- SIP/210-dad0 is ringing
   -- SIP/210-dad0 answered SIP/202-4ea4
   -- Playing 'beep' (language 'en')
   -- Playing 'beep' (language 'en')
   -- Playing 'beep' (language 'en')
   -- Playing 'beep' (language 'en')
   -- Playing 'beep' (language 'en')
   -- Playing 'beep' (language 'en')
   -- Executing Busy("SIP/202-4ea4", "2") in new stack
Comments:By: paradise (paradise) 2005-06-15 17:20:40

already checked with STABLE, everything works as expected.

By: Michael Jerris (mikej) 2005-06-15 17:31:28

By any chance could you step back in head and narrow down that patch that broke this?

By: paradise (paradise) 2005-06-15 17:33:49

good idea ;-)

By: paradise (paradise) 2005-06-15 20:00:37

changes on Mar 31 seems to be broken.
on CVS HEAD Mar 30 and older works fine.
maybe the changes to channel.c is caused the problem.

By: Michael Jerris (mikej) 2005-06-15 20:53:17

Can you verify with 3/31 head but with channel.c v1.182.  That looks like the only change on 3/31 that might have affected this.

By: paradise (paradise) 2005-06-16 02:24:56

yes, that's it.
changes on channel.c in Mar31 has broke this.

By: paradise (paradise) 2005-06-16 17:11:36

seems that channel.c is really broken since Mar 31.
it may cause problem to other applications like Dial.

By: paradise (paradise) 2005-06-17 09:12:05

is it considered as a bug?

By: Mark Spencer (markster) 2005-06-17 10:39:39

What, from a network view, is happening differently?

By: paradise (paradise) 2005-06-17 11:16:37

i dont really know the other side effects of changes in channel.c on Mar31 which is commented as "Make bridging more efficient".
but my sensed problem with it which is not in it's perior versions, is when i use Dial app. with (L) option to limit a call time, the call goes deaf and silent after playing the first warning sound.
another strange thing is that 2nd..Nth warning plays is heard by both callee and caller but they can't hear eachother till the end of call. seems that the audio path is still available just for playing warning sound!!
sample Dial command: Dial(SIP/202|60|CrgL(300000:45000:15000))
mentioned channel.c CVS version is: 1.183

By: paradise (paradise) 2005-06-17 19:58:36

finally could fix the problem.
as its not a bug in app_dial i sent it as bug# 4552

By: Michael Jerris (mikej) 2005-06-17 20:10:09

Closed as it is a duplicate of 4552