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.2.tar.gz
(17.2 kB
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.2.tar.gz.
File metadata
- Download URL: pipecat_vobiz-0.0.2.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
526681922a97e7670b2476bfb94fa96a386abd2c211b02095e248296b5f77644
|
|
| MD5 |
e1be7ebb1062c84b1ba90a7a3290179f
|
|
| BLAKE2b-256 |
46ccb5d64c7b45c4f40ff35221dc03c365af5bbb13965ee820a5514c2e58101f
|
File details
Details for the file pipecat_vobiz-0.0.2-py3-none-any.whl.
File metadata
- Download URL: pipecat_vobiz-0.0.2-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 |
87b3987078a862824cb89b7268362656706880ee854b4f43a00cf56154b16c8a
|
|
| MD5 |
014c096722d6385e428b375bb93fff7d
|
|
| BLAKE2b-256 |
9a9c4118d8793f947d17402243223fcf54d35dfc602c7b373fe7a05f69abd570
|