<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-02-16 14:27 GMT+01:00 Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Thu, Feb 16, 2017, at 09:11 AM, Olivier wrote:<br>
> Hello,<br>
><br>
> I'm currently testing a so-called VQ RTCP-XR feature from a a SIP<br>
> hardphone.<br>
><br>
> When a phone has enabled this feature, it would send a SIP PUBLISH to its<br>
> SIP Server letting this server dispatch to whatever is needs to.<br>
><br>
> These messages are sent during calls but may also be sent when a call is<br>
> over.<br>
><br>
> At the moment, I'm using Asterisk to serve these SIP phones so my<br>
> Asterisk<br>
> box receives those SIP PUBLISH and discard them with a 489 Bad Event<br>
> reply.<br>
><br>
> I'm not using or planning to use any Kamalio server.<br>
><br>
> 1. Is there an Asterisk version that would allow me to read (and store)<br>
> in<br>
> or out-of-band SIP PUBLISH messages from SIP phones ?<br>
> 2. Alternatively, is there an Asterisk version that would allow me to<br>
> relay<br>
> those messages somewhere ?<br>
<br>
</span>No version of Asterisk allows the handling or relaying of these<br>
arbitrary PUBLISH messages. In the case of PJSIP though that is<br>
pluggable so a C module could be written to do something.<br></blockquote><div><br></div><div>From RFC 6035, "This document defines a new SIP event package, vq-rtcpxr, and<br>a new MIME type, application/vq-rtcpxr, that enable the collection and reporting of metrics".<br><br></div><div>As I'm not aware of many SIP event package currently implemented in PJSIP/Asterisk acting for<br>out-of-calls events, it shouldn't be easy to mimic current features to add this new one.<br><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="gmail-"><br>
> 3. Would a Kamalio-like box allow me to do this ?<br>
<br>
</span>You could act as you wish on the PUBLISH requests in Kamailio.<br></blockquote><div><br></div><div>This seams easier, for the moment.<br></div><div><br>I think I still need to better understand what are mixed Asterisk-Kamailio architectures main strengths <br></div><div>compared to alternatives (Asterisk alone, Kamailio/RTPproxy, ...) but that is another story.<br><br></div><div>Thank you very much for replying.<br></div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="gmail-HOEnZb"><font color="#888888"><br>
--<br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" rel="noreferrer" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" rel="noreferrer" target="_blank">www.asterisk.org</a><br>
<br>
--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br>
</font></span></blockquote></div><br></div></div>