Skip to main content

Default Dialplan QRF

About

The default dialplan (conf/dialplan/default.xml) sets up some basic functionality for testing and building a phone system.

This includes the ability to dial between extensions which are set up in the User Directory and to pseudo-destinations like the sample IVR, but does not include the ability to dial out through a SIP carrier or TDM cards; you must add this to the dialplan before those types of calls will work.

The default dialplan also does not do anything useful with calls sent to your Freeswitch with a destination phone number attached, called "DID calls" for Direct Inward Dialling. You must modify/extend conf/dialplan/public/public.xml to route these calls to an extension.

Some of these are Bellcore/Telcordia CLASS Vertical Service Codes.

Click here to expand Table of Contents

Default Dialplan QRF

Intercept (Ringing Call Pickup)

global-intercept

^886$

group-intercept

^\*8$

intercept-ext

^\*\*(\d+)$

In order to intercept a call going to another extension, dial **[ext] -- e.g. if you're trying to intercept a call ringing on extension 1001, dial **1001.

For more information see intercept.

Redial the last called number

Each extension remembers it's last called number, which can be redialed.

Dial: 870

snom-demo-2

^9001$

snom-demo-1

^9000$

Eavesdrop on an extension

Eavesdrop on a specific extension

Dial: 881001 (to eavesdrop on extension 1001)
or
Dial: *01001 (to eavesdrop on extension 1001)

Eavesdrop, cycle through channels

Allows you to cycle through active channels listening in on the calls.

eavesdrop usage instructions: Misc._Dialplan_Tools_eavesdrop

Dial: 779

Call Return

Call back the last number that called your extension.

Dial: *69 or 869 or lcr

del-group

^80(\d{2})$

add-group

^81(\d{2})$

call-group-simo

^82(\d{2})$

call-group-order

^83(\d{2})$

extension-intercom

^8(1[0-9]{3})$

Dial local extensions

The default dialplan creates extensions 1000 through 1019 which can be dialed directly.

Dial: 1000 to 1019

Call the sales group

The sample conf/directory/default.xml creates a call group named sales. Transferring a call to or dialing a group rings all the extensions in that group. Extension 2000 directs a call to the sales group.

Dial: 2000

Call the support group

The sample conf/directory/default.xml creates a call group named support. Transferring a call to or dialing a group rings all the extensions in that group. Extension 2000 directs a call to the support group.

Dial: 2001

Call the billing group

The sample conf/directory/default.xml creates a call group named sales. Transferring a call to or dialing a group rings all the extensions in that group. Extension 2000 directs a call to the sales group.

Dial: 2002

Dial the operator

The default dialplan defines an operator per domain. In multi-tenant (multi-domain) scenarios the operator could be defined per domain.

Dial: 0 (zero)

or

Dial: operator

Voicemail

Call the voicemail application.

Dial: vmain or 4000 or *98

Dial by SIP URI

Dial a SIP device by URI.

Dial: sip:user@domain.tld

Start a dynamic conference (narrowband audio)

8k conferences can be created on the fly just by calling into them. Extension range: 3000 to 3099.

Dial: 3000 to 3099

Start a dynamic conference (wideband audio)

Wideband (16k) conferences can be created on the fly just by calling into them. Extension range: 3100 to 3199.

Dial: 3100 to 3199

Start a dynamic conference (ultrawideband audio)

Ultra wideband (32k) conferences can be created on the fly just by calling into them. Extension range: 3200 to 3299.

Dial: 3200 to 3299

Start a dynamic conference (cd quality mono audio)

CD quality (48k) mono conferences can be created on the fly just by calling into them. Extension range: 3300 to 3399.

Dial: 3300 to 3399

FreeSWITCH public conference

Dial the freeswitch public conference via SIP.

Dial: 9888

You can also dial a 16k and 32k public conference at 91616 and 93232 respectively.

Note: I don't believe the different extensions dump into the same conference.

mad_boss_intercom

This extension will start a conference and invite a group. At anytime the participant can dial *2 to bridge directly to the boss. All other callers are then hung up on.

Dial: 0911

mad_boss_intercom

This extension will start a conference and invite a few of people. At anytime the participant can dial *2 to bridge directly to the boss. All other callers are then hung up on.

Dial: 0912

mad_boss

This extension will start a conference and invite several people upon entering.

Dial: 0913

Call the demo IVR

Call the Included Demo IVR.

Dial: 5000

dynamic_conference

^5001$

rtp_multicast_page

^pagegroup$|^7243$

Park a call in queue 5900

See Mod_fifo

Dial: 5900

Pick up a call from queue 5900

Mod_fifo

Dial: 5901

Pick up from valet parking

Valet park retrieval, works with valet_park extension below. Retrieve a valet parked call by dialing 6000 + park number + # See:Misc._Dialplan_Tools_valet_park

Dial: 6000 1 #

Park a call with valet parking

Valet park 6001-6099. Blind x-fer to 6001, 6002, etc. to valet park the call. Dial 6001, 6002, etc. to retrieve a call that is already valet parked. After call is retrieved, park extension is free for another call. See: Misc._Dialplan_Tools_valet_park

Dial: 6001

park

park\+(\d+)

unpark

parking

park

callpark

unpark

pickup

wait

^wait$

Receive a fax

Receive a fax to /tm/rxfax.tif Requires mod_spandsp

Dial: 9178

Transmit a fax

Transmit the document /tmp/txfax.tif as a fax. Requires mod_spandsp

Dial: 9179

ringback_180

^9180$

ringback_183_uk_ring

^9181$

ringback_183_music_ring

^9182$

ringback_post_answer_uk_ring

^9183$

ringback_post_answer_music

^9184$

ClueCon information

Speak to someone about ClueCon

Dial: 9191

show_info

Performs an info app and disconnects. Look on the console to see the output.

Dial: 9192

video_record

^9193$

video_playback

^9194$

Echo test, five second delay

Calls the echo test application. Audio sent from the caller is rerouted(echo'ed) back to the caller after a five second delay.

Dial: 9195

Echo test

Calls the echo test application. Audio sent from the caller is imediately rerouted(echo'ed) back to the caller.

Dial: 9196

tone_stream demo (milliwatt)

Uses tone_stream to play a continuous 1004hz tone.

Dial: 9197

tone_stream demo (tetris)

Uses tone_stream to play the tetris theme.

Dial: 9198

zrtp_enrollement ZRTP IS NOW DEPREICATED and will be removed out of the docs

^9787$

Listen to music on hold

Dial: 9664


The next three extensions are after the multiline WARNING in default.xml.

refer

${sip_refer_to}

ruri

^ruri$

7004

^7004$