Skip to content

Commit 470f3cc

Browse files
committed
Deploy
1 parent cc2803e commit 470f3cc

File tree

20 files changed

+50
-12
lines changed

20 files changed

+50
-12
lines changed

bandwidth/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class BaseController(object):
2828

2929
def global_headers(self):
3030
return {
31-
'user-agent': 'python-sdk-refs/tags/python6.10.0'
31+
'user-agent': 'python-sdk-refs/tags/python6.11.0'
3232
}
3333

3434
def __init__(self, config, call_back=None):

bandwidth/messaging/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class BaseController(object):
2828

2929
def global_headers(self):
3030
return {
31-
'user-agent': 'python-sdk-refs/tags/python6.10.0'
31+
'user-agent': 'python-sdk-refs/tags/python6.11.0'
3232
}
3333

3434
def __init__(self, config, call_back=None):

bandwidth/twofactorauth/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class BaseController(object):
2828

2929
def global_headers(self):
3030
return {
31-
'user-agent': 'python-sdk-refs/tags/python6.10.0'
31+
'user-agent': 'python-sdk-refs/tags/python6.11.0'
3232
}
3333

3434
def __init__(self, config, call_back=None):

bandwidth/voice/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class BaseController(object):
2828

2929
def global_headers(self):
3030
return {
31-
'user-agent': 'python-sdk-refs/tags/python6.10.0'
31+
'user-agent': 'python-sdk-refs/tags/python6.11.0'
3232
}
3333

3434
def __init__(self, config, call_back=None):

bandwidth/webrtc/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class BaseController(object):
2828

2929
def global_headers(self):
3030
return {
31-
'user-agent': 'python-sdk-refs/tags/python6.10.0'
31+
'user-agent': 'python-sdk-refs/tags/python6.11.0'
3232
}
3333

3434
def __init__(self, config, call_back=None):

bandwidth/webrtc/utils/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .transfer_util import generate_transfer_bxml
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"""
2+
transfer_util.py
3+
4+
Method to generate the transfer BXML to connect WebRTC <-> phones
5+
6+
@copyright Bandwidth INC
7+
"""
8+
9+
def generate_transfer_bxml(deviceToken, sip_uri='sip:sipx.webrtc.bandwidth.com:5060'):
10+
"""
11+
Returns BXML string with WebRTC a device token to perform a SIP transfer
12+
"""
13+
return f'''
14+
<?xml version="1.0" encoding="UTF-8" ?>
15+
<Transfer>
16+
<SipUri uui="{deviceToken};encoding=jwt">{sip_uri}</SipUri>
17+
</Transfer>'''

bandwidth_sdk.egg-info/PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: bandwidth-sdk
3-
Version: 6.10.0
3+
Version: 6.11.0
44
Summary: Bandwidth's set of APIs
55
Home-page: https://apimatic.io
66
Author: APIMatic SDK Generator

bandwidth_sdk.egg-info/SOURCES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ bandwidth/webrtc/models/participant_subscription.py
125125
bandwidth/webrtc/models/publish_permission_enum.py
126126
bandwidth/webrtc/models/session.py
127127
bandwidth/webrtc/models/subscriptions.py
128+
bandwidth/webrtc/utils/__init__.py
129+
bandwidth/webrtc/utils/transfer_util.py
128130
bandwidth_sdk.egg-info/PKG-INFO
129131
bandwidth_sdk.egg-info/SOURCES.txt
130132
bandwidth_sdk.egg-info/dependency_links.txt

build/lib/bandwidth/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class BaseController(object):
2828

2929
def global_headers(self):
3030
return {
31-
'user-agent': 'python-sdk-refs/tags/python6.10.0'
31+
'user-agent': 'python-sdk-refs/tags/python6.11.0'
3232
}
3333

3434
def __init__(self, config, call_back=None):

0 commit comments

Comments
 (0)