freeswitch/conf/directory.xml
2007-10-17 16:44:57 +00:00

86 lines
3.6 KiB
XML

<!--the domain or ip (the right hand side of the @ in the addr-->
<domain name="$${domain}">
<!--the user id (the left hand side of the @ in the addr-->
<user id="stpeter" mailbox="1000"> <!--if id is numeric mailbox param is not necessary-->
<!-- Outbound Registrations Related to this user -->
<gateways>
<!--<gateway name="asterlink.com">-->
<!--/// account username *required* ///-->
<!--<param name="username" value="cluecon"/>-->
<!--/// auth realm: *optional* same as gateway name, if blank ///-->
<!--<param name="realm" value="asterlink.com"/>-->
<!--/// domain to use in from: *optional* same as realm, if blank ///-->
<!--<param name="from-domain" value="asterlink.com"/>-->
<!--/// account password *required* ///-->
<!--<param name="password" value="2007"/>-->
<!--/// replace the INVITE from user with the channel's caller-id ///-->
<!--<param name="caller-id-in-from" value="false"/>-->
<!--/// extension for inbound calls: *optional* same as username, if blank ///-->
<!--<param name="extension" value="cluecon"/>-->
<!--/// proxy host: *optional* same as realm, if blank ///-->
<!--<param name="proxy" value="asterlink.com"/>-->
<!--/// send register to this proxy: *optional* same as proxy, if blank ///-->
<!--<param name="register-proxy" value="mysbc.com"/>-->
<!--/// expire in seconds: *optional* 3600, if blank ///-->
<!--<param name="expire-seconds" value="60"/>-->
<!--/// do not register ///-->
<!--<param name="register" value="false"/>-->
<!--How many seconds before a retry when a failure or timeout occurs -->
<!--<param name="retry_seconds" value="30"/>-->
<!--Use the callerid of an inbound call in the from field on outbound calls via this gateway -->
<!--<param name="caller-id-in-from" value="false"/>-->
<!--</gateway>-->
</gateways>
<params>
<!-- omit password for authless registration -->
<param name="password" value="mypass"/>
<param name="vm-password" value="1234"/><!--if vm-password is omitted password param is used-->
<!--<param name="vm-mailto" value="me@mydomain.com"/>-->
<!--<param name="vm-email-all-messages" value="true"/>-->
<!-- optionally use this instead if you want to store the hash of user:domain:pass-->
<!--<param name="a1-hash" value="c6440e5de50b403206989679159de89a"/>-->
</params>
<variables>
<!--all variables here will be set on all inbound calls that originate from this user -->
<variable name="testing" value="this"/>
<!--<variable name="force-contact" value="nat-connectile-dysfunction"/>-->
</variables>
<vcard>
<!-- insert optional compliant vcard xml here-->
</vcard>
<!-- this is an example of a user with auth and various settings -->
<user id="1000" mailbox="1000">
<params>
<param name="password" value="mypass"/>
<param name="vm-password" value="1234"/>
<!--<param name="vm-mailto" value="me@mydomain.com"/>-->
<!--<param name="vm-email-all-messages" value="true"/>-->
</params>
</user>
<!-- authless users and mailboxes -->
<user id="1001"/>
<user id="1002"/>
<user id="1003"/>
<user id="1004"/>
<user id="1005"/>
<user id="1006"/>
<user id="1007"/>
<user id="1008"/>
<user id="1009"/>
<user id="1010"/>
<user id="1011"/>
<user id="1012"/>
<user id="1013"/>
<user id="1014"/>
<user id="1015"/>
<user id="1016"/>
<user id="1017"/>
<user id="1018"/>
<user id="1019"/>
</user>
</domain>