<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt;color:#000000;"><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Hello,</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; ">We want to extend our solution for audio streaming with SIP SIMPLE Presence and IM, in order to do this we have installed OpenSIPs, MediaRelay, MSRPRelay, OpenXCAP and related packages.</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; ">The target is to have a XCAP server communicating with OpenSIPs through database (second scenario from <span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><a
href="http://www.opensips.org/Resources/PresenceServer#ps_architecture">http://www.opensips.org/Resources/PresenceServer#ps_architecture</a></span>) and we setup a script for OpenSIPs as we found in OpenXCAP configuration guide (of course we updated) , we added only handling of REGISTER method.</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; ">The REGISTER method works well, the Blink client is updated, but the SUBSCRIBE doesn't work, we receive the following in the Blink log:</div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">2011-06-15 12:32:38.563000 [blink.exe 5516]: SENDING: Packet 4, +0:00:02.107000</font></div><div><font class="Apple-style-span"
face="arial, helvetica, sans-serif" size="2">192.168.6.152:50586 -(SIP over UDP)-> 80.97.x.x:5060</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">SUBSCRIBE sip:bll@80.97.x.x SIP/2.0</font></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Via: SIP/2.0/UDP 192.168.6.152:50586;rport;branch=z9hG4bKPj98e9cb74a49b49e1b65eb1f46974cdf5</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Max-Forwards: 70</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">From: "liviu_ext_IP" <sip:bll@80.97.x.x>;tag=045698592abc4b748888c0de6b80568e</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">To: <sip:bll@80.97.x.x></span></div><div><span
class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Contact: <sip:kfudecwb@192.168.6.152:50586></span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Call-ID: f65b71fc05b3427e87e775e7a56cbd8d</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">CSeq: 16073 SUBSCRIBE</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Event: message-summary</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Expires: 3600</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Accept: application/simple-message-summary</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica,
sans-serif; font-size: small; ">Allow-Events: conference, message-summary, presence, presence.winfo, xcap-diff, refer</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">User-Agent: Blink 0.2.6 (Windows)</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Content-Length: 0</span></div></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; "><br></span></div><div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">2011-06-15 12:32:38.564000 [blink.exe 5516]: RECEIVED: Packet 5, +0:00:02.108000</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">80.97.x.x:5060 -(SIP over UDP)-> 192.168.6.152:50586</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"
size="2">SIP/2.0 403 Subscription to others message-summary is forbidden</font></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Via: SIP/2.0/UDP 192.168.6.152:50586;rport=30541;branch=z9hG4bKPj98e9cb74a49b49e1b65eb1f46974cdf5;received=80.97.161.66</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">From: "liviu_ext_IP" <sip:bll@80.97.x.x>;tag=045698592abc4b748888c0de6b80568e</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">To: <sip:bll@80.97.x.x>;tag=4b68da8d3b4cd9de939c44370a5367db.cb3f</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Call-ID: f65b71fc05b3427e87e775e7a56cbd8d</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif;
font-size: small; ">CSeq: 16073 SUBSCRIBE</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Server: OpenSIPS (1.6.4-2-notls (i386/linux))</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Content-Length: 0</span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: small; ">Warning: 392 80.97.x.x:5060 "Noisy feedback tells: pid=2022 req_src_ip=80.97.y.y req_src_port=30541 in_uri=sip:bll@80.97.x.x out_uri=sip:bll@80.97.x.x via_cnt==1"</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: small; "><br></div></div><div style="font-family: arial, helvetica, sans-serif; font-size: small; ">And in the log we found:</div><div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">Jun 15 13:13:58 P4302 opensips[2485]:
Account <null>@<null> tried to subscribe to sip:bll@80.97.x.x for message-summary</font></div><div style="font-family: arial, helvetica, sans-serif; font-size: small; "><br></div></div><div style="font-family: arial, helvetica, sans-serif; font-size: small; ">which obviously come from the following code:</div><div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> if ((avp_check("$hdr(Event)", "fm/*.winfo/i") || avp_check("$hdr(Event)", "eq/message-summary/i")) &&</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> ($au != $rU || $ar != $rd)) {</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">
xlog("L_WARN", "Account $au@$ar tried to subscribe to $ru for $hdr(Event)\n");</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> sl_send_reply("403", "Subscription to others $hdr(Event) is forbidden");</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> return;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"> }</font></div><div style="font-family: arial, helvetica, sans-serif; font-size: small; "><br></div></div><div style="font-family: arial, helvetica, sans-serif; font-size: small; ">What we have to do? The example script from OpenXCAP is not complete and we miss something?</div><div
style="font-family: arial, helvetica, sans-serif; font-size: small; ">We think that for Blink client the settings are OK since can REGISTER.</div><div style="font-family: arial, helvetica, sans-serif; font-size: small; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: small; ">Would be welcome a working example of opensips.cfg for Presence.</div><div style="font-family: arial, helvetica, sans-serif; font-size: small; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: small; ">Thanks,</div><div style="font-family: arial, helvetica, sans-serif; font-size: small; ">Liviu</div><div style="font-family: arial, helvetica, sans-serif; font-size: small; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: small; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: small; "><br></div><div style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif;
font-size: 10pt; position: fixed; "></div>
</div></body></html>