Viewing 5 posts - 1 through 5 (of 5 total)
  • Migrated from old forum
    Participant
    Post count: 327
    #5929 |

    Hi,
    I have a problem with handling error from Read function.
    If Read function “Play File” parameter not in asterisk server,
    this couse exception, but I cant handle it. How can I handle Read function missing sound file error?
    Thanks for answers.

    Migrated from old forum
    Participant
    Post count: 327
    #5930 |

    TolgaGUL,

    You may use red/Read failed port from the Read component to handle missing voice file exception.

    Bernard

    Migrated from old forum
    Participant
    Post count: 327
    #5931 |

    Hi Bernard,
    Thanks for your answer. But there is no red port on Read component. My version is 1.4
    How can I solve this problem?

    Migrated from old forum
    Participant
    Post count: 327
    #5932 |

    Hi,
    I upgrade my dailplan version 1.4 to 1.6 and red port on Read component appeared.
    But I have a question, Asterist server version 1.4 Does this create any problem?

    Migrated from old forum
    Participant
    Post count: 327
    #5933 |

    TolgaGUL,

    I’m not sure it will work that way. Did you make some tests?
    Starting from Asterisk 1.6 Read component sets a READSTATUS variable on exit. It does NOT automatically return -1 (and hangup) anymore on error.
    As I see the best solution here is to upgrade the Asterisk server to 1.6 version..

    Bernard

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.