Upgrade 3CX to v18 and get it hosted free!

Asterisk SIP media path

Author image

Asterisk SIP media path

In a normal SIP proxy, the server is not involved in the media between the phones. With Asterisk, sometimes Asterisk stays in the path. It depends on many variables and configurations.

Asterisk mostly sets up the SIP phone call with itself in the media path. When the phone call is connected, Asterisk normally sends Asterisk sip reinvite to both clients to redirect the media path so that Asterisk does not have to handle the media stream any more.

If the phones do not support reinvite

Some clients do not support re-invites. If this is the case, you have to configure asterisk NOT to re-invite.
See Asterisk sip canreinvite for more information.

If the phones support reinvites

Asterisk will bridge a call in some cases and not in others. If codec conversion is required between phones, its stays in the middle. If the two phones can agree upon a common codec, etc, * is not in the middle from a pure communications perpective. In that particular case, what the phone does when the # key is press is totally a function of how the phone was programmed (and not asterisk). If the phone, as an example only, has an implementation bug that says I’m not going to forward the # key to asterisk during a conversation, obviously * can’t interpret it.

If the Dial() statement forces the path thru Asterisk

Certain options to the Dial() statement require that Asterisk is in the media path, and consequently Asterisk will not let go of it: t, ”T”, “h”, “H”, “w”, “W” or “L” (with multiple arguments). Probably there are more.

If the call is routed through a queue

When directing calls through a queue to an extension, asterisk will stay in the media stream if the extension is included in the queue in the usual “0123” format. Using “SIP/0123” will allow a direct RTP media connection to be established between SIP devices.

 

See also


Go back to Asterisk

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.