Browse code

core/selects: handle URN_URI_T

Daniel-Constantin Mierla authored on 08/02/2012 09:22:49
Showing 1 changed files
... ...
@@ -921,6 +921,7 @@ int select_uri_hostport(str* res, select_t* s, struct sip_msg* msg)
921 921
 			break;
922 922
 		case SIP_URI_T:
923 923
 		case TEL_URI_T:
924
+		case URN_URI_T:
924 925
 			strncpy(p+select_uri_p->host.len, ":5060", 5);
925 926
 			break;
926 927
 		case ERROR_URI_T:
... ...
@@ -949,6 +950,7 @@ int select_uri_proto(str* res, select_t* s, struct sip_msg* msg)
949 950
 				break;
950 951
 			case SIP_URI_T:
951 952
 			case TEL_URI_T:
953
+			case URN_URI_T:
952 954
 				proto_type_to_str(PROTO_UDP, res);
953 955
 				break;
954 956
 			case ERROR_URI_T: