[asterisk-bugs] [JIRA] (ASTERISK-26277) Add dialplan function PJSIP_SEND_SESSION_REFRESH that sends a session refresh to update formats on a channel after session establishment
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Mon Aug 8 12:00:56 CDT 2016
Matt Jordan created ASTERISK-26277:
--------------------------------------
Summary: Add dialplan function PJSIP_SEND_SESSION_REFRESH that sends a session refresh to update formats on a channel after session establishment
Key: ASTERISK-26277
URL: https://issues.asterisk.org/jira/browse/ASTERISK-26277
Project: Asterisk
Issue Type: New Feature
Security Level: None
Reporter: Matt Jordan
At a couple of AstriDevCons and - as discussed on the [community forums|https://community.asterisk.org/t/setting-different-codec-for-confbridge/67627/8] - there are times where you may want to change the format on a channel after the session has been established. A couple of use cases for this:
# You may want to switch to a low bandwidth codec due to network congestion issues
# You may want to try and force everyone to a wideband codec, if you know everyone can support it
While {{chan_sip}} makes this a bit difficult, doing it in PJSIP is rather straight forward. The patch referenced in the Gerrit reviews associated with this issue adds a new dialplan function, {{PJSIP_SEND_SESSION_REFRESH}}, that sends a re-{{INVITE}} or {{UPDATE}}. Combined with {{PJSIP_MEDIA_OFFER}}, this allows you to change the formats on the fly.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list