[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-users
Subject:    Re: [asterisk-users] How to read or relay SIP PUBLISH messages ?
From:       Olivier <oza.4h07 () gmail ! com>
Date:       2017-02-17 8:08:26
Message-ID: CAPeT9jgyRB3p0-8S2x0nEdddgoeE53i7BSpZKs1AG1YxMG9BCQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2017-02-16 19:33 GMT+01:00 Matthew Jordan <mjordan@digium.com>:

>
>
> On Thu, Feb 16, 2017 at 9:05 AM, Olivier <oza.4h07@gmail.com> wrote:
>
>>
>>
>> 2017-02-16 14:27 GMT+01:00 Joshua Colp <jcolp@digium.com>:
>>
>>> On Thu, Feb 16, 2017, at 09:11 AM, Olivier wrote:
>>> > Hello,
>>> >
>>> > I'm currently testing a so-called VQ RTCP-XR feature from a a SIP
>>> > hardphone.
>>> >
>>> > When a phone has enabled this feature, it would send a SIP PUBLISH to
>>> its
>>> > SIP Server letting this server dispatch to whatever is needs to.
>>> >
>>> > These messages are sent during calls but may also be sent when a call
>>> is
>>> > over.
>>> >
>>> > At the moment, I'm using Asterisk to serve these SIP phones so my
>>> > Asterisk
>>> > box receives those SIP PUBLISH and discard them with a 489 Bad Event
>>> > reply.
>>> >
>>> > I'm not using or planning to use any Kamalio server.
>>> >
>>> > 1. Is there an Asterisk version that would allow me to read (and store)
>>> > in
>>> > or out-of-band SIP PUBLISH messages from SIP phones ?
>>> > 2. Alternatively, is there an Asterisk version that would allow me to
>>> > relay
>>> > those messages somewhere ?
>>>
>>> No version of Asterisk allows the handling or relaying of these
>>> arbitrary PUBLISH messages. In the case of PJSIP though that is
>>> pluggable so a C module could be written to do something.
>>>
>>
>> From RFC 6035, "This document defines a new SIP event package, vq-rtcpxr,
>> and
>> a new MIME type, application/vq-rtcpxr, that enable the collection and
>> reporting of metrics".
>>
>> As I'm not aware of many SIP event package currently implemented in
>> PJSIP/Asterisk acting for
>> out-of-calls events, it shouldn't be easy to mimic current features to
>> add this new one.
>>
>>
>>
>>> > 3. Would a Kamalio-like box allow me to do this ?
>>>
>>> You could act as you wish on the PUBLISH requests in Kamailio.
>>>
>>
>> This seams easier, for the moment.
>>
>> I think I still need to better understand what are mixed
>> Asterisk-Kamailio architectures main strengths
>> compared to alternatives (Asterisk alone, Kamailio/RTPproxy, ...) but
>> that is another story.
>>
>> Thank you very much for replying.
>>
>>
> This admittedly high speed presentation that glosses over lots of complex
> topics may or may not help you:
>
> http://ftp.osuosl.org/pub/fosdem/2017/K.3.401/asterisk.mp4
>
> /shameless plug off
>


This presentation is very interesting.
Thanks for pointing it here !

May I use it to simply ask:
it seems that one major strength of Kamailio over Asterisk come from its
capability to fork SIP messages (REGISTER, ...)
and so have the same state replicated over cluster members.
Is this correct ?
Can we hope that Asterisk could also be capable of forking SIP messages and
replicate state over cluster members
?


> --
> Matthew Jordan
> Digium, Inc. | CTO
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at: http://digium.com & http://asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-02-16 \
19:33 GMT+01:00 Matthew Jordan <span dir="ltr">&lt;<a target="_blank" \
href="mailto:mjordan@digium.com">mjordan@digium.com</a>&gt;</span>:<br><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><br><div \
class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-h5">On Thu, \
Feb 16, 2017 at 9:05 AM, Olivier <span dir="ltr">&lt;<a target="_blank" \
href="mailto:oza.4h07@gmail.com">oza.4h07@gmail.com</a>&gt;</span> \
wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><br><div \
class="gmail_extra"><br><div class="gmail_quote"><span \
class="gmail-m_-5152568383635884465gmail-">2017-02-16 14:27 GMT+01:00 Joshua Colp \
<span dir="ltr">&lt;<a target="_blank" \
href="mailto:jcolp@digium.com">jcolp@digium.com</a>&gt;</span>:<br><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span \
class="gmail-m_-5152568383635884465gmail-m_6027055170360356914gmail-">On Thu, Feb 16, \
2017, at 09:11 AM, Olivier wrote:<br> &gt; Hello,<br>
&gt;<br>
&gt; I&#39;m currently testing a so-called VQ RTCP-XR feature from a a SIP<br>
&gt; hardphone.<br>
&gt;<br>
&gt; When a phone has enabled this feature, it would send a SIP PUBLISH to its<br>
&gt; SIP Server letting this server dispatch to whatever is needs to.<br>
&gt;<br>
&gt; These messages are sent during calls but may also be sent when a call is<br>
&gt; over.<br>
&gt;<br>
&gt; At the moment, I&#39;m using Asterisk to serve these SIP phones so my<br>
&gt; Asterisk<br>
&gt; box receives those SIP PUBLISH and discard them with a 489 Bad Event<br>
&gt; reply.<br>
&gt;<br>
&gt; I&#39;m not using or planning to use any Kamalio server.<br>
&gt;<br>
&gt; 1. Is there an Asterisk version that would allow me to read (and store)<br>
&gt; in<br>
&gt; or out-of-band SIP PUBLISH messages from SIP phones ?<br>
&gt; 2. Alternatively, is there an Asterisk version that would allow me to<br>
&gt; relay<br>
&gt; 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></span><div>From RFC 6035, &quot;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&quot;.<br><br></div><div>As I&#39;m not aware of many SIP event package \
currently implemented in PJSIP/Asterisk acting for<br>out-of-calls events, it \
shouldn&#39;t be easy to mimic current features to add this new \
one.<br><br></div><span \
class="gmail-m_-5152568383635884465gmail-"><div><br></div><blockquote \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex" class="gmail_quote"> <span \
class="gmail-m_-5152568383635884465gmail-m_6027055170360356914gmail-"><br> &gt; 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></span><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><span \
class="gmail-m_-5152568383635884465gmail-"><div><br></div></span></div></div></div></blockquote><div><br></div></div></div><div>This \
admittedly high speed presentation that glosses over lots of complex topics may or \
may not help you:</div><div><br></div><div><a target="_blank" \
href="http://ftp.osuosl.org/pub/fosdem/2017/K.3.401/asterisk.mp4">http://ftp.osuosl.or \
g/pub/<wbr>fosdem/2017/K.3.401/asterisk.<wbr>mp4</a><br></div><div><br></div><div>/shameless \
plug off  </div></div></div></div></blockquote><div><br><br></div><div>This \
presentation is very interesting.<br></div><div>Thanks for pointing it here \
!<br><br></div><div>May I use it to simply ask:<br>it seems that one major strength \
of Kamailio over Asterisk come from its capability to fork SIP messages (REGISTER, \
...)<br>and so have the same state replicated over cluster members.<br></div><div>Is \
this correct ?<br>Can we hope that Asterisk could also be capable of forking SIP \
messages and replicate state over cluster members<span class=""> \
<br></span>?</div><div><br></div><blockquote style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" \
class="gmail_quote"><div dir="ltr"><div class="gmail_extra"><span \
class="gmail-HOEnZb"><font color="#888888"><div><br></div>-- <br><div \
class="gmail-m_-5152568383635884465gmail_signature">Matthew Jordan<br>Digium, Inc. | \
CTO<br>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>Check us out at: <a \
target="_blank" href="http://digium.com">http://digium.com</a> &amp; <a \
target="_blank" href="http://asterisk.org">http://asterisk.org</a></div> \
</font></span></div></div> <br>--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a target="_blank" rel="noreferrer" \
href="http://www.api-digital.com">http://www.api-digital.com</a> --<br> <br>
Check out the new Asterisk community forum at: <a target="_blank" rel="noreferrer" \
href="https://community.asterisk.org/">https://community.asterisk.<wbr>org/</a><br> \
<br> New to Asterisk? Start here:<br>
         <a target="_blank" rel="noreferrer" \
href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started">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 target="_blank" rel="noreferrer" \
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com \
/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br></blockquote></div><br></div></div>



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic