Hey Juha,<br><br>you need to increase the size for your pvars. You will prob also need to increase the TCP read buffer size. For example,<br><br>pv_buffer_size=8192<br>tcp_rd_buf_size=8192<br><br>cheers<br>Jason<br><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Nov 12, 2012 at 2:11 AM, Juha Heinanen <span dir="ltr"><<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
i got the these error messages when my xcap server tried to serve 'GET<br>
xcap-caps' request:<br>
<br>
Nov 12 02:01:31 sip /usr/sbin/pres-serv[30613]: INFO: XCAP service GET <xcap-caps><br>
Nov 12 02:01:31 sip /usr/sbin/pres-serv[30613]: ERROR: <core> [pvapi.c:1305]: no more space for spec value<br>
Nov 12 02:01:31 sip /usr/sbin/pres-serv[30613]: ERROR: <core> [pvapi.c:1314]: buffer overflow -- increase the buffer size...<br>
Nov 12 02:01:31 sip /usr/sbin/pres-serv[30613]: ERROR: <core> [sr_module.c:1665]: Could not convert the PV-formated string to str<br>
Nov 12 02:01:31 sip /usr/sbin/pres-serv[30613]: ERROR: xhttp [xhttp_mod.c:461]: unable to get body<br>
<br>
config code where this comes is this:<br>
<br>
xlog("L_INFO", "XCAP service $rm <$xcapuri(u=>auid)>\n");<br>
$var(xbody) =<br>
"<?xml version='1.0' encoding='UTF-8'?><br>
<xcap-caps xmlns='urn:ietf:params:xml:ns:xcap-caps'><br>
<auids><br>
<auid>rls-services</auid><br>
<auid>pidf-manipulation</auid><br>
<auid>xcap-caps</auid><br>
<auid>resource-lists</auid><br>
<auid>pres-rules</auid><br>
<auid>org.openmobilealliance.pres-rules</auid><br>
<auid>org.openmobilealliance.user-profile</auid><br>
<auid>org.openmobilealliance.pres-content</auid><br>
<auid>org.openmobilealliance.search</auid><br>
<auid>org.openmobilealliance.xcap-directory</auid><br>
</auids><br>
<extensions><br>
</extensions><br>
<namespaces><br>
<namespace>urn:ietf:params:xml:ns:rls-services</namespace><br>
<namespace>urn:ietf:params:xml:ns:pidf</namespace><br>
<namespace>urn:ietf:params:xml:ns:xcap-caps</namespace><br>
<namespace>urn:ietf:params:xml:ns:resource-lists</namespace><br>
<namespace>urn:ietf:params:xml:ns:pres-rules</namespace><br>
<namespace>urn:oma:xml:xdm:user-profile</namespace><br>
<namespace>urn:oma:xml:prs:pres-content</namespace><br>
<namespace>urn:oma:xml:xdm:search</namespace><br>
<namespace>urn:oma:xml:xdm:xcap-directory</namespace><br>
</namespaces><br>
</xcap-caps>";<br>
xhttp_reply("200", "OK", "application/xcap-caps+xml",<br>
"$var(xbody)");<br>
<br>
i have not checked yet, which buffer should be increased, but would it<br>
be a good idea to make the default bigger?<br>
<br>
-- juha<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Jason Penton<br>Senior Manager: Applications and Services<br>Smile Communications<br>Johannesburg, South Africa<br>Phone: <a value="+27834427179">+27 83 283 7000<br></a><br>
</div>
<pre>This email is subject to the disclaimer of Smile Communications (PTY) Ltd. at http://www.smilecoms.com/disclaimer