[asterisk-dev] Zap channel loses DSP after channel moving

Edwin Groothuis edwin at mavetju.org
Wed Mar 5 04:57:09 CST 2008


On Wed, Mar 05, 2008 at 12:21:20AM +1100, Edwin Groothuis wrote:
> I have found an interesting issue where a call loses its DSP after
> the channel has been moved:
> 
> A call gets setup from a call-file towards a Zap channel on a PRI:
> 
>     -- Attempting call on Zap/g4/0409227633 for 0409227633 at barnet-callback:1 (Retry 1)
>     -- Requested transfer capability: 0x00 - SPEECH
>     -- Moving call from channel 95 to channel 112
> 
> So somewhere on the move it loses its DSP. "zap show channel"
> confirms this:
> 
> Channel: 95
> Owner: <None>
> Real: <None>
> DSP: yes
> 
> Channel: 112
> Owner: Zap/4:112-1
> Real: Zap/4:112-1
> DSP: no
> 
> The original Mantis bug is at http://bugs.digium.com/view.php?id=11917,
> the last note (entered 03-04-08 06:36) gives the current status.
> 
> I am not sure how to fix this: I tried re-assigning in
> pri_fixup_principle() to move the DSP field to the new channel but
> that didn't work.

Please note that the patch at
http://lists.digium.com/pipermail/asterisk-commits/2008-March/020387.html
works. I forgot to also swap the dsp_features field.


Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |              Weblog: http://www.mavetju.org/weblog/



More information about the asterisk-dev mailing list