[Home]

Summary:ASTERISK-16060: app_jack connects two ports, but complains it doesn't
Reporter:Motiejus Jakstys (motiejus)Labels:
Date Opened:2010-05-06 07:19:35Date Closed:2011-07-26 15:16:22
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_jack
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I need sound of callee in jack, this is the way I accomplished this:

pbx2_test*CLI> dialplan set chanvar SIP/PBX2-0000001b JACK_HOOK(manipulate,i(SIP/PBX2-0000001b:input),o(SIP/PBX2-0000001b:output)) on
pbx2_test*CLI>
   -- Channel variable 'JACK_HOOK(manipulate,i(SIP/PBX2-0000001b:input),o(SIP/PBX2-0000001b:output))' set to 'on' for 'SIP/PBX2-0000001b'
[May  6 15:03:31] ERROR[5539]: app_jack.c:500 init_jack_data: Failed to connect 'SIP/PBX2-0000001b:output' to 'SIP/PBX2-0000001b:input'

However, the ports are connected and caller and callee can hear each other well.

Since channels are connected and peers hear each other, I don't think this error should be displayed.

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

After running the dialplan set chanvar <...> jack says ports are connected:

sh-3.2$ jack_lsp -c
SIP/PBX2-0000001b:input
  SIP/PBX2-0000001b:output
SIP/PBX2-0000001b:output
  SIP/PBX2-0000001b:input
Comments:By: Leif Madsen (lmadsen) 2011-07-26 15:16:17.436-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines