Hi,
My rpmbuilds are failing with these errors:
make[3]: *** No rule to make target
`/home/peter.dunkley/rpmbuild/BUILDROOT/kamailio-3.4.0-dev4.fc17.x86_64/usr/share/man//man8', needed by `install-util-man'. Stop.
make[2]: ***
[/home/peter.dunkley/rpmbuild/BUILDROOT/kamailio-3.4.0-dev4.fc17.x86_64/usr/sbin//kamcmd] Error 2
ERROR: make --no-print-directory -C ../../utils/sercmd install-if-newer
failed
make[1]: *** [install-utils] Error 1
make: *** [install-modules] Error 1
I'm not a make guru, so after taking a quick look, I can't see what the
problem is.
Regards,
Peter
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
Hi,
MSRP AUTH requests must be authenticated using HTTP Digest
authentication. Part of the concatenated data when doing this
authentication is the method name. Because of the way MSRP requests are
formatted, the part of the request-line that would contain the method
name in HTTP or SIP requests is always MSRP. The MSRP method name (AUTH
in this case) is at the end of the request-line. When Kamailio converts
an MSRP request to SIP it has a method name of MSRP.
This means that when Kamailio authenticates an MSRP request it uses
"MSRP" as the method name, not the actual MSRP method name (AUTH).
Is this correct?
Should MSRP requests be authenticated with a method name of
"MSRP" (which kind-of makes sense as this is the string at the start of
the MSRP request line - which is where the method names are in HTTP and
SIP) or should the MSRP method name of "AUTH" be used?
If it is the later, does anyone know of an easy way to add this to
Kamailio?
Regards,
Peter
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
Module: sip-router
Branch: master
Commit: 6b9e4fcc176e3141f25c74f17f599b88d30f8ff9
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6b9e4fc…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Thu Oct 25 21:09:40 2012 +0100
modules/msrp: Better fix for the relay problem
---
modules/msrp/msrp_netio.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/modules/msrp/msrp_netio.c b/modules/msrp/msrp_netio.c
index ba8e884..f9acca1 100644
--- a/modules/msrp/msrp_netio.c
+++ b/modules/msrp/msrp_netio.c
@@ -113,8 +113,6 @@ int msrp_relay(msrp_frame_t *mf)
memcpy(p, fpath->name.s + 11, mf->buf.s + mf->buf.len - fpath->name.s - 11);
p += mf->buf.s + mf->buf.len - fpath->name.s - 11;
- sar = (str_array_t*)tpath->parsed.data;
-
env = msrp_get_env();
if(env->envflags&MSRP_ENV_DSTINFO)
{
@@ -126,6 +124,7 @@ int msrp_relay(msrp_frame_t *mf)
LM_ERR("error parsing To-Path header\n");
return -1;
}
+ sar = (str_array_t*)tpath->parsed.data;
if(sar==NULL || sar->size<2)
{
LM_DBG("To-Path has no next hop URI -- nowehere to forward\n");
@@ -138,10 +137,8 @@ int msrp_relay(msrp_frame_t *mf)
}
dst = &env->dstinfo;
done:
- if (sar->size == 2)
+ if (dst->send_flags.f & SND_F_FORCE_CON_REUSE)
{
- /* If the next hop is a client a connection must already
- exist... */
port = su_getport(&dst->to);
if (likely(port))
{
@@ -179,7 +176,6 @@ done:
return -1;
}
}
- /* If the next hop is a relay just throw it out there... */
else if (tcp_send(dst, 0, reqbuf, p - reqbuf) < 0) {
LM_ERR("forwarding frame failed\n");
return -1;
Hi,
When adding the oma.xcap-directory auid support to xcap_server I
couldn't get the following bit of code (in
xcap_server.c:xcaps_get_directory()) to work:
while (hdr != NULL)
{
if (cmp_hdrname_strzn(&hdr->name, "Host", 4) == 0)
{
server_name = hdr->body;
break;
}
hdr = hdr->next;
}
The host header was never found. However, simply putting
'xdbg("$hdr(Host)\n");' in event_route[xhttp:request] made it start
working.
Have I missed something in the code, or is this a bug?
Regards,
Peter
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd