Joshua,

If I'm understanding this correctly, you're saying that the Playback is failing 
because it isn't connected to anything on the other end, because the Dial() 
failed.  When the channel is created on the "OutgoingSpoolFailed" extension, 
what context is it created in, one of the origin legs?  Is there a way detect 
this condition in the target context ([outbound-swift]), or better yet, verify 
the other leg is attached before starting the logic?

-Justin

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Joshua Colp
Sent: Tuesday, February 17, 2015 4:07 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Callfile problem - Unable to find codec 
translation path from (nothing)

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

--
_____________________________________________________________________
-- 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

-- 
_____________________________________________________________________
-- 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

Reply via email to