فهرست منبع

Changes to documentation of carrierroute module:
changed cr_route usage in example as it didn't matched the actual interface
by removing the crc32 parameter.

Marius Zbihlei 16 سال پیش
والد
کامیت
18a91e776b
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 2 2
      modules/carrierroute/README
  2. 2 2
      modules/carrierroute/doc/carrierroute_admin.xml

+ 2 - 2
modules/carrierroute/README

@@ -807,7 +807,7 @@ route {
         # route calls based on hash over callid
         # choose route domain 0 of the default carrier
 
-        if(!cr_route("default", "0", "$rU", "$rU", "call_id", "crc32")){
+        if(!cr_route("default", "0", "$rU", "$rU", "call_id")){
                 sl_send_reply("403", "Not allowed");
         } else {
                 # In case of failure, re-route the request
@@ -821,7 +821,7 @@ failure_route[1] {
         # In case of failure, send it to an alternative route:
         if (t_check_status("408|5[0-9][0-9]")) {
                 #choose route domain 1 of the default carrier
-        if(!cr_route("default", "1", "$rU", "$rU", "call_id", "crc32")){
+        if(!cr_route("default", "1", "$rU", "$rU", "call_id")){
                         t_reply("403", "Not allowed");
                 } else {
                         t_on_failure("2");

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

@@ -909,7 +909,7 @@ route {
 	# route calls based on hash over callid
 	# choose route domain 0 of the default carrier
 	
-	if(!cr_route("default", "0", "$rU", "$rU", "call_id", "crc32")){
+	if(!cr_route("default", "0", "$rU", "$rU", "call_id")){
 		sl_send_reply("403", "Not allowed");
 	} else {
 		# In case of failure, re-route the request
@@ -923,7 +923,7 @@ failure_route[1] {
 	# In case of failure, send it to an alternative route:
 	if (t_check_status("408|5[0-9][0-9]")) {
 		#choose route domain 1 of the default carrier
-	if(!cr_route("default", "1", "$rU", "$rU", "call_id", "crc32")){
+	if(!cr_route("default", "1", "$rU", "$rU", "call_id")){
 			t_reply("403", "Not allowed");
 		} else {
 			t_on_failure("2");