Module: kamailio
Branch: master
Commit: 11bcc8066ce856cabfc95949b65712d891976194
URL:
https://github.com/kamailio/kamailio/commit/11bcc8066ce856cabfc95949b65712d…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-06-29T10:25:14+02:00
core: clean previous routename in order to get the correct default_routename
fix c44685cbcefb8f6ecfa6f11369699906db832c39
---
Modified: cfg.y
---
Diff:
https://github.com/kamailio/kamailio/commit/11bcc8066ce856cabfc95949b65712d…
Patch:
https://github.com/kamailio/kamailio/commit/11bcc8066ce856cabfc95949b65712d…
---
diff --git a/cfg.y b/cfg.y
index 85e69a6..154cb44 100644
--- a/cfg.y
+++ b/cfg.y
@@ -1778,8 +1778,8 @@ route_name: NUMBER {
;
-route_main: ROUTE { ; }
- | ROUTE_REQUEST { ; }
+route_main: ROUTE { routename=NULL; }
+ | ROUTE_REQUEST { routename=NULL; }
;
route_stm:
@@ -1845,8 +1845,8 @@ failure_route_stm:
;
-route_reply_main: ROUTE_ONREPLY { ; }
- | ROUTE_REPLY { ; }
+route_reply_main: ROUTE_ONREPLY { routename=NULL; }
+ | ROUTE_REPLY { routename=NULL; }
;