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

2018-10-10 Thread Eric Wieling

Have you looked at https://sourceforge.net/projects/sipsak.berlios/

On 10/10/2018 07:11 AM, Olivier wrote:



Le mer. 10 oct. 2018 à 12:26, Joshua Colp > 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





--
http://help.nyigc.net/

--
_
-- 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

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

2018-10-10 Thread Olivier
Le mer. 10 oct. 2018 à 12:26, Joshua Colp  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
-- 
_
-- 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

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

2018-10-10 Thread Joshua Colp
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.

-- 
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

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

2018-10-10 Thread Olivier
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.
2. Alternatively, do you know any softphone "implementing SDP in ACK" ?
3. Alternatively, do you know any SIP hardphone implementing this ?
4. Suggestions ?

[1]
http://lists.digium.com/pipermail/asterisk-code-review/2016-April/019483.html

Cheers
-- 
_
-- 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