Vobiz telephony integration for Pipecat
Project description
Pipecat Vobiz Integration
Community integration for using Vobiz telephony with Pipecat.
Installation
pip install pipecat-vobiz
Or install from source:
pip install git+https://github.com/Piyush-sahoo/Pipecat-Vobiz.git
Usage
from pipecat.serializers.vobiz import VobizFrameSerializer
from pipecat.transports.network.fastapi_websocket import (
FastAPIWebsocketTransport,
FastAPIWebsocketParams,
)
# Create the serializer with your Vobiz credentials
serializer = VobizFrameSerializer(
stream_id=stream_id,
call_id=call_id,
auth_id="YOUR_VOBIZ_AUTH_ID",
auth_token="YOUR_VOBIZ_AUTH_TOKEN",
)
# Use it with the FastAPI WebSocket transport
transport = FastAPIWebsocketTransport(
websocket=websocket,
params=FastAPIWebsocketParams(
audio_in_enabled=True,
audio_out_enabled=True,
add_wav_header=False,
serializer=serializer,
),
)
Features
- 8kHz μ-law audio streaming
- DTMF event handling
- Automatic call termination on pipeline end
- Compatible with Pipecat's pipeline architecture
Example
See the examples/bot.py for a complete working example.
Pipecat Version Compatibility
Tested with Pipecat v0.0.86+
License
BSD 2-Clause License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pipecat_vobiz-0.0.1.tar.gz
(7.1 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pipecat_vobiz-0.0.1.tar.gz.
File metadata
- Download URL: pipecat_vobiz-0.0.1.tar.gz
- Upload date:
- Size: 7.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4a32e1c889e0bcdda669adb0706e34f9733ae97b68c6fbef02b2af1267e04fd
|
|
| MD5 |
a3471d2276128f29c2342bce486305c1
|
|
| BLAKE2b-256 |
aa1ab81e50a9fe090604a0e506a74a5551165e27023b947587c6fdb4289566b1
|
File details
Details for the file pipecat_vobiz-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pipecat_vobiz-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e3271d04dd47e3bd8e9c67a95dbac035781145147b8d5131f1e7353bf9356dc
|
|
| MD5 |
c9dea95e49a1b64ae25bc63300d2e841
|
|
| BLAKE2b-256 |
c34f6c2ac8ce77229e1e31bfefe0a06e60026029a152f10a6ad6b03ea2083a90
|