-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hallo
I try tu use you code example
from symbl.utils.Threads import Thread
import symbl
import time
# here are all events supported by Telephony API, you just need to uncomment the event which you would like to use
events = {
'transcript_response': lambda transcript: print('printing the transcript response ', str(transcript))
,'message_response': lambda message: print('printing the message response ', str(message))
#,'insight_response': lambda insight: print('printing the insight response ', str(insight))
#,'topic_response': lambda topic: print('printing the topic response ', str(topic))
}
sip_uri = "sip:[email protected]"
connection_object = symbl.Telephony.start_sip(uri=sip_uri)
connection_object.subscribe(events)
normally i make this call with linphone with standard Setting and I coukd calling the client
when i use your library in python to do same thing the error coming :
raise ValueError('app_id is required') ValueError: app_id is required
i make a symbl.conf file and add the information
but i don#t sure what is the standard app_id and app_secret wich linephone used
I try : app_id ='admin' app_secret='administrator' come othe problem
HTTP response headers: HTTPHeaderDict({'Server': 'openresty/1.19.3.1', 'Date': 'Thu, 11 May 2023 07:07:38 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '101', 'Connection': 'keep-alive', 'X-Powered-By': 'Express', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept', 'ETag': 'W/"65-Or/vqA393O1grUI2+x/wDmq6zkI"'})
HTTP response body: {"message":"Incorrect 'appId' and 'appSecret' provided. Please provide valid details and try again."}
Metadata
Metadata
Assignees
Labels
No labels