Explorar o código

core/selects: handle URN_URI_T

Daniel-Constantin Mierla %!s(int64=13) %!d(string=hai) anos
pai
achega
9c9e5a330d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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: