examples: fix dialin-chatbot python arguments
This commit is contained in:
@@ -108,11 +108,9 @@ async def _create_daily_room(room_url, callId, callDomain=None, vendor="daily"):
|
|||||||
# Spawn a new agent, and join the user session
|
# Spawn a new agent, and join the user session
|
||||||
# Note: this is mostly for demonstration purposes (refer to 'deployment' in docs)
|
# Note: this is mostly for demonstration purposes (refer to 'deployment' in docs)
|
||||||
if vendor == "daily":
|
if vendor == "daily":
|
||||||
bot_proc = f"python3 - m bot_daily - u {room.url} - t {token} - i {
|
bot_proc = f"python3 -m bot_daily -u {room.url} -t {token} -i {callId} -d {callDomain}"
|
||||||
callId} - d {callDomain}"
|
|
||||||
else:
|
else:
|
||||||
bot_proc = f"python3 - m bot_twilio - u {room.url} - t {
|
bot_proc = f"python3 -m bot_twilio -u {room.url} -t {token} -i {callId} -s {room.config.sip_endpoint}"
|
||||||
token} - i {callId} - s {room.config.sip_endpoint}"
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
subprocess.Popen(
|
subprocess.Popen(
|
||||||
|
|||||||
Reference in New Issue
Block a user