Dne 01/12/2020 v 19:18 Alex Hermann napsal(a):
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.
for the record
tried PJSIP only configuration and its the same. no 180 ringing
(2.2.2.2 is PBX, 1.1.1.1 is Asterisk13+PJSIP connected to PSTN through
SIP SBC)
1 2020-12-18 17:12:28.656569 2.2.2.2 -> 1.1.1.1 SIP/SDP 976 Request:
INVITE sip:222333444@1.1.1.1:5080 | , with session description
2 2020-12-18 17:12:28.657113 1.1.1.1 -> 2.2.2.2 SIP 393 Status: 100
Trying |
3 2020-12-18 17:12:30.102754 1.1.1.1 -> 2.2.2.2 SIP/SDP 863 Status:
183 Session Progress | , with session description
4 2020-12-18 17:12:30.102828 1.1.1.1 -> 2.2.2.2 SIP/SDP 863 Status:
183 Session Progress | , with session description
5 2020-12-18 17:12:30.125256 1.1.1.1 -> 2.2.2.2 SIP/SDP 863 Status:
183 Session Progress | , with session description
6 2020-12-18 17:12:30.125385 1.1.1.1 -> 2.2.2.2 SIP/SDP 863 Status:
183 Session Progress | , with session description
7 2020-12-18 17:12:30.395564 1.1.1.1 -> 2.2.2.2 SIP/SDP 863 Status:
183 Session Progress | , with session description
8 2020-12-18 17:12:35.765423 1.1.1.1 -> 2.2.2.2 SIP/SDP 897 Status:
200 OK | , with session description
9 2020-12-18 17:12:35.767759 2.2.2.2 -> 1.1.1.1 SIP 480 Request: ACK
sip:1.1.1.1:5080 |
10 2020-12-18 17:12:37.891798 1.1.1.1 -> 2.2.2.2 SIP 506 Request: BYE
sip:777888999@2.2.2.2:5060 |
11 2020-12-18 17:12:37.894507 2.2.2.2 -> 1.1.1.1 SIP 566 Status: 200 OK |
interesting note: on SIP SBC side i see 180 Ringing from Telco Operator
i'll try find if there is some recommendation -
https://www.sipforum.org/technology/sipconnect/
Marek
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
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