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

Author: Andrew Mortensen <[email protected]>
Committer: Andrew Mortensen <[email protected]>
Date:   Wed Dec  5 16:22:47 2012 -0500

sca: add missing braces for CANCEL handling in sample config.

- t_check_trans() if-block for CANCEL had no braces, but needs them
  after addition of route(SCA) before t_relay of CANCEL.
- Reported by Robert Boisvert

---

 modules/sca/doc/sca.cfg |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/sca/doc/sca.cfg b/modules/sca/doc/sca.cfg
index e8b44ac..06cba00 100644
--- a/modules/sca/doc/sca.cfg
+++ b/modules/sca/doc/sca.cfg
@@ -152,9 +152,10 @@ request_route {
        # CANCEL processing
        if (is_method("CANCEL"))
        {
-               if (t_check_trans())
+               if (t_check_trans()) {
                        route(SCA);
                        t_relay();
+               }
                exit;
        }
 


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to