[asterisk-bugs] [Asterisk 0012507]: Behavior difference between commands JACK() and Set(Manipulate()=on).

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Apr 23 15:45:08 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12507 
====================================================================== 
Reported By:                xianghaiyu
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12507
Category:                   Applications/NewFeature
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0-beta6 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-23-2008 15:45 CDT
Last Modified:              04-23-2008 15:45 CDT
====================================================================== 
Summary:                    Behavior difference between commands JACK() and
Set(Manipulate()=on).
Description: 
I am currently working with your JACK application code app_jack.c  from
asterisk-1.6.0-Beta. I found there is a behavior difference between
commands JACK() and Set(Manipulate()=on).

Problem:
Using JACK(), sip phone can here sounds from alsa sounds input from 
system:capture_1, but not with Set(Manipulate()=on).

How to reproduce:
-SIP phone 1000
-.JACKD running /jackd -R -dalsa -r44100 -p1024 -S

Run dial from 1000 to 700 through following dial plan

exten => 700, 1, Answer()
enten => 700, 2, JACK

then  run
./jack_connect system:capture_1 SIP/1000-0823ab58:input
SIP phone CAN hear sound from mic input.

But if run
exten => 700, 1, Answer()
enten => 700, 2, Set(Manipulate()=on)

then
./jack_connect system:capture_1 SIP/1000-0823ab58:input
SIP phone CAN NOT here sound from mic input.

Check with the code  difference seen from
jack_hook_callback() and
jack_exec()
in how to handle  handle_jack_audio(chan, jack_data, frame);


====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-23-08 15:45  xianghaiyu     Asterisk Version          => 1.6.0-beta6     
04-23-08 15:45  xianghaiyu     SVN Branch (only for SVN checkou => 1.6.0        
  
======================================================================




More information about the asterisk-bugs mailing list