brian.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <include>
  2. <!-- ipauth if you have an ip= in the user attributes ie ip="1.2.3.4" -->
  3. <!-- <user id="brian" ip="1.2.3.4"> -->
  4. <user id="brian" mailbox="9999" cidr="1.2.3.4/24">
  5. <!-- Outbound Registrations Related to this user -->
  6. <gateways>
  7. <!--<gateway name="asterlink.com">-->
  8. <!--/// account username *required* ///-->
  9. <!--<param name="username" value="cluecon"/>-->
  10. <!--/// auth realm: *optional* same as gateway name, if blank ///-->
  11. <!--<param name="realm" value="asterlink.com"/>-->
  12. <!--/// username to use in from: *optional* same as username, if blank ///-->
  13. <!--<param name="from-user" value="cluecon"/>-->
  14. <!--/// domain to use in from: *optional* same as realm, if blank ///-->
  15. <!--<param name="from-domain" value="asterlink.com"/>-->
  16. <!--/// account password *required* ///-->
  17. <!--<param name="password" value="2007"/>-->
  18. <!--/// replace the INVITE from user with the channel's caller-id ///-->
  19. <!--<param name="caller-id-in-from" value="false"/>-->
  20. <!--/// extension for inbound calls: *optional* same as username, if blank ///-->
  21. <!--<param name="extension" value="cluecon"/>-->
  22. <!--/// proxy host: *optional* same as realm, if blank ///-->
  23. <!--<param name="proxy" value="asterlink.com"/>-->
  24. <!--/// send register to this proxy: *optional* same as proxy, if blank ///-->
  25. <!--<param name="register-proxy" value="mysbc.com"/>-->
  26. <!--/// expire in seconds: *optional* 3600, if blank ///-->
  27. <!--<param name="expire-seconds" value="60"/>-->
  28. <!--/// do not register ///-->
  29. <!--<param name="register" value="false"/>-->
  30. <!-- which transport to use for register -->
  31. <!--<param name="register-transport" value="udp"/>-->
  32. <!--How many seconds before a retry when a failure or timeout occurs -->
  33. <!--<param name="retry-seconds" value="30"/>-->
  34. <!--Use the callerid of an inbound call in the from field on outbound calls via this gateway -->
  35. <!--<param name="caller-id-in-from" value="false"/>-->
  36. <!--extra sip params to send in the contact-->
  37. <!--<param name="contact-params" value=""/>-->
  38. <!--send an options ping every x seconds, failure will unregister and/or mark it down-->
  39. <!--<param name="ping" value="25"/>-->
  40. <!--</gateway>-->
  41. </gateways>
  42. <params>
  43. <!-- omit password for authless registration -->
  44. <param name="password" value="1234"/>
  45. <param name="vm-password" value="1234"/><!--if vm-password is omitted password param is used-->
  46. <!--<param name="email-addr" value="me@mydomain.com"/>-->
  47. <!--<param name="vm-delete-file" value="true"/>-->
  48. <!--<param name="vm-attach-file" value="true"/>-->
  49. <!--<param name="vm-mailto" value="me@mydomain.com"/>-->
  50. <!--<param name="vm-email-all-messages" value="true"/>-->
  51. <!-- optionally use this instead if you want to store the hash of user:domain:pass-->
  52. <!--<param name="a1-hash" value="c6440e5de50b403206989679159de89a"/>-->
  53. <!-- What this user is allowed to acces -->
  54. <!--<param name="http-allowed-api" value="jsapi,voicemail,status"/> -->
  55. </params>
  56. <variables>
  57. <!--all variables here will be set on all inbound calls that originate from this user -->
  58. <variable name="user_context" value="default"/>
  59. <variable name="effective_caller_id_name" value="Brian West"/>
  60. <variable name="effective_caller_id_number" value="1000"/>
  61. <!-- Don't write a CDR if this is false valid values are: true, false, a_leg and b_leg -->
  62. <variable name="process_cdr" value="true"/>
  63. <!-- rtp_secure_media will offer mandatory SRTP on invite AES_CM_128_HMAC_SHA1_32, AES_CM_128_HMAC_SHA1_80 or true-->
  64. <variable name="rtp_secure_media" value="true"/>
  65. <!-- limit the max number of outgoing calls for this user -->
  66. <!--<variable name="max_calls" value="2"/>-->
  67. <!-- send presence information if FS is configured to do so -->
  68. <!--<variable name="presence_id" value="1000@$${domain}"/>-->
  69. <!-- set these to take advantage of a dialplan localized to this user -->
  70. <!--<variable name="numbering_plan" value="US"/>-->
  71. <!--<variable name="default_area_code" value="434"/>-->
  72. <!--<variable name="default_gateway" value="asterlink.com"/>-->
  73. <!--
  74. NDLB-connectile-dysfunction - Rewrite contact ip and port
  75. NDLB-tls-connectile-dysfunction - Rewrite contact port only.
  76. -->
  77. <!--<variable name="sip-force-contact" value="NDLB-connectile-dysfunction"/>-->
  78. <!--<variable name="sip-force-expires" value="10"/>-->
  79. <!--<variable name="sip-register-gateway" value="cluecon.com"/>-->
  80. <!-- Set the file format for a specific user -->
  81. <!--<variable name="vm_message_ext" value="mp3"/> -->
  82. </variables>
  83. <vcard>
  84. <!-- insert optional compliant vcard xml here-->
  85. </vcard>
  86. </user>
  87. </include>