[asterisk-users] How to read or relay SIP PUBLISH messages ?

Joshua Colp jcolp at digium.com
Thu Feb 16 07:27:09 CST 2017


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.

> 3. Would a Kamalio-like box allow me to do this ?

You could act as you wish on the PUBLISH requests in Kamailio.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list