[Asterisk-code-review] manager: Add support for specifying codecs when originating. (starpy[master])
Joshua Colp
asteriskteam at digium.com
Wed Mar 25 10:28:19 CDT 2020
Joshua Colp has submitted this change. ( https://gerrit.asterisk.org/c/starpy/+/14023 )
Change subject: manager: Add support for specifying codecs when originating.
......................................................................
manager: Add support for specifying codecs when originating.
Change-Id: I1fd6bb125d1e2dbbdaa13a1f2177a2fb29ec287a
---
M starpy/manager.py
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
George Joseph: Looks good to me, but someone else must approve
Corey Farrell: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved; Approved for Submit
diff --git a/starpy/manager.py b/starpy/manager.py
index 7adac62..70c93b3 100644
--- a/starpy/manager.py
+++ b/starpy/manager.py
@@ -717,7 +717,7 @@
self, channel, context=None, exten=None, priority=None,
timeout=None, callerid=None, account=None, application=None,
data=None, variable={}, async=False, channelid=None,
- otherchannelid=None):
+ otherchannelid=None, codecs=None):
"""Originate call to connect channel to given context/exten/priority
channel -- the outgoing channel to which will be dialed
@@ -745,6 +745,7 @@
('async', str(async)),
('channelid', channelid),
('otherchannelid', otherchannelid),
+ ('codecs', codecs),
) if v is not None]
if timeout is not None:
message.append(('timeout', timeout*1000))
--
To view, visit https://gerrit.asterisk.org/c/starpy/+/14023
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: starpy
Gerrit-Branch: master
Gerrit-Change-Id: I1fd6bb125d1e2dbbdaa13a1f2177a2fb29ec287a
Gerrit-Change-Number: 14023
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200325/fe03c157/attachment.html>
More information about the asterisk-code-review
mailing list