[asterisk-users] audiohook.c: Failed to get 160 samples from write factory

Jonas Kellens jonas.kellens at telenet.be
Thu May 5 08:04:23 CDT 2011


Hello list,


what does this mean :

[May  5 *14:58:12*] DEBUG[8770] chan_sip.c: This call was answered 
elsewhere[May  5 14:58:12] DEBUG[8770] chan_sip.c: ####### It's the 
cause code, buddy. The cause code!!!
[May  5 14:58:12] DEBUG[8770] chan_sip.c: This call was answered 
elsewhere[May  5 14:58:12] DEBUG[8770] chan_sip.c: ####### It's the 
cause code, buddy. The cause code!!!
[May  5 14:58:12] DEBUG[8770] chan_sip.c: This call was answered 
elsewhere[May  5 14:58:12] DEBUG[8770] chan_sip.c: ####### It's the 
cause code, buddy. The cause code!!!
[May  5 14:58:12] DEBUG[8770] chan_sip.c: This call was answered 
elsewhere[May  5 14:58:12] DEBUG[8770] chan_sip.c: ####### It's the 
cause code, buddy. The cause code!!!
[May  5 14:58:12] DEBUG[8770] chan_sip.c: This call was answered 
elsewhere[May  5 14:58:12] DEBUG[8770] chan_sip.c: ####### It's the 
cause code, buddy. The cause code!!!
[May  5 14:58:12] DEBUG[8770] chan_sip.c: This call was answered 
elsewhere[May  5 14:58:12] DEBUG[8770] chan_sip.c: ####### It's the 
cause code, buddy. The cause code!!!
[May  5 14:58:12] DEBUG[8770] chan_sip.c: This call was answered 
elsewhere[May  5 14:58:12] DEBUG[8770] chan_sip.c: ####### It's the 
cause code, buddy. The cause code!!!
[May  5 14:58:12] DEBUG[8770] chan_sip.c: This call was answered 
elsewhere[May  5 14:58:12] DEBUG[8770] chan_sip.c: ####### It's the 
cause code, buddy. The cause code!!!
[May  5 14:58:12] DEBUG[8770] chan_sip.c: This call was answered 
elsewhere[May  5 14:58:12] DEBUG[8770] chan_sip.c: ####### It's the 
cause code, buddy. The cause code!!!
[May  5 14:58:12] DEBUG[8770] chan_sip.c: This call was answered 
elsewhere[May  5 14:58:12] DEBUG[8770] chan_sip.c: ####### It's the 
cause code, buddy. The cause code!!!


Jonas.


