Freeswitch: Did configuration method

Source: Internet
Author: User
Tags freeswitch

This article is from csdnHttp://blog.csdn.net/voipmaker 
Reprinted to indicate the source. Thank you.

I have created a freeswitch learning exchange group, 45211986. welcome to join.


Did stands for direct dial-in. It is a concept proposed by the operator. With this number, the operator can call to the VoIP system and configure a gateway by calling freeswitch, specify the carrier's access number and password. When a call is made to this number, the carrier will send the number to freeswitch.

For example, if I use a landline call number 84366666 and want to route the call to freeswitch, I need to configure the did gateway and add the dial plan.

Add Gateway:

Add an XML file to the/CONF/sip_profiles/external directory and set realm, username, and password. You can specify whether to register on the gateway as needed.(2) configure the dial plan

Add a dialing scheme:

In the dial-up plan, you need to specify the processing logic of the corresponding did number after the incoming call. You can flexibly customize the processing logic as needed, such as entering meetings, faxes, and queues.

Modify public. XML in \ conf \ dialplan and add the following content:

<Extension name = "sipprovider"> <condition field = "destination_number" expression = "^ 84366666 $"> <action application = "transfer" Data ="84366666XML default "/> </condition> </extension>

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.