-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path99_default_siprecepta_dialplan.xml
26 lines (24 loc) · 1.16 KB
/
99_default_siprecepta_dialplan.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!-- put this file inside /etc/freeswitch/dialplan/default/ -->
<include>
<extension name="default_siprecepta">
<condition field="destination_number" expression="^(\d{9})$">
<action application="export" data="dialed_extension=$1"/>
<action application="set" data="call_timeout=60"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="set" data="transfer_ringback=$${hold_music}"/>
<action application="bridge" data="user/${dialed_extension}@${domain_name}"/>
</condition>
</extension>
</include>
<include>
<extension name="default_siprecepta_internal">
<condition field="destination_number" expression="^(112233)$">
<action application="set" data="domain_name=$${domain}"/>
<action application="set" data="conference_mapper_uri=https://mydomain.com/path?pin={pin}"/>
<action application="set" data="component_selector_url=https://mydomain.com/path"/>
<action application="set" data="component_selector_verify=true"/>
<action application="set" data="component_selector_token="/>
<action application="python" data="nordeck.siprecepta"/>
</condition>
</extension>
</include>