[sr-dev] git:master: Changes to documentation of carrierroute module:

Marius Zbihlei marius.zbihlei at 1and1.ro
Tue Oct 6 11:43:52 CEST 2009


Module: sip-router
Branch: master
Commit: 18a91e776b9a99de46eb637caee860c0bcd6b117
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=18a91e776b9a99de46eb637caee860c0bcd6b117

Author: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Date:   Tue Oct  6 12:41:59 2009 +0300

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.

---

 modules/carrierroute/README                     |    4 ++--
 modules/carrierroute/doc/carrierroute_admin.xml |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/carrierroute/README b/modules/carrierroute/README
index f88c364..c1fd369 100644
--- a/modules/carrierroute/README
+++ b/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");
diff --git a/modules/carrierroute/doc/carrierroute_admin.xml b/modules/carrierroute/doc/carrierroute_admin.xml
index 47c5fb1..cf0f29c 100644
--- a/modules/carrierroute/doc/carrierroute_admin.xml
+++ b/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");




More information about the sr-dev mailing list