If you have 183 Session progress, there is no need to send 180 Ringing (especially not AFTER 183 Session progress), as you already have early media instead. Having both is actually a bit misleading IMHO. So this is actually correct. One should not rely on any of these 1xx "Provisional" messages. They may or may not be sent, without violating SIP standards. Am 01.12.20, 12:20 schrieb "asterisk-users im Auftrag von marek" <asterisk-users-bounces at lists.digium.com im Auftrag von cervajs64 at gmail.com>: hi, after upgrade from Asterisk 11 to Asterisk 13.38.0(chan_sip) (i know, its old. customer is very conservative...) i have problem with missing 180 Ringing flow is easy (PBX -> Asterisk -> SIP SBC) Asterisk 11 PBX - Asterisk -> INVITE <- 100 Trying <- 183 Session Progress ( <- RTP -> ) <- 180 Ringing <- 200 OK Asterisk 13 -> INVITE <- 100 Trying <- 183 Session Progress ( <- RTP -> ) __MISSING RINGING___ <- 200 OK temporarily i solved problem with using "R" param R: Default: Indicate ringing to the calling party, even if the called party isn't actually ringing. Allow interruption of the ringback if early media is received on the channel. it changed to Asterisk 13 (Dial(${ARG1},300,R) -> INVITE <- 100 Trying <- 180 Ringing <- 183 Session Progress ( <- RTP -> ) <- 200 OK any ideas why Ringing is missing? any solutions? Marek
i know but there is some existing integration based on AMI event NewExten https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+ManagerEvent_NewExten ChannelStateDesc = Ringing and if 180 Ringing is missing, there is no event as you may have guessed, its hard to convice "Integrator" to "change" the code Dne 01/12/2020 v 13:22 Floimair Florian napsal(a):> If you have 183 Session progress, there is no need to send 180 Ringing (especially not AFTER 183 Session progress), as you already have early media instead. Having both is actually a bit misleading IMHO. > > So this is actually correct. One should not rely on any of these 1xx "Provisional" messages. > They may or may not be sent, without violating SIP standards. > > Am 01.12.20, 12:20 schrieb "asterisk-users im Auftrag von marek" <asterisk-users-bounces at lists.digium.com im Auftrag von cervajs64 at gmail.com>: > > > hi, > > after upgrade from Asterisk 11 to Asterisk 13.38.0(chan_sip) (i know, > its old. customer is very conservative...) > > i have problem with missing 180 Ringing > > flow is easy (PBX -> Asterisk -> SIP SBC) > > Asterisk 11 > PBX - Asterisk > -> INVITE > <- 100 Trying > <- 183 Session Progress > ( <- RTP -> ) > <- 180 Ringing > <- 200 OK > > Asterisk 13 > -> INVITE > <- 100 Trying > <- 183 Session Progress > ( <- RTP -> ) > > __MISSING RINGING___ > > <- 200 OK > > temporarily i solved problem with using "R" param > > R: Default: Indicate ringing to the calling party, even if the called party > isn't actually ringing. Allow interruption of the ringback if early > media > is received on the channel. > > it changed to > > Asterisk 13 (Dial(${ARG1},300,R) > -> INVITE > <- 100 Trying > <- 180 Ringing > <- 183 Session Progress > ( <- RTP -> ) > <- 200 OK > > any ideas why Ringing is missing? any solutions? > > Marek > > >
On dinsdag 1 december 2020 13:22:17 CET Floimair Florian wrote:> If you have 183 Session progress, there is no need to send 180 Ringing > (especially not AFTER 183 Session progress), as you already have > early media instead. Having both is actually a bit misleading IMHO.I disagree (and I think rfc3261 agrees). How would the caller know if the callee has been alerted if he doesn't receive the 180? 183 and 180 have different meaning. 180 indicates the callee is being alerted. An 183 has no such meaning but is often used to setup early media (although any 1xx can do that). 180 and 183 are not mutually exclusive and in fact form a full matrix of possible and useful states. There can be early media without any phone ringing (announcement), ringing without early media (caller is expected to generate a ringback tone itself), no early media nor ringing and finally early media and ringing simultaneous. Especially automata calling will want to know the difference. Of course, a generated ringback tone by the caller should be stopped when media is received. Asterisk should indicate to the caller the same state it received from the callee. -- Alex Hermann