On 05/05/2011 10:57 AM, Jonas Kellens wrote:
> Hello list,
>
> can it be that this has something to do with MixMonitor :
>
> [May  5 10:49:41] DEBUG[19790] func_audiohookinherit.c: Set audiohook 
> MixMonitor to be inheritable
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Read factory 0x95dc590 and 
> write factory 0x95dcfc8 both fail to provide 160 samples
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Failed to get 160 samples 
> from write factory 0x95dcfc8
> [May  5 10:49:41] DEBUG[19869] audiohook.c: Read factory 0x95dc590 and 
> write factory 0x95dcfc8 both fail to provide 160 samples
>
>
> I notice that the debug-messages occur whenever there is a call to 
> MixMonitor. I've implemented the following in the dialplan :
>
> exten => s,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)
>
> So the recording proceeds even after transfering...
>
> Can this be causing this ?? Still don't know why all of a sudden the 
> message is flooded in the debug-log. Don't know what triggers it, and 
> don't know how to resolve this.
>
>
> Kind regards,
> Jonas.
>
>
>
> On 05/05/2011 10:22 AM, Jonas Kellens wrote:
>> Hello,
>>
>> and this is what happened before :
>>
>>
>> /[May  5 10:08:38] DEBUG[16215] channel.c: Hanging up channel 
>> 'SIP/expsom10-00000442'
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: This call was answered 
>> elsewhere[May  5 10:08:38] DEBUG[16215] chan_sip.c: ####### It's the 
>> cause code, buddy. The cause code!!!
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: Hangup call 
>> SIP/expsom10-00000442, SIP callid 39ae9f7604d05f523631f7b92601da35 at The_IP
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: Updating call counter for 
>> outgoing call
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: Hanging up channel in 
>> state Ringing (not UP)
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: (Provisional) Stopping 
>> retransmission (but retaining packet) on 
>> '39ae9f7604d05f523631f7b92601da35 at The_IP' Request 102: Found
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: Trying to put 'CANCEL 
>> sip:' onto UDP socket destined for IP:6120
>> [May  5 10:08:38] DEBUG[16215] channel.c: Hanging up channel 
>> 'SIP/expsom9-00000441'
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: This call was answered 
>> elsewhere[May  5 10:08:38] DEBUG[16215] chan_sip.c: ####### It's the 
>> cause code, buddy. The cause code!!!
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: Hangup call 
>> SIP/expsom9-00000441, SIP callid 27a640c93e822e6454346bd71e760367 at The_IP
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: Updating call counter for 
>> outgoing call
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: Hanging up channel in 
>> state Ringing (not UP)
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: (Provisional) Stopping 
>> retransmission (but retaining packet) on 
>> '27a640c93e822e6454346bd71e760367 at The_IP' Request 102: Found
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: Trying to put 'CANCEL 
>> sip:' onto UDP socket destined for IP:58990
>> [May  5 10:08:38] DEBUG[16215] channel.c: Hanging up channel 
>> 'SIP/expsom7-0000043f'
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: This call was answered 
>> elsewhere[May  5 10:08:38] DEBUG[16215] chan_sip.c: ####### It's the 
>> cause code, buddy. The cause code!!!
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: Hangup call 
>> SIP/expsom7-0000043f, SIP callid 21cd242d0d4075961fbd21bd45012727 at The_IP
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: Updating call counter for 
>> outgoing call
>> [May  5 10:08:38] DEBUG[16215] chan_sip.c: Hanging up channel in 
>> state Ringing (not UP)/
>>
>>
>>
>>
>> On 05/05/2011 10:18 AM, Jonas Kellens wrote:
>>> Hello,
>>>
>>> is there yet any feedback on this ??
>>>
>>> What is causing this and how to overcome this ?
>>>
>>> Using Asterisk 1.6.17.2, but had it on the past also with version 
>>> 1.6.2.10, 1.6.2.11 and 1.6.2.16.1
>>>
>>> I had it again today :
>>>
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Read factory 0x11be6140 
>>> and write factory 0x11be6b78 both fail to provide 160 samples
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Read factory 0x11be6140 
>>> and write factory 0x11be6b78 both fail to provide 160 samples
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Read factory 0x11be6140 
>>> and write factory 0x11be6b78 both fail to provide 160 samples
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Read factory 0x11be6140 
>>> and write factory 0x11be6b78 both fail to provide 160 samples
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Read factory 0x11be6140 
>>> and write factory 0x11be6b78 both fail to provide 160 samples
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Read factory 0x11be6140 
>>> and write factory 0x11be6b78 both fail to provide 160 samples
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Read factory 0x11be6140 
>>> and write factory 0x11be6b78 both fail to provide 160 samples
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Read factory 0x11be6140 
>>> and write factory 0x11be6b78 both fail to provide 160 samples
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Read factory 0x11be6140 
>>> and write factory 0x11be6b78 both fail to provide 160 samples
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Read factory 0x11be6140 
>>> and write factory 0x11be6b78 both fail to provide 160 samples
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Read factory 0x11be6140 
>>> and write factory 0x11be6b78 both fail to provide 160 samples
>>> [May  5 10:13:51] DEBUG[16223] audiohook.c: Failed to get 160 
>>> samples from read factory 0x11be6140
>>>
>>>
>>>
>>>
>>>
>>> On 05/03/2011 04:03 PM, Jonas Kellens wrote:
>>>> Hello,
>>>>
>>>> I see a lot of these messages in the debug log :
>>>>
>>>> /[May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Read factory 0xae173e0 
>>>> and write factory 0xae17e18 both fail to provide 160 samples
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Read factory 0xae173e0 
>>>> and write factory 0xae17e18 both fail to provide 160 samples
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Read factory 0xae173e0 
>>>> and write factory 0xae17e18 both fail to provide 160 samples
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Read factory 0xae173e0 
>>>> and write factory 0xae17e18 both fail to provide 160 samples
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Read factory 0xae173e0 
>>>> and write factory 0xae17e18 both fail to provide 160 samples
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Read factory 0xae173e0 
>>>> and write factory 0xae17e18 both fail to provide 160 samples
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Read factory 0xae173e0 
>>>> and write factory 0xae17e18 both fail to provide 160 samples
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Read factory 0xae173e0 
>>>> and write factory 0xae17e18 both fail to provide 160 samples
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Read factory 0xae173e0 
>>>> and write factory 0xae17e18 both fail to provide 160 samples
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Read factory 0xae173e0 
>>>> and write factory 0xae17e18 both fail to provide 160 samples
>>>> [May  3 15:47:09] DEBUG[19081] audiohook.c: Failed to get 160 
>>>> samples from write factory 0xae17e18/
>>>>
>>>>
>>>> When I say a lot, I really mean a lot !
>>>>
>>>> After about 2 minutes Asterisk freezes and I need to restart the 
>>>> Asterisk proces (/sbin/service asterisk restart).
>>>>
>>>> How can I overcome this problem ?? Please help !
>>>>
>>>>
>>>> Kind regards,
>>>> Jonas.
>>>>
>>>>
>>>> --
>>>> _____________________________________________________________________
>>>> -- Bandwidth and Colocation Provided byhttp://www.api-digital.com  --
>>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>>                 http://www.asterisk.org/hello
>>>>
>>>> asterisk-users mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>     http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>>
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided byhttp://www.api-digital.com  --
>>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>>                 http://www.asterisk.org/hello
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>     http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided byhttp://www.api-digital.com  --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>                 http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>     http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110505/842a9002/attachment.htm>


More information about the asterisk-users mailing list