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

Joshua Colp jcolp at digium.com
Wed Feb 18 14:31:37 CST 2015


Justin Killen wrote:
> 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?

It is created in the context you have told the answered channel to go 
to. One way to fix it would be to add an OutgoingSpoolFailed extension 
for each priority so that Swift isn't invoked. You could also use GotoIf 
in the first priority and go elsewhere if the extension is 
OutgoingSpoolFailed. There exist many options.

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