From freeswitch, 7 Years ago, written in Plain Text.
- view diff
Embed
  1. - <include>
  2. - <gateway name="dinstar">
  3. - <!-- /// account username *required* ///
  4.   -->
  5.   <param name="username" value="1018" />
  6. - <!-- /// auth realm: *optional* same as gateway name, if blank ///
  7.   -->
  8.   <param name="realm" value="192.168.0.212" />
  9. - <!-- /// username to use in from: *optional* same as  username, if blank ///
  10.   -->
  11.   <param name="from-user" value="1018" />
  12. - <!-- /// domain to use in from: *optional* same as  realm, if blank ///
  13.   -->
  14. - <!-- <param name="from-domain" value="asterlink.com"/>
  15.   -->
  16. - <!-- /// account password *required* ///
  17.   -->
  18.   <param name="password" value="1234" />
  19. - <!-- /// extension for inbound calls: *optional* same as username, if blank ///
  20.   -->
  21. - <!-- <param name="extension" value="cluecon"/>
  22.   -->
  23. - <!-- /// proxy host: *optional* same as realm, if blank ///
  24.   -->
  25. - <!-- <param name="proxy" value="asterlink.com"/>
  26.   -->
  27. - <!-- /// send register to this proxy: *optional* same as proxy, if blank ///
  28.   -->
  29. - <!-- <param name="register-proxy" value="mysbc.com"/>
  30.   -->
  31. - <!-- /// expire in seconds: *optional* 3600, if blank ///
  32.   -->
  33. - <!-- <param name="expire-seconds" value="60"/>
  34.   -->
  35. - <!-- /// do not register ///
  36.   -->
  37.   <param name="register" value="false" />
  38. - <!--  which transport to use for register
  39.   -->
  40. - <!-- <param name="register-transport" value="udp"/>
  41.   -->
  42. - <!-- How many seconds before a retry when a failure or timeout occurs
  43.   -->
  44. - <!-- <param name="retry-seconds" value="30"/>
  45.   -->
  46. - <!-- Use the callerid of an inbound call in the from field on outbound calls via this gateway
  47.   -->
  48. - <!-- <param name="caller-id-in-from" value="false"/>
  49.   -->
  50. - <!-- extra sip params to send in the contact
  51.   -->
  52. - <!-- <param name="contact-params" value="tport=tcp"/>
  53.   -->
  54. - <!-- send an options ping every x seconds, failure will unregister and/or mark it down
  55.   -->
  56.   <param name="ping" value="25" />
  57.   </gateway>
  58.   </include>