[asterisk-users] How to defer SDP in ACK for unit testing purposes

Olivier oza.4h07 at gmail.com
Wed Oct 10 06:11:50 CDT 2018


Le mer. 10 oct. 2018 à 12:26, Joshua Colp <jcolp at digium.com> a écrit :

> On Wed, Oct 10, 2018, at 4:27 AM, Olivier wrote:
> > Hello,
> >
> > I think I met a case similar to the one solved by [1] . Quoting this
> case :
> >
> > * res_pjsip: Handle deferred SDP hold/unhold properly.
> >
> >         Some SIP devices indicate hold/unhold using deferred SDP
> reinvites. In
> >         other words, they provide no SDP in the reinvite.
> >
> >         A typical transaction that starts hold might look something like
> this:
> >
> >         * Device sends reinvite with no SDP
> >         * Asterisk sends 200 OK with SDP indicating sendrecv on streams.
> >         * Device sends ACK with SDP indicating sendonly on streams.
> >
> >
> > Now, I would like to configure an Asterisk instance to act as those SIP
> > devices, ie to defer all SDP signaling in ACK.
> >
> > This is for testing purpose as I would like to reproduce in a lab an
> issue
> > with those SIP devices.
> >
> > 1. Is it possible ? I can use any Asterisk version for implementation.
>
> It is not possible to configure Asterisk for this. The chan_pjsip module
> only does normal reinvites with SDP when configured to pass through MOH
> signaling.
>

This is the answser I feared ;-)
Thanks for replying.

If someone has a clue for alternatives (softphones, hardphones, ...), I'll
curious to know

>
> --
> Joshua Colp
> Digium - A Sangoma Company | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Astricon is coming up October 9-11!  Signup is available at:
> https://www.asterisk.org/community/astricon-user-conference
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20181010/62335136/attachment.html>


More information about the asterisk-users mailing list