The architecture of Open Source Applications: Asterisk

Source: Internet
Author: User
ArticleDirectory
    • The architecture of Asterisk
    • Lessons from the architecture of Asterisk
    • Reference:
The architecture of Asterisk

Lessons from the architecture of Asterisk
    • Concepts of Channel

Telephony endpoints are represented as channels, and they are connected by Channel Bridge. channel Bridge is responsible of chennal negotiation, codec and frame transport. because the media transport technology of each endpoint may vary, each channel is assigned with a specific channel driver. so that channel API provides the Telephony protocol defined action which allows all other asterisk features to work independently of the Telephony protocol in use.

    • Flexible call handling using the asterisk dialplan

This flexible method is often called separating strategy and Mechanic: asterisk only implments the basic mechanic, leaving call routing configuration to user. asterisk users can set up call routing by diaplan, which resides in the/etc/asterisk/extensions. CONF file. the dialplan is made up of a series of call rules called extensions.

A simple example of diaplan:

 
; Define the rules for what happens when someone dials 1234.; exten => 1234,1, answer () Same => N, playback (Demo-Congrats) Same => N, hangup ()
Reference:

Aosabook.org

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.