Browse Source

core/selects: handle URN_URI_T

Daniel-Constantin Mierla 13 years ago
parent
commit
9c9e5a330d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      select_core.c

+ 2 - 0
select_core.c

@@ -921,6 +921,7 @@ int select_uri_hostport(str* res, select_t* s, struct sip_msg* msg)
 			break;
 		case SIP_URI_T:
 		case TEL_URI_T:
+		case URN_URI_T:
 			strncpy(p+select_uri_p->host.len, ":5060", 5);
 			break;
 		case ERROR_URI_T:
@@ -949,6 +950,7 @@ int select_uri_proto(str* res, select_t* s, struct sip_msg* msg)
 				break;
 			case SIP_URI_T:
 			case TEL_URI_T:
+			case URN_URI_T:
 				proto_type_to_str(PROTO_UDP, res);
 				break;
 			case ERROR_URI_T: