|Summary:||ASTERISK-01848: Manager originate command to IAX channel fails|
|Date Opened:||2004-06-18 01:53:29||Date Closed:||2011-06-07 14:10:18|
|Description:||When using the manager to ORIGINATE a call on an IAX2 channel there is a codec incompatability and the call fails. However A normal call (without the manager interface) to an IAX client works great. On comparison of the two IAX call setup messages I noticed that the codec being requested by manager inititiated call is 0x64 which according to the IAX spec doesn't exist.|
****** ADDITIONAL INFORMATION ******
A quick fix for this is to edit manager.c and change the lines
res = ast_pbx_outgoing_app(tech, AST_FORMAT_SLINEAR,....)
res = ast_pbx_outgoing_exten(tech, AST_FORMAT_SLINEAR,...)
res = ast_pbx_outgoing_app(tech, AST_FORMAT_ULAW,....)
res = ast_pbx_outgoing_exten(tech, AST_FORMAT_ULAW,...)
|Comments:||By: Mark Spencer (markster) 2004-06-18 08:58:31|
Actually it's not 0x64, it's 64 decimal which is 1 << 6, or "linear format". Can you supply some actual debug messages?
By: James Golovich (jamesgolovich) 2004-06-20 13:11:40
Also please post your exact manager syntax you are using that fails and the exact extensions.conf syntax for when you call Dial and it works.
along with the console messages this should help us solve this problem
By: Mark Spencer (markster) 2004-06-21 14:09:57
Is there still any interest in this?
By: Mark Spencer (markster) 2004-06-24 00:35:12
Customer appears to have lost interest.