-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathswitchops.xml
More file actions
29 lines (26 loc) · 1.02 KB
/
switchops.xml
File metadata and controls
29 lines (26 loc) · 1.02 KB
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
27
28
29
<?xml version="1.0" encoding="utf-8"?>
<voicemail xmlns="http://www.innovaphone.com/xsd/vm.xsd">
<function define="Main">
<pbx-getcallinfo
out-cgpn="$cgpn"
out-cdpn="$cdpn"
out-leg2="$leg2"
out-leg2-name="$leg2-name"
out-leg2-orig="$leg2-orig"
out-leg2-orig-name="$leg2-orig-name"
out-leg2-info="$leg2-info"
out-leg2-count="$leg2-count"
out-h323="$h323"
out-leg2-reason="leg2-reason"
out-confid="$confid"
out-calling-name="$calling-name"
/>
<dbg string="call diverting name:"/>
<dbg string="$leg2-name"/>
<lib-enc out-string="$leg2-name-enc" string="$leg2-name" type="url"/>
<lib-strcat out-string="$url" string="http://1.2.3.4/doorcontrol/DoorControl.php?switchapp=1&h323=" string2="$leg2-name-enc"/>
<dbg string="$url"/>
<!-- send switch to video app to phone -->
<exec url="$url"/>
</function>
</voicemail>