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

Joshua Colp jcolp at digium.com
Wed Oct 10 05:25:20 CDT 2018


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



More information about the asterisk-users mailing list