Module: sip-router
Branch: master
Commit: 9c9e5a330ddd6be06087af4e2ed2a6d9262f4593
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9c9e5a3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Feb 8 10:22:49 2012 +0100
core/selects: handle URN_URI_T
---
select_core.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/select_core.c b/select_core.c
index 42f6aff..ea9d5a1 100644
--- a/select_core.c
+++ b/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: