motif.conf 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. ; Sample configuration file for chan_motif
  2. ; Transports
  3. ;
  4. ; There are three different transports and protocol derivatives supported by chan_motif. They are in order of preference:
  5. ; Jingle using ICE-UDP, Google Jingle, and Google-V1.
  6. ;
  7. ; Jingle as defined in XEP-0166 supports the widest range of features. It is referred to as "ice-udp" in this file. This is
  8. ; the specification that Jingle clients implement.
  9. ;
  10. ; Google Jingle follows the Jingle specification for signaling but uses a custom transport for media. It is supported
  11. ; by the Google Talk Plug-in in Gmail and by some other Jingle clients. It is referred to as "google" in this file.
  12. ;
  13. ; Google-V1 is the original Google Talk signaling protocol which uses an initial preliminary version of Jingle.
  14. ; It also uses the same custom transport as Google Jingle for media. It is supported by Google Voice, some other Jingle
  15. ; clients, and the Windows Google Talk client. It is referred to as "google-v1" in this file.
  16. ;
  17. ; Incoming sessions will automatically switch to the correct transport once it has been determined.
  18. ;
  19. ; Outgoing sessions are capable of determining if the target is capable of Jingle or a Google transport if the target is
  20. ; in the roster. Unfortunately it is not possible to differentiate between a Google Jingle or Google-V1 capable resource
  21. ; until a session initiate attempt occurs. If a resource is determined to use a Google transport it will initially use
  22. ; Google Jingle but will fall back to Google-V1 if required.
  23. ;
  24. ; If an outgoing session attempt fails due to failure to support the given transport chan_motif will fall back in preference
  25. ; order listed at the beginning of this document until all transports have been exhausted.
  26. ;
  27. ; Dialing and Resource Selection Strategy
  28. ;
  29. ; Placing a call through an endpoint can be accomplished using the following dial string:
  30. ;
  31. ; Motif/<endpoint name>/<target>
  32. ;
  33. ; When placing an outgoing call through an endpoint the requested target is searched for in the roster list. If present
  34. ; the first Jingle or Google Jingle capable resource is specifically targetted. Since the capabilities of the resource are
  35. ; known the outgoing session initation will disregard the configured transport and use the determined one.
  36. ;
  37. ; If the target is not found in the roster the target will be used as-is and a session will be initiated using the
  38. ; transport specified in this configuration file. If no transport has been specified the endpoint defaults to ice-udp.
  39. ;
  40. ; Video Support
  41. ;
  42. ; Support for video does not need to be explicitly enabled. Configuring any video codec on your endpoint will
  43. ; automatically enable it.
  44. ; DTMF
  45. ;
  46. ; The only supported method for DTMF is RFC2833. This is always enabled on audio streams and negotiated if possible.
  47. ; Incoming Calls
  48. ;
  49. ; Incoming calls will first look for the extension matching the name of the endpoint in the configured context. If
  50. ; no such extension exists the call will automatically fall back to the "s" extension.
  51. ; CallerID
  52. ;
  53. ; The incoming caller id number is populated with the username of the caller and the name is populated with the full
  54. ; identity of the caller. If you would like to perform authentication or filtering of incoming calls it is recommended
  55. ; that you use these fields to do so.
  56. ;
  57. ; Outgoing caller id can *not* be set.
  58. ;
  59. ; IMPORTANT: Multiple endpoints using the same connection is *NOT* supported. Doing so may result in broken calls.
  60. ; Default template for endpoints, to be included in their definition
  61. [default](!)
  62. disallow=all
  63. allow=ulaw
  64. allow=h264
  65. context=incoming-motif ; Default context that incoming sessions will land in
  66. ;maxicecandidates = 10 ; Maximum number of ICE candidates we will offer
  67. ;maxpayloads = 30 ; Maximum number of payloads we will offer
  68. ; Sample configuration entry for Jingle
  69. ;[jingle-endpoint](default)
  70. ;transport=ice-udp ; Change the default protocol of outgoing sessions to Jingle ICE-UDP
  71. ;allow=g722 ; Add G.722 as an allowed format since the other side may support it
  72. ;connection=local-jabber-account ; Connection to accept traffic on and send traffic out
  73. ;accountcode=jingle ; Account code for CDR purposes
  74. ; Sample configuration entry for Google Talk
  75. [gtalk-endpoint](default)
  76. ;transport=google ; Since this is a Google Talk endpoint we want to offer Google Jingle for outgoing sessions
  77. ;connection=gtalk-account
  78. ; Sample configuration entry for Google Voice
  79. ;[gvoice](default)
  80. ;transport=google-v1 ; Google Voice uses the original Google Talk protocol
  81. ;connection=gvoice-account
  82. ; Additional options
  83. ; callgroup
  84. ; pickupgroup
  85. ; language
  86. ; musicclass
  87. ; parkinglot