[asterisk-users] Callfile problem - Unable to find codec translation path from (nothing)

Joshua Colp jcolp at digium.com
Tue Feb 17 06:07:28 CST 2015


Justin Killen wrote:

<snip>

>
> Whenever I try to copy this callfile into /var/spool/asterisk/outgoing/
> I get these 3 lines repeating over and over (I’m not 100% sure which
> entry is first):
>
> [2015-02-16 16:56:02] WARNING[9737][C-0000f8a7]: channel.c:5353
> set_format: Unable to find a codec translation path from (nothing) to (slin)
>
> [2015-02-16 16:56:02] WARNING[9737][C-0000f8a7]: file.c:1017
> ast_streamfile: Unable to open AAA/check_ip_failure (format (nothing)):
> Function not implemented
>
> [2015-02-16 16:56:02] WARNING[9737][C-0000f8a7]: app_playback.c:484
> playback_exec: ast_streamfile failed on OutgoingSpoolFailed for
> AAA/check_ip_failure
>
> [2015-02-16 16:56:02] WARNING[9737][C-0000f8a7]: channel.c:5353
> set_format: Unable to find a codec translation path from (nothing) to (slin)
>
> [2015-02-16 16:56:02] WARNING[9737][C-0000f8a7]: file.c:1017
> ast_streamfile: Unable to open AAA/check_ip_failure (format (nothing)):
> Function not implemented
>
> [2015-02-16 16:56:02] WARNING[9737][C-0000f8a7]: app_playback.c:484
> playback_exec: ast_streamfile failed on OutgoingSpoolFailed for
> AAA/check_ip_failure
>
> Is there something special I need to do to trick the translation into
> doing the right thing?

It can never do the right thing there. If the origination fails for some 
reason then a channel (without any formats) is created to the 
"OutgoingSpoolFailed" extension. Due to the way you've written your 
dialplan logic this will attempt to do things with media. Since it's not 
a real channel and has no formats, that will fail. Since your dialplan 
logic also has it go in a loop it just goes 'round and 'round.

Cheers,

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list