tirpi 2009/03/10 17:26:37 CET
SER CVS Repository
Modified files:
. action.c route_struct.h cfg.lex cfg.y
parser parse_uri.c parse_uri.h
Log:
Strip, prefix, rewriteuser, ... all the SET_* actions preserve the
original URI scheme unless the host name is rewritten. If the host name
is set, then tel: and tels: URIs are converted to sip: or sips:, and the
user=phone parameter is added.
A script function, userphone(), is introduced: It adds the "user=phone"
parameter to a sip: or sips: RURI if the param is not yet present.
(Does not change tel: and tels: URIs).
(Patch has been created with cooperation with Michal Matyska.)
Fixes SER-435.
Revision Changes Path
1.99 +116 -15 sip_router/action.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/action.c.diff?r1=1.98&r2=1.99
1.120 +5 -1 sip_router/cfg.lex
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/cfg.lex.diff?r1=1.119&r2=1.120
1.174 +5 -1 sip_router/cfg.y
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/cfg.y.diff?r1=1.173&r2=1.174
1.28 +5 -5 sip_router/parser/parse_uri.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/parser/parse_uri.c.diff?r1=1.27&r2=1.28
1.10 +2 -1 sip_router/parser/parse_uri.h
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/parser/parse_uri.h.diff?r1=1.9&r2=1.10
1.45 +2 -2 sip_router/route_struct.h
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/route_struct.h.diff?r1=1.44&r2=1.45
_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev