[Asterisk-code-review] manager: Add support for specifying codecs when originating. (starpy[master])

Joshua Colp asteriskteam at digium.com
Wed Mar 25 06:54:08 CDT 2020


Joshua Colp has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.asterisk.org:29418/starpy refs/changes/23/14023/1

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200325/b71a610e/attachment-0001.html>


More information about the asterisk-code-review mailing list