Skip to end of metadata
Go to start of metadata

FRAME_DROP()

Synopsis

Drops specific frame types in the TX or RX direction on a channel.

Description

Examples:

exten => 1,1,Set(FRAME_DROP(TX)=DTMF_BEGIN,DTMF_END); drop only DTMF frames towards this channel.

exten => 1,1,Set(FRAME_DROP(TX)=ANSWER); drop only ANSWER CONTROL frames towards this channel.

exten => 1,1,Set(FRAME_DROP(RX)=DTMF_BEGIN,DTMF_END); drop only DTMF frames received on this channel.

Syntax

FRAME_DROP(direction)
Arguments
  • direction - List of frame types to be dropped for the specified direction. Direction can be TX or RX. The TX direction will prevent Asterisk from sending frames to a channel, and the RX direction will prevent Asterisk from receiving frames from a channel.
    Subsequent calls to this function will replace previous settings, allowing certain frames to be dropped only temporarily, for instance.
    Below are the different types of frames that can be dropped. Other actions may need to be taken in conjunction with use of this function: for instance, if you drop ANSWER control frames, you should explicitly use Progress() for your call or undesired behavior may occur.
    • DTMF_BEGIN
    • DTMF_END
    • VOICE
    • VIDEO
    • CONTROL
    • NULL
    • IAX
    • TEXT
    • TEXT_DATA
    • IMAGE
    • HTML
    • CNG
    • MODEM
      The following CONTROL frames can also be dropped:
    • RING
    • RINGING
    • ANSWER
    • BUSY
    • TAKEOFFHOOK
    • OFFHOOK
    • CONGESTION
    • FLASH
    • WINK
    • PROGRESS
    • PROCEEDING
    • HOLD
    • UNHOLD
    • VIDUPDATE
    • CONNECTED_LINE
    • REDIRECTING

See Also

Import Version

This documentation was imported from Asterisk Version GIT-16-af17973

  • No labels