浏览代码

modules/carrierroute Improved documentation of carrierroute reply_code field

The documentation didn't make it clear that regex are _not_ supported.
Thanks go to Iñaki Baz Castillo for reporting.
Marius Zbihlei 15 年之前
父节点
当前提交
cfc11b8892
共有 2 个文件被更改,包括 11 次插入8 次删除
  1. 8 6
      modules/carrierroute/README
  2. 3 2
      modules/carrierroute/doc/carrierroute_admin.xml

+ 8 - 6
modules/carrierroute/README

@@ -976,12 +976,14 @@ domain register {
    for example that indicates that ringing has happened. If this flag is
    set, there will be no further forwarding, because next_domain is empty.
    In the second and third routes are certain gateway errors matched, if
-   this errors have occured, then the next domain will be choosen. The
-   last route does forwarding according some flags, e.g. the customer came
-   from a certain carrier, and has call-forwarding deactivated. In order
-   to use the routing that is specified above, a matching carrierroute
-   table must be provided, that holds domain entries for this routing
-   rules. Not all table colums are show here for brevity.
+   this errors have occured, then the next domain will be choosen. Note
+   that the reply_code must be 3 characters wide, and only the "."
+   character is accepted as wildcard.The last route does forwarding
+   according some flags, e.g. the customer came from a certain carrier,
+   and has call-forwarding deactivated. In order to use the routing that
+   is specified above, a matching carrierroute table must be provided,
+   that holds domain entries for this routing rules. Not all table colums
+   are show here for brevity.
 
    Example 1.23. Example database content - carrier_name table
 ...

+ 3 - 2
modules/carrierroute/doc/carrierroute_admin.xml

@@ -1083,8 +1083,9 @@ domain register {
 			for example that indicates that ringing has happened. If this flag is set,
 			there will be no further forwarding, because next_domain is empty. In the
 			second and third routes are certain gateway errors matched, if this errors
-			have occured, then the next domain will be choosen. The last route does
-			forwarding according some flags, e.g. the customer came from a certain carrier,
+			have occured, then the next domain will be choosen. Note that the reply_code must be
+			3 characters wide, and only the "." character is accepted as wildcard.The last route
+			does forwarding according some flags, e.g. the customer came from a certain carrier,
 			and has call-forwarding deactivated. In order to use the routing that is
 			specified above, a matching carrierroute table must be provided, that holds
 			domain entries for this routing rules. Not all table colums are show here for