/etc/sipwitch.d/lab.xml-example is in sipwitch 1.6.1-2build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | <!-- Here is a provisioning node for a group of users. We might do a
provisioning node per user, and have an external program manage each
user's data, or we might collect a group of user entries together like
we do here.
-->
<provision>
<!-- Physical softphone units in lab -->
<!-- Note displayname includes display + uri ext # by default -->
<user id="tycho1">
<secret>xxx</secret>
<extension>201</extension>
<display>Tycho</display>
<!-- Here we have an example of optional call forwarding entries -->
<forwarding>
<na>no-answer-target (often voicemail ext#)</na>
<busy>busy-target (often voicemail ext#)</busy>
<dnd>do-not-disturb-target</dnd>
<away>away-target (uses simple status)</away>
</forwarding>
</user>
<user id="tycho2">
<secret>xxx</secret>
<extension>202</extension>
<display>Tycho 202</display>
</user>
<user id="tycho3">
<secret>xxx</secret>
<extension>203</extension>
<display>Tycho 203</display>
</user>
<!-- Used to dock testing apps/softphones "multi-docked" -->
<user id="testing">
<!-- sipdigest for testing for realm = "GNU Telephony", secret = "xxx" -->
<digest>92528744b1fbef79095af90584dedaca</digest>
<extension>210</extension>
<display>Testing</display>
</user>
<!-- Used to serially test individual desktop softphones... -->
<!-- Note; because there is no display, will be ext# from user=phone -->
<user id="user1">
<secret>xxx</secret>
<extension>211</extension>
</user>
<user id="user2">
<secret>xxx</secret>
<extension>212</extension>
</user>
<user id="user3">
<secret>xxx</secret>
<extension>213</extension>
</user>
<user id="user4">
<secret>xxx</secret>
<extension>214</extension>
</user>
<user id="user5">
<secret>xxx</secret>
<extension>215</extension>
</user>
</provision>
|