announcement

Home » Asterisk Users » announcement
Asterisk Users 3 Comments

Hello,

Limiting the call duration with the L-option of the Dial()-command is
working fine, however the announcement is not played.

Dialplan :

exten => _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes)
exten => _367,n,Dial(SIP/test6,,L(11000,5000,5000))

The call lasts for 11 seconds, but 5 minutes before time runs out an
announcement should come. I hear no announcement, not on caller-side nor
on callee side.

Kind regards,
Jonas.

3 thoughts on - announcement

  • Gentlemen, the issue is the lack of proper separator….You are
    supposed to split the x y and z with : not ,

    So…it should look like this:
    exten => _367,n,Set(LIMIT_PLAYAUDIO_CALLER=yes)
    exten => _367,n,Dial(SIP/test6,,L(11000:5000:5000))

    Slainte mates

  • Found the problem already :

    Dial(SIP/test6,,L(11000,5000,5000))

    Correct syntax is :

    Dial(SIP/test6,,L(11000:5000:5000))

    semicolon…

    Jonas.