|
@@ -63,19 +63,19 @@ route{
|
|
|
# };
|
|
|
#};
|
|
|
|
|
|
- #if ( !rewriteFromRoute() )
|
|
|
- #{
|
|
|
+ if ( !rewriteFromRoute() )
|
|
|
+ {
|
|
|
log( " SER : no route found!\n");
|
|
|
- # if ( method=="INVITE" )
|
|
|
- # {
|
|
|
- #log ("SER : INVITE found - > adding RecordRoute!\n");
|
|
|
- #addRecordRoute();
|
|
|
- #};
|
|
|
- #}
|
|
|
- #else
|
|
|
- #{
|
|
|
- # log( "SER : ROUTE found! \n");
|
|
|
- #};
|
|
|
+ if ( method=="INVITE" )
|
|
|
+ {
|
|
|
+ log ("SER : INVITE found - > adding RecordRoute!\n");
|
|
|
+ addRecordRoute();
|
|
|
+ };
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ log( "SER : ROUTE found! \n");
|
|
|
+ };
|
|
|
|
|
|
t_relay();
|
|
|
}
|